We've sort of already started moving in that direction.  Cake's
JavascriptHelper has two methods: cacheEvents( ) and writeEvents( ).

Using these two methods, it is possible to print all your event
bindings (which for Cake helpers, encompasses all most all JavaScript
code that gets written) in one neat little script block at the bottom
of the page.

The next logical step is to move that script block to an external file,
and several methods on how to do this have been proposed.  We're
planning to have something along these lines working for Cake 2.0.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to