Welcome Guest, Not a member yet? Register   Sign In
Mapping ORM database to create forms automagically?

As part of the Modular CMS we are building we are finding we are repeating a lot of boilerplate code; whilst most of this can be extendable via MY_Controller; the main problem seems to be creating forms on the fly from database tables, similar to Scaffolding or PEAR's QuickForm.


Rather than doing all this over and over isn't there a way to rapidly do scaffolding on the ORM database and build up forms, including image uploads; include and handle relationships, etc?

This way we don't have to repeat basic functionality; or have something we can use out-of-the-box and not worry so much on repeating boiler plate code.

In django you can define ImageFields, TextFields, etc and it will generate the stuff for you.

Ideally, we'd like it to pick up the fields from the DB, generate forms for us to use or extend.

Any notes/help on this would be great.

Theme © iAndrew 2016 - Forum software by © MyBB