List Info

Thread: Use of request object/docs




Use of request object/docs
user name
2006-04-02 14:15:33
OK for once I think I can *answer* a question 

What you're seeing is the result of many (all ?) of the
names within
the API having been altered to a standard termed
'CamelCase' (I thought
this was a reference to Perl but apparently it's more
straightforward
than that ... from http://en.wiki
pedia.org/wiki/CamelCase ) anyway the
net effect is if you're having trouble accessing somthing
the doco
refers to as ...

cherrypy.request.some_property_or_the_other

... it's probably now called ...

cherrypy.request.somePropertyOrTheOther

... ie drop all underbars and uppercase characters that were
immediately after underbars.

I've just looked back through the release history and I
cannot see when
this was done but sometime around the end of 2005 is my best
recollection.

My impression is that some (all?) of "the book"
(
http://tinyurl.com/kj9em
) is updated to reflect this but some (all?)
of the doco is not.

regards

richard.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )