On Jul 1, 2007, at 3:10 PM, delirial wrote:
> > Hello, > > I've never worked with python, and most of my recent web-dev has > involved Rails. I'm currently looking for alternative web frameworks > and Pylons seems like a pretty good choice (been looking at django and > TG also). The main reason for moving away from Rails is Ruby's speed > and Rails' lack of scalability (other than just throwing hardware at > it). > > One of Rails hook points, IMO, was its vast Ajax helper library with > Prototype and scriptaculous support. Does Pylons support those > libraries? If not, are there plans to support them? You're in luck, Pylons ships with the WebHelpers library which contains a port of all (or most) of Rails' helper functions, among other things: http://pylonshq.com/docs/module-webhelpers.rails.html The contents of the WebHelpers module is exposed to your Pylons app via the 'h' (helper) module. 'h' is available within your templates -- you might render a scriptaculous effect with something like: <div id='item5' style="display:none">hello</div> ${h.javascript_tag(h.visual_effect('Grow', 'item5'))} -- Philip Jenvey --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
