简体   繁体   English

在 PHP 中构建管理界面的最快方法是什么?

[英]What is the quickest way to build admin interfaces in PHP?

What's the quickest way to build admin interfaces in PHP?在 PHP 中构建管理界面的最快方法是什么?

It can be a framework, a library/libraries coupled with a particular approach, or whatever.它可以是一个框架,一个库/库加上特定的方法,或者其他什么。

Background: I'm a Django developer spoiled by auto admin who has to deliver a web-app in PHP.背景:我是一名 Django 开发人员,被自动管理员宠坏了,他必须在 PHP 中提供 Web 应用程序。 The app is very admin-area/form heavy and has different access levels.该应用程序的管理区域/表单非常繁重,并且具有不同的访问级别。

On PHP, Symfony , which has admin generators, is probably what you're looking for.在具有管理生成器的 PHP、 Symfony上,可能是您正在寻找的。

I also suggest symfony.我还建议 symfony。 Zend will be too much for small project. Zend 对于小项目来说太多了。 if you are building blog, then use Drupal.如果您正在构建博客,请使用 Drupal。

I would personally use http://agiletoolkit.org/ It is done in php but allows you to use one of the best frameworks i have seen to build it.我个人会使用http://agiletoolkit.org/它在 php 中完成,但允许您使用我见过的最好的框架之一来构建它。 They have great support and have answered all my questions.他们有很大的支持,并回答了我所有的问题。

Check out this page on just the surface of what this framework can do.在这个框架可以做什么的表面上查看这个页面。 http://ui.agiletoolkit.org/ http://ui.agiletoolkit.org/

Maybe CodeIgniter .也许CodeIgniter Haven't tried it but I had this colleague (PM) at work (a Java shop) always ranting about how he could do everything faster and better if we would be using CodeIgniter.还没有尝试过,但我有一位同事 (PM) 在工作(Java 商店)总是抱怨如果我们使用 CodeIgniter,他将如何更快更好地完成所有工作。

If you insist on using a framework for this definitely go with CodeIgniter .如果您坚持为此使用 go 和CodeIgniter框架。 Its lightweight MVC approach really makes project like these a breeze.它的轻量级MVC方法确实让这样的项目变得轻而易举。 I build a lot of database driven administrative applications with PHP and have found CI to be a time saver.我使用 PHP 构建了许多数据库驱动的管理应用程序,并且发现 CI 可以节省时间。

Of course it is entirely possible to accomplish this task using nothing more than vanilla PHP and libraries.当然,完全有可能使用普通的 PHP 和库来完成这项任务。 I have built many administrative / management applications w/o frameworks.我已经构建了许多没有框架的管理/管理应用程序。

If you have other questions let me/us know.如果您有其他问题,请告诉我/我们。

- Nicholas -尼古拉斯

The quickest way?最快的方法? Write it by hand.手写吧。 If there's potential for re-use, copy and paste at first, then refactor into libraries.如果有重用的潜力,首先复制和粘贴,然后重构到库中。 This approach works best if you pretty much know what you're doing.如果您非常清楚自己在做什么,这种方法效果最好。 Otherwise, a framework might be the answer.否则,一个框架可能就是答案。

Have you tried QCodo, which does a lot automatically.您是否尝试过 QCodo,它会自动执行很多操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM