Mark Ramm wrote: >> There's a ToscaWidgets ExtJS egg which packages version 1.something >> (would be nice to upgrade it to v2) which could be used to dynamically >> include the needed parts of ExtJS in the page as TW can take care of >> tracking dependences between JS static files and include only the ones >> needed, this is done server-side in python and could become more clever >> (such and concatenating into a big file and jsminifying it on the fly >> for performance) > > There is apparently some code which does this kind of thing (the > concatination and minification) in the pylons helpers package (as of a > couple weeks ago).
I'm aware of that code and that's more or less the idea, the difference being that since TW can generate the js and css links that are injected in the html it can take advantage of this and only insert a single link to the whole ball on production and separate links on debugging. AFAIK webhelpers only takes care of the minification of a single file or concatenation of some but doesn't deal with the links in the html. Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
