1. #1
    Sencha User
    Join Date
    Dec 2007
    Location
    Aubagne, France
    Posts
    347
    Vote Rating
    1
    mask_hot is on a distinguished road

      0  

    Default CRUD Factory

    CRUD Factory


    Here is my first version of the CRUD Factory :
    http://gatandgreg.hd.free.fr/~mask_hot/crud.html

    These is a GridPanel connected to a MySql base through a Ext.Direct/Php Backend.
    The grid retrieves the tables and their fields and permits, grace to the fabulous Saki's Ux.RowActions, to generate a GridPanel with CRUD and Filter actions for each Table.

    The diiferent available actions for a table are :
    • Generate a GridPanel Class
    • Generate a PHP Class
    • Generate an API file (because it uses Ext.Direct)
    • Generate an HTML file (for testing the Grid previously created)
    • Open the HTML created to see the result

    These is a 0.1 version. There is lot to do yet :
    • Handle all kind of column types to generate a good ColumnModel (currently only numeric and text columns)
    • Configure the Database Connection
    • Use different kinds of DB (Oracle, SqlLite, ..)
    • Allow edit on fields to configure the Grid ColumnModel
    • Generate forms, remote combo, ...
    • ...

    It's just a beginning...
    My goal was to generate CRUD Grids easily for an existing DB.

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    323
    Vote Rating
    5
    Scorpie is on a distinguished road

      0  

    Default


    Good idea. IE 8 gives errors btw.
    The database being shown, is it for some kind of soccer management application? I`m building the same kind of app
    I`m from Holland!

  3. #3
    Sencha User
    Join Date
    Dec 2007
    Location
    Aubagne, France
    Posts
    347
    Vote Rating
    1
    mask_hot is on a distinguished road

      0  

    Default


    Quote Originally Posted by Scorpie View Post
    Good idea. IE 8 gives errors btw.
    The database being shown, is it for some kind of soccer management application? I`m building the same kind of app
    Normal for IE8 as there still are firebug console calls

    Yes it's a soccer management application. I want to "modernize" my football club website www.fastfoot.org

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    323
    Vote Rating
    5
    Scorpie is on a distinguished road

      0  

    Default


    Quote Originally Posted by mask_hot View Post
    Normal for IE8 as there still are firebug console calls

    Yes it's a soccer management application. I want to "modernize" my football club website www.fastfoot.org
    Nice! Maybe i`ll snatch some of your database principles!
    I`m from Holland!

  5. #5
    Sencha Premium Member MichaelOstrovsky's Avatar
    Join Date
    May 2008
    Location
    Tel Aviv, Israel
    Posts
    135
    Vote Rating
    6
    MichaelOstrovsky is on a distinguished road

      0  

    Default Great Idea!

    Great Idea!


    Excellent idea. Each thing that simplifies the main logic is welcome
    (*in case it case it's doing it "right") .

    Good luck!

Thread Participants: 2