Recommended reading / study materials

6 views
Skip to first unread message

Ross

unread,
Sep 6, 2008, 3:16:23 PM9/6/08
to web2py Web Framework
Hi Massimo,
I am curious if I was going to attend a class of yours or was starting
out on the Web2Py
what materials would you have us read for background ?

I saw the book you have would that be enough or would you have us
start with some Python book first ?
Which one ? Cherry Py documentation ?

I am trying to get the overall idea and relationships of what you have
done here and be able to put it in context and then figure out what
materials to reference and where to attack a specific problem.

Is there a description of the Web2Py books contents ? How many
pages ?
I tried on Amazon and found nothing.

Thanks
Ross

yarko

unread,
Sep 6, 2008, 3:23:26 PM9/6/08
to web2py Web Framework
The sample chapter Massimo posted includes the table of contents:

http://mdp.cti.depaul.edu/examples/static/web2py_manual_cut.pdf

NoviceSortOf

unread,
Sep 7, 2008, 8:32:46 AM9/7/08
to web2py Web Framework

On Sep 6, 9:23 pm, yarko <yark...@gmail.com> wrote:
> The sample chapter Massimo posted includes the table of contents:
>
> http://mdp.cti.depaul.edu/examples/static/web2py_manual_cut.pdf
>
> On Sep 6, 2:16 pm, Ross <RossArme...@gmail.com> wrote:
>

I've tried downloading this both on my Linux and Windows machines and
it
downloads as a corrupted file.

Massimo Di Pierro

unread,
Sep 7, 2008, 9:12:53 AM9/7/08
to web...@googlegroups.com
Yesterday I had to take the server a few times because of a couple of
denial of service attacks. This may have affected it. Could give it
one more try?

Massimo

voltron

unread,
Sep 7, 2008, 9:46:38 AM9/7/08
to web2py Web Framework
Hi Massimo,

A suggestion, I have had no more problems wit DOS attacks after I
started using a combination of "fail2ban" and "denyhosts"

Massimo Di Pierro

unread,
Sep 7, 2008, 9:50:10 AM9/7/08
to web...@googlegroups.com
Thank you. I will install them.

Massimo

Baron

unread,
Sep 8, 2008, 7:56:15 PM9/8/08
to web2py Web Framework
I've been using this version of the manual and found it very helpful:
mdp.cti.depaul.edu/examples/static/web2py_manual.pdf

What is the difference between this and the new book?
Richard

Massimo Di Pierro

unread,
Sep 8, 2008, 8:23:07 PM9/8/08
to web...@googlegroups.com
Yes, the book is 250 pages. It has many details otherwise undocumented.

For example:

>>> a=DIV()
>>> a.append('try the this link:')
>>> a.append(A('click me'))
>>> a[1]['_href']='http://www.google.com'
>>> print a
?

Message has been deleted

Steve Shepherd

unread,
Sep 13, 2008, 3:06:36 PM9/13/08
to web...@googlegroups.com
Annet
I think a PDF version is being worked on.
Massimo will know
Its just a publisher thing

noobpythoncoder

unread,
Sep 13, 2008, 11:59:23 PM9/13/08
to web2py Web Framework
Hey Ross,

Having recently jumped into a large web2py project, I thought it was
time that I shared how myself and team (mix of Java and PHP coders)
are quickly getting up to speed with using web2py and Python.

I hope the following also helps you learn to use web2py more
effectively.

If not, I hope it helps a future reader of this thread. :D


---------------------------------
web2py Related Resources
---------------------------------

The manual, cookbook, and Alter Ego stuff is the primary fuel for my
teams web2py foray.

From the chapter Massimo has released of his new web2py book, it looks
like this will aggregate a lot of the info in the above resources and
be the web2py bible!

We can't believe how good the documentation is, the great range of
appliances to tinker under the hood of, and the help from this group!

A recent post got a cheatsheet underway for web2py - another helpful
tool:

http://groups.google.com/group/web2py/browse_thread/thread/795f61309a5d96dd/903db07d3a625df9?lnk=gst&q=cheatsheet#903db07d3a625df9


If you are noob coder, new to Python, or just new to web2py - you
could start by playing with the cookbook example or hacking an
existing appliance eg KPAX (or something with less controllers) with
reference to the manual and other resources listed above. Also search
this group for posts related to any appliance you are playing with -
you'll often find others have posted asking how to modify an appliance
for their project, which will often include tidbits of info as to the
appliance normally functions.

The key is to not bite off too much more than you can chew, and what
you do bite off, chew it over until you can taste enough Python/web2py
to know how to try to write your own code.

Compared to Java and PHP, I find Python to be nicely readable, and
web2py to be more 'Pythonic' than Django etc.

But I can only write this after having read through (bits and pieces -
not all) free Python books and others code.

So after acquainting yourself with the great web2py resources above,
perhaps also try to work your way down/through/around the list of free
Python books I've included below.

I encourage you and everyone here, to list their favourites that
aren't in my list.


---------------------------------
Python Related Resources
---------------------------------

Like the web2py resources, the Python books listed below are top
quality, and friendly to use.

I've listed them in the order a noob may find useful - but use them in
whatever order you like, to suit your coding skills and project
interests.


A Byte of Python
---------------------
Possibly the easiest, most fun, and informative read for a Python (or
perhaps even a coding) noob.
It also has good comparisons to other languages.
http://www.swaroopch.com/notes/Python
DOWNLOAD THE PYTHON 2.X VERSION, as this is what web2py uses at this
time.


Dive into Python
---------------------
Goes into more depth than the book above and was/is regarded as the
'standard' for Python noobs.
http://www.diveintopython.org/


Building Skills in Python
------------------------------
Aimed at people who can already code Python and want to get more from
the language.
http://homepage.mac.com/s_lott/books/python/pythonbook-2.5.html


Building Skills in OO Design
----------------------------------
Written by the same author as above, but focused more on object-
oriented Python coding.
http://homepage.mac.com/s_lott/books/oodesign.html


The Standard Python Library
------------------------------------
Descriptions and examples of Python’s modules library.
http://effbot.org/librarybook/


Good luck with your web2py projects!

Steve Shepherd

unread,
Sep 14, 2008, 5:19:37 PM9/14/08
to web...@googlegroups.com
noob
You are awesome!!
As the community expands people that help like you are just what we need to make the framework go viral
Read those resources people as I am doing exactly the same and this is a God send.
The only thing I can think of adding to the tool set is auto complete on the online editor (ie when I type SQLF it would come up with all the options for SQLfield) AND a debugging tool so we can put breakpoints into the code and then hover over variables to find out there contents.
Too much!!
Keep this thread going

Steve Shepherd

mdipierro

unread,
Sep 15, 2008, 1:14:58 AM9/15/08
to web2py Web Framework
Noob. Wonderful. You should start an AlterEgo entry with all the
external links.
Reply all
Reply to author
Forward
0 new messages