Not Quite Ready Yet!
A utility script on Pylons that will generate operational RESTful CRUD scaffolds according to data table definitions.
Features:
- RESTful
- Support relations between data tables
- Ajaxified
To do:
- Pagination
- More friendly setup and integration with Pylons
- Data table definitions directly from data models like that of Elixir
- Authentication
- Decomposing modules
- Integration with data validations like FormEncode
What it's like in action?
- put in the scripts into project tree
- define your tables with model definitons:
- run the generator
- you are ready to manipulate data:
Tables = {
'Person': {
'pk': 'id',
'cols': ['name', 'password'],
'list': {'emails' : 'Email'}, #one to many
'option': {'type': 'PersonType'}, #many to one
'options': {'groups': 'Group'}, #many to many
},
'Email': {
'pk': 'id',
'cols': ['address'],
'parent': 'Person',
},
'PersonType': {
'pk': 'id',
'cols': ['name'],
'view_parent': 'Person',
},
'Group': {
'pk': 'id',
'cols': ['name'],
'view_parent': 'Person',
},
}