Well the DAL already implements the data mapper pattern. The memory 
representation are the tables defined in the models, the persistent 
representation can be anything really, you could make your own adapter. 

As for the "Domain Model Pattern " an easy approximation is using methods 
and virtual fields, if that's not "domain model" enough for you, you can 
use Bruno's model-less approach.

http://www.web2pyslices.com/slice/show/1479/model-less-apps-using-data-models-and-modules-in-web2py
 

Make sure you're not *over-engineering*.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to