Re: [web2py] book 3.2ed

2011-10-26 Thread Johann Spies
Thanks!

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


[web2py] book 3.2ed

2011-10-25 Thread Massimo Di Pierro
One more update of the online book posted:

   http://web2py.com/book

Includes:

- italian translation
- japanese translation
- english (revised)

The revised english version includes:

[x] LICENSE CHANGE FROM GPLv2 to LGPLv3
[x] new URL syntax
[x] URL(...,scheme=,host=,port=), thanks Jonathan
[x] URL(...,user_signature=True), LOAD(...,user_signature=True)
[x] new T behavior
[x] db(db.table), db(db.table.id) both suported and equivalent to
db(db.table.id0)
[x] IS_DECIMAL_IN_RANGE and IS_FLOAT_IN_RANGE support dot=, (dot=.
is default)
[x] on_failed_authorization can be a function, thanks Niphold
[x] SQLFORM.process()
[x] SQLFORM.accepts(detect_record_change).record_changed
[x] session.connect(separate=True) to handle many session files,
thanks huaiyu wang
[x] support for count(distinct=...)
[x] IS_MATCH(...,strict=True)
[x] No more Auth(globals(),db), just Auth(db). Same for Crud and
Service.
[x] efficient db(...).isempty()
[x] from gluon import *
[x] from mymodule import *
[x] request.is_local
[x] request.is_https
[x] login_methods/loginza.py, thanks Vladimir
[x] DAL(...,migrate_enabled=False) to disable all migrations
[x] DAL(...,fake_migrate_all=True) to rebuild all corrupted metadata
[x] messages in validators have default internationalization
[x] web2py.py -J for running cron (thanks Jonathan Lundell)
[x] bpython shell support, thanks Arun
[x] response.toolbar()
[x] db._timings contains database query timing info
[x] web2py comet via gluon/contrib/comet_messaging.py (html5
websockets)
[x] new represent syntax
[x] COL and COLGROUP helpers
[x] auth.settings.login_after_registration=True
[x] SQLFORM(...,separator=': ') now customizable
[x] combined expressions print db.data.body.len().sum()
[x] request.utcnow
[x] web2py_ajax.html is more modular, thanks Anthony
[x] current
[x] dal expression.coalesce(*options)
[x] response.include_meta() and response.include_files(), thanks
Denes
[x] dal auto-reconnect on time-out connections
[x] DAL(...,adapter_arg={}) allows support for alternate drivers
[x] new simpler API gluon.contrib.AuthorizeNet.procss(...)
[x] upgraded to anytime
[x] new alterante syntax for inner joins: db(...).select(join=...)
[x] new syntax rows[i]('tablename.fieldname')
[x] new DAL (complete rewrite of the web2py DAL is more modular)
[x] new query syntax field.contains(list,all=True or False)
[x] validate_and_update, thanks Bruno
[x] web2py HTTP responses now set: X-Powered-By: web2py, thanks
Bruno
[x] auth.settings.extra_fields['auth_user'].append(Field('country'))
[x] A(...,callback=URL(...),larget='id') does Ajax
[x] support for A(name,callback=url,target='id',delete='tr')
[x] DAL 'request_tenant' fields are special, the altomatically filer
all records based on their default value.
[x] db._common_fields.append(Field('owner')) allows to add fields to
ALL tables
[x] experimental cubrid database support
[x] better CAS with v2 support, thanks Olivier ROCH VILATO
[x] all applications can delegate to login to external provider
Auth(...,cas_provider='http://.../other_app/default/user/cas')
[x] isapiwsgihandler.py
[x] setup-web2py-nginx-uwsgi-ubuntu.sh
[x] DAL(..,auto_import=True) automatically imports tables from
metadata  without need to db.define_table(...)s.
[x] field.represent = lambda value,record:  (record is optional)
[x] gluon/contrib/redis_cache.py
[x] gluon/contrib/simplejsonrpc.py
[x] expire_sessions.py respects expiration time, thanks iceberg
[x] auth.settings.cas_actions
[x] conditional models
[x] x509 support (needs rocket upgrade, thanks Michele)
[x] scripts/access.wsgi allows apache+mod_wsgi to delegate
authentication of any URL to any web2py app
[x] DAL gotchas section
[x] admin allow ``DEMO_MODE=True`` and ``FILTER_APPS=['welcome']``
[x] admin has MULTI_USER_MODE (admin/models/0.py)
[x] better mercual admin allows list of files, versions and retrieve
[x] scripts/make_min_web2py.py
[x] new cpdb.py, thanks Mart
[x] experimental REST API
[x] mentioned pyfpdf and added link to online docs, thanks Mariano
[x] user_agent
[x] web2py.py -K for running backgournd tasks
[x] experimental gluon/scheduler.py

TODO:
- document wizard
- document SQLFORM.grid and smartgrid
- document GAE polymodel support
- document new lazy virtual fields
- rewrite acknowledgements
- update screenshots
- minor edits in chapter 1 and chapter 3
- proofreading
- republish!