ANN: CherryPy book

1 view
Skip to first unread message

Sylvain Hellegouarch

unread,
May 6, 2006, 5:56:52 AM5/6/06
to cherry...@googlegroups.com, cherryp...@googlegroups.com, turbo...@googlegroups.com, python-ann...@python.org, cherrypy...@googlegroups.com
Hello all,

I am pleased to announce that I will be writing a book on CherryPy which
will published by Packt Publishing [1]. Packt is a fairly recent
publishing company based in the United Kingdom which has focused since the
beginning in providing the developer community with books specific to
their day to day tasks.

I have been dealing with the guys at Packt for a bit more than a month and
I can tell you that they are really excited by a book on CherryPy as I am.
In fact if you are looking for a friendly and ready to support publisher,
go and contact them [2].

The approach taken for the book is to go through the design of an
application and see how CherryPy can be a great choice for rapid web
application development. Throughout the book I will explain concepts
behind CherryPy itself as well as third-party products such as ORMs and
template engines. At the end of the book as an application developer you
will understand how CherryPy can benefit you for web development while
having a good overview of the CherryPy's design. Even though it will be a
standalone book, I also believe that the book might be a good extension to
the TurboGears book [3].

I cannot deny I am really thrilled by the project and I hope being able to
finish it in a not far future for you guys. Stay tuned.

- Sylvain
http://www.defuze.org

[1] http://www.packtpub.com/
[2] https://www.packtpub.com/article/aboutus
[3]
http://groups.google.com/group/turbogears-announce/browse_frm/thread/b960a318531cb9a0

Lorenzo Bolognini

unread,
May 7, 2006, 7:39:23 AM5/7/06
to cherrypy-users

Sylvain Hellegouarch wrote:
> Hello all,
>
> I am pleased to announce that I will be writing a book on CherryPy which
> will published by Packt Publishing [1]. Packt is a fairly recent
> publishing company based in the United Kingdom which has focused since the
> beginning in providing the developer community with books specific to
> their day to day tasks.

Excellent news Sylvain! Looking fw to buy it!

Please put in some Ajax stuff also ;-)

Lorenzo

Sylvain Hellegouarch

unread,
May 7, 2006, 8:17:35 AM5/7/06
to cherryp...@googlegroups.com

>
> Excellent news Sylvain! Looking fw to buy it!
>
> Please put in some Ajax stuff also ;-)
>
> Lorenzo
Cheers.

There will be a chapter around Ajax indeed :)

- Sylvain

Sylvain Hellegouarch

unread,
May 6, 2006, 5:56:52 AM5/6/06
to hschi...@nasa.gov, cherry...@googlegroups.com, cherryp...@googlegroups.com, turbo...@googlegroups.com, python-ann...@python.org, cherrypy...@googlegroups.com
Hello all,

I am pleased to announce that I will be writing a book on CherryPy which
will published by Packt Publishing [1]. Packt is a fairly recent
publishing company based in the United Kingdom which has focused since the
beginning in providing the developer community with books specific to
their day to day tasks.

I have been dealing with the guys at Packt for a bit more than a month and

Stephen Ferg

unread,
May 8, 2006, 1:31:46 PM5/8/06
to cherrypy-users
Can I suggest/request a short discussion of debugging techniques?

When I started playing with CherryPy, and my code had a bug, I had to
stop CherryPy, fix the code, and restart. Doing this over and over
again got old fast! As I learned more about CherryPy, I found the
solution -- but I wished I had the solution long before I actually did.

So I think that putting this kind of information in the book (along
with the URL for this discussion group!) would be VERY helpful to
anyone trying to learn CherryPy.

Saney

unread,
May 8, 2006, 4:22:31 PM5/8/06
to cherrypy-users
Stephen, would you mind sharing what that solution is exactly? That
would be great!

Sylvain Hellegouarch

unread,
May 9, 2006, 4:17:46 AM5/9/06
to cherryp...@googlegroups.com
Hello Stephen,

>
> Can I suggest/request a short discussion of debugging techniques?

You sure can.

>
> When I started playing with CherryPy, and my code had a bug, I had to
> stop CherryPy, fix the code, and restart. Doing this over and over
> again got old fast! As I learned more about CherryPy, I found the
> solution -- but I wished I had the solution long before I actually did.
>
> So I think that putting this kind of information in the book (along
> with the URL for this discussion group!) would be VERY helpful to
> anyone trying to learn CherryPy.

It is a good idea even though it might not become a chapter on its own. I
will try to detail tips throughout the book.

Thanks for the feedback.
- Sylvain

Stephen Ferg

unread,
May 9, 2006, 11:01:57 PM5/9/06
to cherrypy-users
I haven't tried it myself yet, but from the Web research I've done, I'm
pretty sure this is the answer...

The trick is to set server.environment="development" which causes
autoreload to be enabled. This can be done in the config file, or
programmatically: see section 1.3 in
http://www.cherrypy.org/trunk/docs/book/chunk/ch03.html
especially examples 3.7 and 3.8.

See also http://www.cherrypy.org/wiki/AutoReload

I found the clue in this thread
http://groups.google.com/group/cherrypy-users/browse_frm/thread/ae1b498de9f26943/52865e3da3ab0350?lnk=st&q=cherryPy+restart&rnum=35#52865e3da3ab0350

There appear to be cases where people have had problems with the reload
feature. See for example
http://trac.turbogears.org/turbogears/ticket/9

I think if you google on "CherryPy restart" or "CherryPy autoload"
you'll find a lot of information.

Hope this helps.

Reply all
Reply to author
Forward
0 new messages