On Wed, Dec 17, 2008 at 3:32 AM, Alex Marandon <[email protected]> wrote:
>
> 2008/12/16 Mike Orr <[email protected]>:
>>>> 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. :)
>
> OK it used to be true for Prototype, but what about the other ones?
> I'm a bit worried about newcomers getting exciting at reading this and
> then finding out that there isn't really such a thing in Pylons.
"""
Plays Well With Others
Pylons is built on Paste and allows and encourages use of your
favorite Python components and libraries:
* Models: SQLAlchemy, SQLObject, plain old DB-API
* Templating: Mako, Genshi, Jinja, Kid, Cheetah, or whatever you
like - using Buffet
* AJAX: Rails-style WebHelpers based on Prototype, or Mochikit,
jQuery, Dojo, Ext & more
* Request Dispatching: Routes by default, or plug in your favorite
"""
This should really be reworded because it mixes things that are Pylons
dependencies, vs things that are supported alternatives in the
official docs, vs things that are possible but not actively supported.
Models:
(0.9.7 & 0.9.6) basic support for a SQLAlchemy configuration;
SQLObject and DB-API unsupported.
Templating:
(0.9.7) Mako is built-in. Genshi & Jinja are supported alternatives
(though not all of Genshi's options are supported). Others are
unsupported but simple to configure. Buffet is deprecated.
(0.9.6) Buffet is standard. Buffet has some issues with Kid and
Cheetah and, well, everything, but we've managed to tame it for Mako
and at least part of Genshi.
AJAX:
(0.9.7) New helpers. No Javascript.
(0.9.6) Rails helpers, Prototype, Scriptaculous.
Neither version has specific support for MochiKit, JQuery, Dojo, ExtJS, etc.
webhelpers.paginate did have some support for various AJAX libraries
at one point, but you'd have to look in the source to see if it's
still there.
Request dispatching:
(0.9.7) Routes 1.10 series is standard. 1.10 introduced some new
syntax and changed some default options, but is basically backward
compatible.
(0.9.6) Routes 1.7.5 is standard.
--
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
-~----------~----~----~----~------~----~------~--~---