On Tue, Dec 16, 2008 at 11:06 AM, Wyatt Baldwin <[email protected]> wrote: > > On Dec 16, 10:06 am, "Alex Marandon" <[email protected]> wrote: >> 2008/12/15 Mike Orr <[email protected]>: >> >> > You can add the Javascripts app to middleware.py and it will probably >> > work, but that part of WebHelpers is deprecated and will be gone by >> > Pylons 0.9.8. >> >> By the way, Pylons homepage says: "AJAX: Rails-style WebHelpers based >> on Prototype, or Mochikit, jQuery, Dojo, Ext & more". I'm wondering >> what that means. > > I've been curious about that too, since the JavaScript helpers are > implemented with Prototype. I think the intent, though, is just to > indicate that it's easy to use any of those libraries with Pylons or > to create your own helpers based on those libs.
It indicates the website is out of date. :) >> Is it going to be possible to keep the current Rails-style WebHelpers >> while using newer versions of Pylons or will we definitely have to >> port our code? You'll have to make some adjustments at least. The easiest is to copy the old helper modules into your application and adjust the imports in helpers.py. You can do that any time in the next several months. Alternatively, you could hack Pylons' egg-info to not require the newer version, but that would be overwritten if you reinstall or upgrade Pylons. If you're using Prototype/Scriptaculous, I'd definitely download the latest version as it may contain bugfixes compared to the one in WebHelpers. -- Mike Orr <[email protected]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
