Tom, thanks for google CDN tip. It looks like in 10.1 on http://code.google.com/apis/ajaxlibs/terms.html there are no restrictions on use for commercial applications. Is that your understanding?
Rod Tom Longson (nym) wrote: > I generally add my javascript files by hand to my base.mako template. > Effects.js is from scriptaculous, which is a prototype (.js) effects > framework. If you add these manually to your public folder, and add a > script tag to the pages that use them, you can forgo the need to use > javascripts middleware entirely. > > I also strongly suggest using Google's AJAX API > http://code.google.com/apis/ajaxlibs/documentation/index.html to serve > up prototype and scriptaculous since it is already on their CDN, and > is already cached by many people's browsers. > > Tom Longson (nym) > http://truefalsemaybe.com/ > > On Mon, Dec 15, 2008 at 1:07 PM, Rod Morison <r...@morison.biz > <mailto:r...@morison.biz>> wrote: > > > I'm going through the tutorials under 0.9.7. <http://0.9.7.> The > Flickr tutorial says > config/middleware.py should have > > javascripts_app = StaticJavascripts() > ... > app = Cascade([static_app, javascripts_app, app]) > > and a /javascripts/effects.js file. Neither are there. > > I read the "What's new in Pylons 0.9.7?" at > http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779 . I see > there are changes in the javascript middleware, but it's not clear how > to rework/get through this tutorial. > > What changed wrt to the Flickr tutorial and how does one get the > tutorial to work? > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---