(This isn't an April Fool's Joke)
So, I've been writing a book for Web2Py, but recently came towards a
new direction...we already have a great in-depth book writeen by
Massimo so I was wondering...
Would you guys be interested in a book for web2py like 250 pages long
that goes in-depth? Or, a nice little quick start guide :D here's the
thing, BOTH will be able to teach you the fundamentals that you'll
need to create 80%+ web applications. One will just tell you how to do
things, but then link you to the documentation page available on
web2py.com for more information.
Examples:
(QuickStart)
In order to create a table for our database, we'll need to <b>define</
b> our table.
code:
db.define_table('tablename',
SQLField('fieldname','string', notnull=True)
SQLField('fieldname2','integer', notnull=True),
)
Let's say we wanted to have a table reference the "tablename" table.
db.define_table('table2',
SQLField('tablename_id', db.tablename),
SQLField('imafield','boolean'),
)
<explain how the reference key works briefly then provide a link to
the DAL explantion page for all options>
I think the quick-start guide will really help boost the web2py
community and get people started on a project. It's similar to the
Dojo, but a bit different since it'll go more in-depth than the Dojo
but at the same time you don't have to learn everything. :) It will
skip things like "What is MVC?" and "Why Web2Py framework" etc. I
believe Massimo has already full-filled that information.
The book will be available online (HTML) and PDF as well as a
published book.
Please let me know if your thoughts.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---