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
Excellent news Sylvain! Looking fw to buy it!
Please put in some Ajax stuff also ;-)
Lorenzo
There will be a chapter around Ajax indeed :)
- Sylvain
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
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.
>
> 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
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.