Created by billf on 2009-01-26 and last modified on 2009-01-31

The object is to demo a simple approach to providing different flavours of implementation via plugins. The example used is sql.py. Db-engine specifics (and general SQL) are implemented via a single "abstract" class that provides a plugin template and common methods and one plugin class per db-engine. sql.py is amended to load the appropriate plugin and use plugin methods for key actions (get dialect values, connect, create table, insert, update, delete, etc).

Get this branch:
bzr branch lp:~billferrett/web2py/plugins
Only billf can upload to this branch. If you are billf please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information


Recent revisions

4. By billf on 2009-01-31

fix to create_table

3. By billf on 2009-01-31

Minor bug fixes to sql.py, db_abstract.py and db_sqlite.py. New unittest files.

2. By billf on 2009-01-26

Initial upload

1. By billf on 2009-01-26

Initial upload

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.