Re: Lessons from the Pylons Book

2012-11-29 Thread Jonathan Vanasco
On Wednesday, November 28, 2012 1:45:37 PM UTC-5, Mike Orr wrote: The Pylons Book is a product of its time. Maybe we should just release Pylons 1.2 unchanged to eliminate confusion. The Pylons Book *is* thorough and well-written, but it's dated and a couple chapters delved into esoteric

Re: Lessons from the Pylons Book

2012-11-28 Thread Mike Orr
Pyramid has the advantage that its official docs are already the length and quality of a book, and I think an earlier version of it (the BFG manual) was even published. Now it's essentially a print-it-yourself book. The Pylons Book is a product of its time. Maybe we should just release Pylons 1.2

Lessons from the Pylons Book

2012-11-27 Thread Jonathan Vanasco
Book was/is often quoted and recommended for it's thoroughness - The Pylons Book is written for the Framework of 0.9.7 - The Pylons Framework is at 1.0.1 - The Pylons Book online is versioned, there was a 1.0 and it was updated to a 1.1. It follows this URL Pattern - http://pylonsbook.com/en/1.1

Re: Lessons from the Pylons Book

2012-11-27 Thread timblack1
Pyramid could consider doing what Kevin Dangoor said a while back--If it's not documented, it doesn't exist! http://markmail.org/message/ep3hfpx7cnxy7g5d Tim -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To view this discussion on the

Re: Lessons from the Pylons Book

2012-11-27 Thread Chris McDonough
On 11/27/2012 11:47 PM, timblack1 wrote: Pyramid could consider doing what Kevin Dangoor said a while back--If it's not documented, it doesn't exist! Already true. - C -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group,

Re: pylons book - many to many association table update with SQLA

2010-11-09 Thread Yohann REBATTU
Hello, Thank you, your answer is really clear and does make sense for me! but unfortunatly it does not fix the problem, using list(), I get an index out of range error in __delitem__ function. there is a traceback here: http://pylonshq.com/tracebacks/e1c0a8d855bd5c39550c1078ee4cfe51 as soon

Re: pylons book - many to many association table update with SQLA

2010-11-09 Thread Marius Gedminas
On Tue, Nov 09, 2010 at 05:17:17AM -0800, Yohann REBATTU wrote: Hello, Thank you, your answer is really clear and does make sense for me! but unfortunatly it does not fix the problem, using list(), I get an index out of range error in __delitem__ function. D'oh. I should've learned not

Re: pylons book - many to many association table update with SQLA

2010-11-09 Thread Yohann REBATTU
this one works perfectly and is even better in my opinion as it suppress the need of import the delete module, and, still in my opinion, it is better to use the remove method provided by sqlalchemy than delete thing, it didn't came to my mind because i thought james had a good reason to use delete

Re: pylons book - many to many association table update with SQLA

2010-11-08 Thread Yohann REBATTU
Hello, I'm running into the same issue as you. i'll try to be a bit more specific: i my case, it seems the trouble lies in tag removing: only one tag on two is actually removed each time, i've no problem with adding tags to page, but removing all four tags of one page will remove the first and

Re: pylons book - many to many association table update with SQLA

2010-11-08 Thread Marius Gedminas
On Mon, Nov 08, 2010 at 07:19:51AM -0800, Yohann REBATTU wrote: I'm running into the same issue as you. i'll try to be a bit more specific: i my case, it seems the trouble lies in tag removing: only one tag on two is actually removed each time, i've no problem with adding tags to page,

pylons book - many to many association table update with SQLA

2010-10-08 Thread Stratos Papadopoulos
Hello All, I have a problem in updating the association table in a 'many to many' relationship. I followed the example SimpleSite pylons app described in the book. More specifically the code in: http://pylonsbook.com/en/1.1/simplesite-tutorial-part-2.html#tags-many-to-many-mappings and the

Re: Pylons book update to 1.0?

2010-08-15 Thread Krishnakant Mane
On Sunday 15 August 2010 11:26 AM, Mike Orr wrote: 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

Pylons book update to 1.0?

2010-08-14 Thread JohnWShipman
I bought Gardner's _The Definitive Guide to Pylons_, but it is already out of date. I wrote to the author's desired address (feedb...@pylonsbook.com) 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

Re: Pylons book update to 1.0?

2010-08-14 Thread Wojtek Augustynski
Think that James monitors the boards. There is no update to the book that I'm aware of, though there's an errata online (naturally). I can tell you that there aren't that many huge changes. You will have to change any url_for to just url as that's deprecated. That and redirect_to is just redirect

Fwd: Pylons book update to 1.0?

2010-08-14 Thread Mike Orr
Forwarding to James. -- Forwarded message -- From: JohnWShipman j...@nmt.edu Date: Sat, Aug 14, 2010 at 2:37 PM Subject: Pylons book update to 1.0? To: pylons-discuss pylons-discuss@googlegroups.com I bought Gardner's _The Definitive Guide to Pylons_, but it is already out

Re: Pylons book update to 1.0?

2010-08-14 Thread Alexandre Conrad
2010/8/14 JohnWShipman j...@nmt.edu: I bought Gardner's _The Definitive Guide to Pylons_, but it is already out of date. As an aside note, have you heard of this upgrading-to-1.0 link? This may help. http://pylonshq.com/docs/en/1.0/upgrading/ -- Alex twitter.com/alexconrad -- You received

Re: Pylons book update to 1.0?

2010-08-14 Thread Mike Orr
On Sat, Aug 14, 2010 at 2:37 PM, JohnWShipman j...@nmt.edu 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 (feedb...@pylonsbook.com) to ask about updates, but the mail bounced. It would be really handy to

The Pylons Book and 1.0

2010-02-16 Thread mk
Hello everyone, On the front page I see: The book covers the Pylons 0.9.7 release... Is there any chance for Pylons Book to be upgraded for Pylons 1.0? I need to restart my learning Pylons effort (which for the lack of time I had to suspend) and previously found Pylons Book to be very

Re: The Pylons Book and 1.0

2010-02-16 Thread Mike Orr
On Tue, Feb 16, 2010 at 4:00 AM, mk mrk...@gmail.com wrote: Hello everyone, On the front page I see: The book covers the Pylons 0.9.7 release... Is there any chance for Pylons Book to be upgraded for Pylons 1.0? I can't speak about the book, but I'd assume no unless James says otherwise

Re: The Pylons Book and 1.0

2010-02-16 Thread mk
Mike Orr wrote: There's hardly any difference in the model between 1.0 and 0.9.7. The sessionmaker args are updated to SQLA 0.5 standards, and the comments have been removed from the default model. That's because there are more parallel ways now to define your model (declarative vs

Re: broken Pylons book link

2009-09-04 Thread Ben Bangert
On Sep 3, 2009, at 10:38 PM, Noah Gift wrote: Just an FYI, there is a broken old Pylons book link that I refer to in an article I can't change: http://pylonsbook.com/alpha1/toc I think a redirect to here might be nice: http://pylonsbook.com/en/1.0/ CC'ing James on this, as he controls

broken Pylons book link

2009-09-03 Thread Noah Gift
Hey, Just an FYI, there is a broken old Pylons book link that I refer to in an article I can't change: http://pylonsbook.com/alpha1/toc I think a redirect to here might be nice: http://pylonsbook.com/en/1.0/ -- Thanks, Noah --~--~-~--~~~---~--~~ You received

Pylons Book: NotImplementedError: Action 'view' is not implemented

2009-07-02 Thread phipster
Hi, I'm working through the SimpleSite example project in the the online version of the Pylons Book. At the end of the Changing the Routing section of Chapter 14, when as instructed I browse http://localhost:5000/ expecting to see the same result as browsing http://localhost:5000/page/view/6

Re: Pylons Book: NotImplementedError: Action 'view' is not implemented

2009-07-02 Thread phipster
OK, figured it out after diffing my code against the samples from the book site (http://www.apress.com/book/downloadfile/4218) - I had typed result['controller'] = 'nav' instead of result['controller'] = 'page' in the final clause of the try block in the parse() function in routing.py. Kinda

Re: Pylons Book - SimpleSite 2 (Chapter 14) create error

2009-03-29 Thread eoc
Thank you Michael, that pointed me in the right direction. I had a section=['section'], rather than a section=values['section'] in a query, and your answer allowed me to follow the right path. I am wondering if I was getting the same result from the downloaded code because of my unfamiliarity

Re: Pylons Book - SimpleSite 2 (Chapter 14) create error

2009-03-28 Thread Michael Bayer
eoc wrote: InterfaceError: (InterfaceError) Error binding parameter 1 - probably unsupported type. u'SELECT nav.id AS nav_id, nav.name AS nav_name, nav.path AS nav_path, nav.section AS nav_section, nav.before AS nav_before, nav.type AS nav_type \nFROM nav \nWHERE nav.path = ? AND

Re: The Pylons Book

2008-07-21 Thread Thomas G. Willis
I've spent the weekend going through this book and I'm nearly through part 1. One bit of positive feedback I'd like to throw out there. With most of these web mvc frameworks, the tutorials seem to focus on getting the reader up and running quickly with a working web application. While this is

Re: The Pylons Book

2008-07-21 Thread Thomas G. Willis
On Jul 20, 5:20 pm, Mike Orr [EMAIL PROTECTED] wrote: On Sun, Jul 20, 2008 at 8:45 AM, Thomas G. Willis [EMAIL PROTECTED] wrote: One more thing, and this may just be my problem but, while working through the examples I'm constantly having to put a trailing / on the end of my urls for my

Re: The Pylons Book

2008-07-21 Thread Mike Orr
On Mon, Jul 21, 2008 at 5:29 AM, Thomas G. Willis [EMAIL PROTECTED] wrote: On Jul 20, 5:20 pm, Mike Orr [EMAIL PROTECTED] wrote: On Sun, Jul 20, 2008 at 8:45 AM, Thomas G. Willis [EMAIL PROTECTED] wrote: One more thing, and this may just be my problem but, while working through the

Re: The Pylons Book

2008-07-14 Thread Alex Marandon
2008/7/11 [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm very pleased to announce that the first draft of the Pylons book is now complete. I've seen that the book is available for pre-ordering from Amazon and I was wondering if some of the money spent on buying the book would go to the Pylons

Re: The Pylons Book

2008-07-14 Thread [EMAIL PROTECTED]
Original Message: - From: Alex Marandon [EMAIL PROTECTED] Date: Mon, 14 Jul 2008 08:35:22 +0100 To: pylons-discuss@googlegroups.com Subject: Re: The Pylons Book 2008/7/11 [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm very pleased to announce that the first draft of the Pylons book

Re: The Pylons Book

2008-07-14 Thread PyDevler
Hi James, On Jul 11, 10:21 pm, Eric Ongerth [EMAIL PROTECTED] wrote: Visually: looks great! Good work. I agree the book looks great. I had a question about how you are maintaining it. If you don't mind me asking, is it written in latex, RST, ... . Also how is it being converted to HTML form

Re: The Pylons Book

2008-07-13 Thread SnowWrite
) To: pylons-discuss@googlegroups.com Subject: Re: The Pylons Book Hi James, Visually: looks great!  Good work. Typos: I saw seven typos, spelling and/or punctuation errors in under three minutes.  Might want to keep the 2nd draft open for more than a week to allow time to catch more of them. I

Re: The Pylons Book

2008-07-12 Thread [EMAIL PROTECTED]
and providing other forms of feedback easier. Many thanks, James Original Message: - From: Eric Ongerth [EMAIL PROTECTED] Date: Fri, 11 Jul 2008 21:21:15 -0700 (PDT) To: pylons-discuss@googlegroups.com Subject: Re: The Pylons Book Hi James, Visually: looks great! Good work. Typos

Pylons Book - Thank you!

2008-07-12 Thread [EMAIL PROTECTED]
Hi all! I just wanted to say a huge thank you to everyone who has sent in feedback so far. It's really good to know so many of you are so enthusiastic about the book. All the comments are really appreciated. I've updated Chapters 1 and 2 already to incorporate all the feedback from those

Pylons Book

2008-07-12 Thread [EMAIL PROTECTED]
Hi Noah, I will try to read as much as I can this weekend, and take notes. It might be helpful to have some system to make comments on a chapter by chapter basis. Thanks, that will be really useful. Could you have a go at sending email to the feedback at pylonsbook.com address first? That

Re: The Pylons Book

2008-07-11 Thread Eric Ongerth
found (unfortunately don't have a lot of time this particular week). - Eric On Jul 11, 9:31 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I'm very pleased to announce that the first draft of the Pylons book is now complete. It has taken quite a long time to get to this stage

Re: The Pylons Book

2008-07-11 Thread Mike Orr
On Fri, Jul 11, 2008 at 9:21 PM, Eric Ongerth [EMAIL PROTECTED] wrote: Hi James, Visually: looks great! Good work. Typos: I saw seven typos, spelling and/or punctuation errors in under three minutes. Might want to keep the 2nd draft open for more than a week to allow time to catch more

Re: The Pylons Book

2008-07-11 Thread Noah Gift
On Sat, Jul 12, 2008 at 12:36 AM, Mike Orr [EMAIL PROTECTED] wrote: On Fri, Jul 11, 2008 at 9:21 PM, Eric Ongerth [EMAIL PROTECTED] wrote: Hi James, Visually: looks great! Good work. Typos: I saw seven typos, spelling and/or punctuation errors in under three minutes. Might want