Web application admin generators [closed] Web application admin generators [closed] python python

Web application admin generators [closed]


Django's automatic admin app is excellent. Once you've written your models, it automatically creates a full-featured admin app around them where you can create, update and delete records. It's also extensible and customizable for just about whatever you need.

Here's a pretty good overview about it. Django (and python) is intuitive and satisfying to work with -- I highly recommend that you set it up and play with it and see how well it works.


Updated 2017

Agile UI (a successor of atk4.3) is an MIT based PHP UI Component library. It gives your application nice looking, consistent User Interface without you have to write any HTML and works with any PHP framework or application.

Demo: http://ui.agiletoolkit.org/demos/index.php

The reason I think this is better than a built-in generator:

  • Almost no dependencies, works with any framework or PHP app.
  • Can work with SQL or NoSQL, relies on Agile Data.
  • Stylish, modern and responsive. (Semantic UI)
  • Interactive. "Form" uses JS to submit, display in-line validation. "CRUD" uses modal windows, pagination and QuickSearch.
  • Extensible. Need charts? https://github.com/atk4/chart.
  • Open-source

To build a minimalistic application admin you only need 15 lines of PHP code:

<?php$app = new \atk4\ui\App('My App');$app->initLayout(new \atk4\ui\Layout\Admin());$db = \atk4\data\Persistence::connect($DSN);class User extends \atk4\data\Model {    public $table = 'user';    function init() {        parent::init();        $this->addField('name');        $this->addField('email', ['required'=>true]);        $this->addField('password', ['type'=>'password']);    }}$app->layout->add(new \atk4\ui\CRUD())  ->setModel(new User($db));

Result:

enter image description here


Personally, I have found Yii's scaffolding is the best there is. Quick First Application

What I truly loved:

  • Controlled creation of files. Yii provides an interface to create all required files, called Gii.

  • You have the ability to generate your model classes based on the database model.

  • You have the ability to generate CRUD operations for all your model classes (Action methods for your controller class).

The generated scaffolding includes: Pagination, Searching, Advanced Searching, Listening, Inserting and Updating includes validation out of the box, Deleting. And all of the interface is ajax driven.