On Oct 28, 1:58 pm, Mike Orr <[email protected]> wrote:
> I have this problem in a Pylons applicaition I'm converting to
> Pyrmaid. Right now I'm leaving the Javascript in place, but I'm
> thinking about moving it to separate templates (not static files).
> Then I can inject variables without having the Javascript mixed with
> the HTML. It'll work if it doesn't need any request-specific data, or
> if all the data can be passed as a few query parameters or is in the
> session. That should cover most of my use cases but I'm not sure if
> it'll cover all of them; I'm waiting till I convert the rest of the
> application to tell.


If you can, i strongly suggest the method I had above.  It makes it
really simple for maintaining in team environments, because the JS
team just writes their 'api' , and the backend/frontend team just has
to integrate it.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to