My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

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?

  1. put in the scripts into project tree
  2. define your tables with model definitons:
  3. 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',
        },
    }
  4. run the generator
  5. you are ready to manipulate data:

pre-alpha now available

Powered by Google Project Hosting