On 7/9/07, Martin Aspeli <[EMAIL PROTECTED]> wrote: > 1. We need a fairly heavily AJAXified UI. Is Prototype and the > Railsish web helpers the best way to go? > > I'm a little wary of code generation in general and Prototype in > particular, but I'm willing to ignore my instincts if this is the way > people tend to do things. I haven't seen many tutorials or examples > of > alternative approaches, e.g. jQuery or MochiKit. The front page of > pylonshq.com suggests other toolkits are supported, but I can't find > any > more resources. :-/
The only thing special about Prototype and Scriptaculous is that rails's webhelpers (and thus python webhelpers) have a handful of methods for generating JavaScript code that uses those frameworks. The front page is poorly worded; it means "[Rails-style WebHelpers based on Prototype] or[ Mochikit], [Dojo], [Ext] & [more]", not "Rails-style WebHelpers based on [Prototype or Mochikit, Dojo, Ext & more]". I use Prototype and the Yahoo UI library, with nothing from Scriptaculous at all. > 2. Specifically, we need an auto-complete widget. I see > Script.aculo.us has one of those, but no corresponding web helper. > > How easy would it be to hand-code the use of such a widget? Should I > look for other frameworks instead? > > In fact, we need something even more dynamic: the user should use an > auto-complete select box to find items and then press Enter or click > a > button to add it to a dynamically growing list, i.e. letting this act > as > a dynamic, auto-complete multi-select widget. I would code this up via YUI's AutoComplete widget. Vastly more powerful that Scriptaculous's, last time I looked. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
