Lucas -- Any particular reason you posted this 4 times with 4 different subject lines? ;)
-- Lucas Corbeaux <[email protected]> wrote (on Wednesday, 25 February 2009, 02:25 PM +0100): > As I'm working on a full Ajax Website (by "full Ajax" I mean that load > only once a layout and refresh only the main part), I had some > difficulties to make them dynamic and keep a design rule of "no > javascript in my views". > > As most Javascript Framework works well for "inline" script tags by > evaluating them on the callback of an Ajax request, they can't evaluate > a script tag with an src attribute. So I wrote a very little helper that > keep the append/prependFile() methods. I know that such a design is not > a good idea, but for the case of you need to work on that kind of > project, I hope that will help someone saving half an hour... -- Matthew Weier O'Phinney Software Architect | [email protected] Zend Framework | http://framework.zend.com/
