用于基本 CRUD 的 PHP 快速骨架生成器?

发布于 2024-09-16 19:40:23 字数 475 浏览 1 评论 0原文

我的任务是构建一个简单的基于网络的系统来管理车辆列表。

我很想知道是否有任何健壮、干净的 PHP 5 框架/库专门用于快速完成此任务。

他们应该能够快速构建具有基本功能的任意数据结构的骨架 Web 后端:

  • 可定制的列表视图
  • 可定制的编辑表单
  • 创建/更新/删除操作

不错的东西:

  • 多用户界面
  • 基于 ACL 的权限系统
  • 本地化
  • 图像/ 中构建的文件上传

在梦魇

  • :以编程方式管理项目的骨架 CRUD API
  • 通知新项目的骨架 RSS 提要

我知道大多数大型框架为此提供了工具和帮助程序,但更喜欢独立的、轻量级的、简单的解决方案进入。

或者,是否有一个很棒的 PHP 应用程序值得您推荐并进行修改以满足我的需求?

I have been tasked with building a simple web based system for managing a list of vehicles.

I am interested to know whether there are any robust, clean PHP 5 frameworks / libraries that are specialized in doing this quickly.

They should be able to quickly build a skeleton web back-end to an arbitrary data structure with the basic functions:

  • Customizable list view
  • Customizable edit form
  • create/update/delete operations

Nice to haves:

  • Multi-user interface
  • ACL based rights system
  • Localization
  • Image / File upload built in

Wet dreams:

  • A skeleton CRUD API to manage items programmatically
  • A skeleton RSS feed to inform about new items

I am aware most big frameworks provide tools and helpers for this, but would prefer a standalone, light-weight solution that is easy to get into.

Alternatively, is there a great PHP application that you would recommend looking into to modify to suit my needs?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

筑梦 2024-09-23 19:40:23

就构建骨架应用程序而言,没有什么比 Yii 框架 更接近的了。

从网站:

MVC、DAO/ActiveRecord、I18N/L10N、
缓存、基于 jQuery 的 AJAX 支持、
身份验证和基于角色的访问
控制、脚手架、输入
验证、小部件、事件、主题、
网络服务等等。写于
严格的 OOP,Yii 易于使用,并且
极其灵活和可扩展。

它还包括 CRUD 代码生成。由制作普拉多的人领导。

As far as building skeleton apps goes, nothing comes close to the Yii framework.

From the site:

MVC, DAO/ActiveRecord, I18N/L10N,
caching, jQuery-based AJAX support,
authentication and role-based access
control, scaffolding, input
validation, widgets, events, theming,
Web services, and so on. Written in
strict OOP, Yii is easy to use and is
extremely flexible and extensible.

It also includes CRUD code generation. Headed by the guy who did Prado.

帥小哥 2024-09-23 19:40:23

如果你不想要一个大的框架,你可以查看 phpactiverecord

If you don't want a big framework, you could check out phpactiverecord

何时共饮酒 2024-09-23 19:40:23

我会推荐 CakePHP

I would recommend CakePHP

清音悠歌 2024-09-23 19:40:23

我已经看过 Rails、Django 和 Symfony 中即时博客的精彩演示。

看看Zend、Cake、Symfony,Symfony 好像最像Rails/Django。查看 10 分钟(是的,速度超级快!)的演示。非常贴心:

http://www.symfony-project.org/screencast/cart

我的经验告诉我,没有任何框架,无论是轻量级的还是其他的,如果你不知道的话,你可以轻松快速地做你想做的事情。这就是教程的用武之地。您确实需要一个好的 ORM 来避免数据库的所有混乱,或者使用 CMS 重新发明它。因此,最好的选择是选择具有最佳文档、最佳教程 + 截屏视频的语言,使用您所知道的语言,只需更改变量名称即可让您最接近您的需求。我知道 Django 可以满足您对 Django 1.2 的要求,但由于要求 PHP 5,Symfony 及其 ORM 是我的第一个建议。

Yii 看起来像我现在要看看的东西!嚯嚯!

这是 Yii 博客制作的截屏: http://www.yiiframework.com/screencast/blog/

到目前为止还不错!但要让博客正常运行是一个相当长的学习曲线。与 Rails 非常相似。

I've seen awesome demos of the instant blog in Rails and Django and Symfony.

Looking at Zend, Cake, Symfony, Symfony seems the most like Rails/Django. Check out the 10 minute (yeah, super sped up!) demo. It's pretty sweet:

http://www.symfony-project.org/screencast/cart

My experience tells me that there's no framework, lightweight or otherwise that you can easily do what you want quickly if you don't know it. So that's where the tutorials come in. You really need a nice ORM to avoid all that mess with the DB and or reinventing that with a CMS. So the best bet is to choose the one with the best docs, the best tutorial + screencast, in the language you know that gets you closest to your requirements by just changing the names of the variables. I know Django can do all that you're asking with Django 1.2, but with PHP 5 being the requirement, Symfony and it's ORM is my first suggestion.

Yii looks like something I'll be taking a look at right now! Yii-Haaw!

Here's Yii's screencast of blog making: http://www.yiiframework.com/screencast/blog/

Not bad so far! But it's quite a learning curve to get the blog working. Very similar to Rails.

贪恋 2024-09-23 19:40:23

我多年来见过的最好的 http://www.grocerycrud.com/ 是针对 codeigniter 的

The best i have seen around in years http://www.grocerycrud.com/ its for codeigniter

不…忘初心 2024-09-23 19:40:23

Sapphire 有很多前景。我已经在几个项目中使用了基于它构建的 CMS - SilverStripe,它非常好。但我还没有深入研究后端。

来自网站:

  • 我们的对象关系映射器采用
    照顾您的数据。定义您的数据
    使用我们简单的 PHP5 语法的模型
    其余的工作由我们的 ORM 完成。
  • 告诉
    关于您的数据模型的蓝宝石,以及
    您免费获得 3 个接口。一个
    RESTful API、SOAP API 和管理员
    编辑界面。

它并不完全是轻量级的,但其核心约为 1.3 MB,但满足您的许多“必备条件”

Sapphire has a lot of promise. I have used the CMS built on it - SilverStripe - for a few projects and it's very nice. But I haven't dug into the back-end too much.

From the website:

  • Our Object-Relational Mapper takes
    care of your data. Define your data
    model using our simple PHP5 syntax
    and our ORM does the rest.
  • Tell
    Sapphire about your data model, and
    you get 3 interfaces for free. A
    RESTful API, a SOAP API, and an admin
    editing interface.

It's not exactly lightweight, but its core is ~1.3 MB but meets a lot of your "nice to haves"

箜明 2024-09-23 19:40:23

有几个 PHP 框架可以满足您的要求(基本要求)。您应该使用您最熟悉的框架。如果您不熟悉任何框架,我建议您使用CodeIgniter。

There are several PHP frameworks that meet your requirements (basic requirements). You should use a framework that you are most familiar. If you do not familiar with any framework, I suggest you to use the CodeIgniter.

心舞飞扬 2024-09-23 19:40:23

我也一直在寻找像这样的嵌入式管理面板,到目前为止我有2:

AjaxCrud - http://ajaxcrud .com/

来自 Code Canyon 的一瞥 - http://bit.ly/toKKrB

喜欢听任何内容其他建议!

I've been looking for a drop-in admin panel like this too, so far I've 2:

AjaxCrud - http://ajaxcrud.com/

Peek from Code Canyon - http://bit.ly/toKKrB

Love to hear any other suggestions!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文