[Seaside] Re: Google AdSense
Philippe Marschall
philippe.marschall at gmail.com
Fri Mar 20 16:44:32 UTC 2015
On Fri, Mar 20, 2015 at 1:36 PM, Sanjay Minni <sm at planage.com> wrote:
> Hi Phillippe,
>
> (while html html: '...' works) I wanted to understand your suggestion on
> making a dedicated component.
>
> Typically I was putting it in a separate method within the class using code
> and then calling "self renderGoogleAd: html" at the required places. Is
> there a more appropriate way ?
Putting it inside a dedicated component makes it more easily reusable.
There is no need to do this. There is no clear rule what should be a
component and what not. You can always do this later.
Cheers
Philippe
More information about the seaside
mailing list