Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web application admin generators [closed]

Since Symfony 1.x's admin generator, I found this kind of tool really useful to prototype applications, show something very quickly to customers etc.

Now for Symfony2, admin generator does not seems to be a priority (see here and here)

Django's admin generator seems very interesting...

Which web application admin generator (any language / technology) would you recommend (pros / cons)?

like image 730
Frosty Z Avatar asked Mar 28 '11 13:03

Frosty Z


3 Answers

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.

like image 140
Matt Howell Avatar answered Nov 05 '22 23:11

Matt Howell


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

like image 41
romaninsh Avatar answered Nov 06 '22 01:11

romaninsh


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.

like image 4
Ali Avatar answered Nov 06 '22 00:11

Ali