Serving Advertisements - What should the View be responsible for?
Posted
by jboyd
on Stack Overflow
See other posts from Stack Overflow
or by jboyd
Published on 2010-04-07T20:32:20Z
Indexed on
2010/04/07
20:33 UTC
Read the original article
Hit count: 293
My requirements are that Ads have a definite size, could be different media types (although I'd like to focus on Images first) and need to have their impressions tracked
I'm using Spring-MVC and will likely have a service that will retrieve all the relevant ad information
adService.getAdsForPage("news");
adService.getFeaturedAd("news");
and so on...
My question is, what will my view be responsible for? I need to track impressions, and I can only really think of how to do that on the server side. But what would my view look like.
I'd like any example code, ideas, or a link to a page that has some in depth discussion of this topic
© Stack Overflow or respective owner