Results 1 to 2 of 2

Thread: Automatically generating grids from mysql database

  1. #1
    Sencha User
    Join Date
    May 2011
    Location
    Kansas City, MO
    Posts
    47

    Talking Automatically generating grids from mysql database

    I've put together a PHP script that takes a database schema and generates the html, js, and php to display a grid for each table within the schema.

    It's not complete, for example it makes every column a string. Feel free to edit and use as your own or submit changes or constructive criticism.

    https://github.com/jonaldomo/php-ext...id-creator.php

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    8

    Default

    You could add a metadata property to the json result of the database query. This will basically configure your fields for you automatically. This used to be well documented in 3.x but since 4 it seems to have disappeared... it still works though I'm using it extensively

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •