需要建议 - 哪种使用 PHP 和 MVC 的快速应用程序开发框架可以满足这一特定需求?
我们是一家家长倡议组织,经营一家小型幼儿园/托儿所,我们着手为我们的托儿所构建一个基于网络的基本文档和报告应用程序。
在花了一周的时间研究各种 PHP MVC 框架之后,我有一些自己无法回答的问题 - 即使在仔细查看(安装在本地计算机上)CakePHP、Symfony、CodeIgniter、YII 和 Joomla 之后也是如此。
目标是构建一个 Web 应用程序,站点管理员、员工和家长(角色)可以根据他们的角色登录来执行简单的任务(因此我需要 RBAC)。例如,站点管理员将能够将员工添加到数据库中,员工将能够添加儿童并制作一些有关儿童的文档(选择儿童并输入有关特殊需求的详细信息等)。家长应该能够更新有关谁来接孩子的信息,或者如果孩子在特定日期没有进来,则通知工作人员。
现在,由于这都是基本的 CRUD,下面只有几个表,这些表通过一些外键约束连接,所以我希望框架为我生成 CRUD 骨架。
由于我需要管理角色并限制对某些页面的访问,因此我想要开箱即用的基本用户管理。
另外,PHP、MySQL 和 MVC 都已设置 - 否则我会使用 Oracle Apex,因为我对此有一些经验。
因此,我查看了大量的 PHP 框架,发现以下框架很有前途:
- CodeIgniter(带有 Bonfire 插件)
- Symfony2
- YII 框架与 GII
- CakePHP
- Joomla
但我看到的框架似乎都不符合我的需求:
- 创建 CRUD 骨架页面基于我的带有外键的 ERD(MySQL InnoDB)/脚手架,
- 提供开箱即用的基本用户管理,并采取最新的安全措施(使用 phpass 或 salted 存储的密码)哈希和 md5、用户注册、定义角色并将任务限制为角色/用户)。
如果有人可以建议一个内置这两个要求的 PHP 框架,我会很高兴听到它。提前非常感谢您!
(我真的很喜欢 CodeIgniter,因为它设置简单且轻量级,我喜欢 Bonfire 用户管理插件,但当我发现他们在最新版本中取消了脚手架时,我感到很失望 我喜欢 Joomla 的用户管理,但发现组件开发很难开始,而且没有脚手架)。
we are a parents initiative who runs a small kindergarden / child nursery and we set out to build a basic web based documentation and reporting application for our nursery.
After spending a week doing research on the various PHP MVC frameworks, I have a few questions that I could not answer myself - even after having a closer look (installed on local machine) at CakePHP, Symfony, CodeIgniter, YII and Joomla.
The goal is to build a web application where site managers, staff and parents (roles) can log in to do simple tasks, depending on their role (hence I need a RBAC). Site managers will for example be able to add staff to the database, staff will be able to add children and do some documenation on children (select a child and enter details on special needs etc.). Parents should be able to update information about who is picking up the child, or inform the staff if a child will not come in at a certain date.
Now, since this is all basic CRUD with only a few tables underneath, tables connected via some foreign key constraints, I would like the framework to generate CRUD skeletons for me.
And since I need to manage roles and limit access to certain pages, I would like a basic user management out of the box.
Plus, PHP and MySQL and MVC are set - otherwise I would have used Oracle Apex as I have some experience with that.
So, I looked at a vast amount of PHP frameworks and found the following to be promising:
- CodeIgniter (with Bonfire plugin)
- Symfony2
- YII framework with GII
- CakePHP
- Joomla
BUT none of the frameworks I looked at seemed to fit my need:
- creating CRUD skeleton pages based on my ERD with foreign keys (MySQL InnoDB) / Scaffolding
- offering a basic user management out of the box with up to date security measures in place (passwords stored using phpass or salted hashes & md5, user registration, defining roles and limiting tasks to roles/users).
If somebody could suggest a PHP Framework that comes with those two requirements build in, I would be very happy to hear about it. THANK YOU very much in advance!!
(I really liked CodeIgniter because it was simple to set up and lightweight, I liked the Bonfire user management plugin but was disappointed when I found out they sacked scaffolding in the lasted release
And I liked Joomla for its user management, but found it quite hard to get started on component development, plus no scaffolding).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该检查 FuelPHP 及其 ORM、Oil 和 Auth 包。真的很棒。如果您喜欢 CodeIgniter,您可能也会喜欢 Fuel。
http://www.fuelphp.com
You should check FuelPHP and its ORM, Oil and Auth packages. It's really great. If you liked CodeIgniter, you'll probably love Fuel.
http://www.fuelphp.com