On Sat, Aug 14, 2010 at 2:37 PM, JohnWShipman <[email protected]> wrote:
> I bought Gardner's _The Definitive Guide to Pylons_, but it is already
> out of date.
> I wrote to the author's desired address ([email protected]) to
> ask about
> updates, but the mail bounced.
>
> It would be really handy to have a version of this extremely well-
> written work
> that has the 1.0 changes in it.  I could get my work to pay for a PDF,
> if there is no
> new paper edition forthcoming.

I think he was leaving it open for the community to update to 1.0 but
it hasn't happened. As far as I know there's no new edition of the
paper book planned. Obviously, it costs the publisher a lot to do an
update, so they can't do it for every version of every program.

As for practical suggestions, I'd say start with the Pylons 1
application template-- that'll preconfigure everything as it should be
now. Glance over the upgrading article so you'll be aware of what
things in the book may be out of date:

http://pylonshq.com/docs/en/1.0/upgrading/

As wojtek said, the most visible changes are url_for -> url, and
redirect_to -> redirect(url(...)) .

The biggest changes to Routes and WebHelpers got into the book, so the
changes since then are minor, mainly new features. It's worth looking
at their manuals anyway:

http://routes.groovie.org/contents.html
http://webhelpers.groovie.org/contents.html
http://webhelpers.groovie.org/whats_new.html

I wouldn't spend much time on AuthKit (chapter 18). Repoze.who/what
has become more widespread and I don't think James is recommending
AuthKit any longer. FormBuild also is one form builder out of many.
You can read about the alternatives here:

http://wiki.pylonshq.com/display/pylonscookbook/Forms

But I would learn the standard Pylons approach to forms (template
based, optionally with WebHelpers, and FormEncode for validation)
before venturing into object-oriented form-and-model packages.

-- 
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.

Reply via email to