C
C
cat_crash2011-10-12 11:31:37
CMS
cat_crash, 2011-10-12 11:31:37

PHP Admin Framework?

Good afternoon,
For half a year I have been trying to find something for easy / quick development of flexible solutions. Ideally, I would like to see a PHP framework (Symfony, Yii, CI, etc.) with Drupal-style CCK binding. In other words, so that it would be possible to describe the data structure and get at the output:
- Admin panel in finished form (Some analogue of Django)
- A set of classes for working with data
So far, all I have seen is either a crooked admin panel that can only work with flat data and not supports possible relationships, trees,
dates

Answer the question

In order to leave comments, you need to log in

8 answer(s)
S
Sergey, 2011-10-12
Protko @Fesor

Of those solutions that I tried - CRUD generator under YII. We describe the models and generate the crud. If you are not satisfied with the design or the code, everything is corrected in the template settings. Regarding "there is no possibility of working with trees", etc. - here you have to do it yourself. Under the same YII, there are at least nested sets of behavior for models, a couple of three widgets and voila. (although I don’t really like the existing widget for drawing trees, but this is a matter of taste).
Over time, code templates are completely customizable, the design of the admin panel changes (using the standard design provided with YII ... somehow it’s not good ... it’s miserable), and all the most basic functions are generally taken out separately. Let's say I just made the admin module for myself, which is the backbone for everything, and then through Gii.

D
Denis Turenko, 2011-10-12
@Dennion

Try my bike PHPShop Framework, everything that you described is in it. PHPShop.CMS Free is built on this, there is an integrated development environment PHPShop IDE , it is very easy and fast to create interfaces in it without dancing with a tambourine.
If you have questions, there is a support forum .
Supports localization, skins and hooks.
News list output example:
$TitlePage=__("Новости");
function actionStart() {
global $PHPShopInterface;
$PHPShopInterface->size="630,550";
$PHPShopInterface->link="news/adm_newsID.php";
$PHPShopInterface->setCaption(array("Дата","10%"),array("Заголовок","45%"),array("Краткая информация","45%"));
if(!empty($_GET['search']))
$where=array('title'=>" LIKE '%".$_GET['search']."%'",
'description'=>" LIKE '%".$_GET['search']."%'",
'content'=>" LIKE '%".$_GET['search']."%'",
'id'=>"='".$_GET['search']."'",
'date'=>"='".$_GET['search']."'"
);
else $where=false;
// SQL
$PHPShopOrm = new PHPShopOrm($GLOBALS['SysValue']['base']['table_name8']);
$PHPShopOrm->Option['where']=' or ';
$PHPShopOrm->debug=false;
$data = $PHPShopOrm->select(array('*'),$where,array('order'=>'id DESC'),array('limit'=>1000));
if(is_array($data))
foreach($data as $row) {
$PHPShopInterface->setRow($row[id],$row[date],$row[title],substr(strip_tags($row[description]),0,150)."...");
}
$PHPShopInterface->setAddItem('news/adm_news_new.php');
$PHPShopInterface->setSearch();
$PHPShopInterface->Compile();
}

K
Kobs, 2011-10-12
@Kobs

Have a look at this:
http://stmframework.com/
Basic usage example: The admin panel is very fast.
<?php
$tbl = new edit_table('users');
$tbl->set_title('Users table')
->add_field(new edit_table_field('User name', 'username', '200'))
->add_field(new edit_table_field_password('Password', 'password', '200'))
// ...
->show();
?>

S
stilg, 2011-10-13
@stilg

Check out jqGridPHP. jqgrid-php.net/doku.php
I personally liked it a lot

S
spbcypher, 2011-10-12
@spbcypher

I usually use the Zend + Dojo bundle for such purposes.

T
theRandom, 2011-10-12
@theRandom

I was also looking for a similar solution for database-oriented (CRM / ERP-like, but narrow-profile) applications for a long time. I stopped in the middle between universal CRUD generators and raw frameworks. I chose a bunch of FluorishLib + Moor . Under MVC, it implies manual work, but it is reusable, there is flexibility and there is no binding to appearance.

S
Stalker_RED, 2011-10-13
@Stalker_RED

Ideally, I would like to see a PHP framework (Symfony, Yii, CI, etc.)
This?

A
Alexander Reshetnyak, 2018-10-24
@Vampireos

https://sx-cms.ru Param pam pam)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question