Web application admin generators [closed]

2019-03-11 01:49发布

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)?

9条回答
迷人小祖宗
2楼-- · 2019-03-11 02:03

I can recommend CakePHP scaffolding, where you can also add admin routing. Nice for you is that you can stay on PHP, which you also used for Symphony. Be warned, you might get addicted to Cake ;)

查看更多
戒情不戒烟
3楼-- · 2019-03-11 02:08

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

查看更多
Explosion°爆炸
4楼-- · 2019-03-11 02:08

something a lot more powerful for CakePHP is https://github.com/josegonzalez/cake_admin, little bit of a Django rip-off :)

查看更多
相关推荐>>
5楼-- · 2019-03-11 02:10

Padrino has "Padrino Admin":

http://www.padrinorb.com/guides/padrino-admin

While not as popular as Rails, it's built around the excellent Sinatra DSL.

查看更多
迷人小祖宗
6楼-- · 2019-03-11 02:13

I like sprox, for Python. Although I have not found it particularly useful for production, it can help a lot in terms of prototyping and testing -- its simplicity is its strength here, enhancing Python's own strengths.

查看更多
Rolldiameter
7楼-- · 2019-03-11 02:16

For Ruby on Rails: Here is some discussion on SO

But ActiveScaffold's home page at the moment is still talking about Rails 2.3, so you may want to read past the accepted answer and check the others to see if there are newer ones.

Rails Admin looks to be actively developed and has good pedigree (having been a Google Summer of Code project mentored by big names in the Rails community, so I'd start there if I were looking.

查看更多
登录 后发表回答