Zend 框架。 管理网站/应用程序的最佳方式是什么?

发布于 2024-07-27 18:15:15 字数 146 浏览 2 评论 0原文

在开发 Zend Framework 时,开发人员是否经常需要为每个独特的应用程序构建自定义后端管理区域? 或者人们是否使用流行的第 3 方后端工具来操作您的应用程序的数据库?

我正在考虑学习采埃孚,但最突出的是您如何关注用户使用您的应用程序进行的操作?

When developing for the Zend Framework is it common for developers to have to build a custom backend admin area for each unique app? Or is there a popular 3rd party backend tool people are using to manipulate your app's database?

I'm thinking of learning ZF but what stands out is how do you keep an eye on what users are doing with your app?

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

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

发布评论

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

评论(4

南巷近海 2024-08-03 18:15:15

您有两个基本选择:

  1. 创建两个模块:前端和管理。 所有控制器都位于
  2. 每个模块内,模块内都有一个管理控制器来管理它。

无论哪种情况,我都使用 Front Controller 插件将布局交换为 admin.phtml,这样我就有了不同的外观和感受一下我的管理系统。 这当然是可选的:)

You have two basic choices:

  1. Create two modules: frontend and admin. All your controllers live within
  2. Within each module have an admin controller within the module to adminstrate it

In either case, I use a Front Controller plugin to swap the layout to admin.phtml so I have a different look and feel for my administration system. This is of course, optional :)

听不够的曲调 2024-08-03 18:15:15

如果管理功能太多,我倾向于创建一个特定于应用程序的“AdminController”,或者如果有太多管理模块(或者管理功能的数量确实有可能增加)。

I tend to create an 'AdminController' specific to the application if there are too many administrative functions, or an Admin Module if there are (or there is a real possibility for the number of administrative functions to increase).

往日 2024-08-03 18:15:15

嗯,一般来说,我认为使用 phpmyadmin 或直接在我的 IDE (Aptana) 中操作我的数据库就足够了。

对于我希望允许某些管理员在线执行的任务,我编写了一个管理控制器。 此类任务大多非常具体、复杂、动态,以至于某种通用生成器系统可能不会有太大帮助。

尽管如此,我知道至少有一个所谓的第三方工具属于您在问题中提到的类别。

Zend 框架的 DataGrid

Well, in general I consider it enough to manipulate my db with let's say phpmyadmin or directly in my IDE (Aptana).

For the tasks I want to allow certain administrators to perform online I write an admin controller. Such tasks are mostly so specific, complex, dynamic that some kind of generic generator system wouldn't probably help a lot.

Still, there is at least one so called 3rd party tool I know of which falls into the category you're mentioning in your question.

DataGrid for Zend Framework

静赏你的温柔 2024-08-03 18:15:15

ZendFramework 不是一个与用户一起创建特定应用程序的工具包,比如文章等。所以不可能有这样的第三方工具。 我会创建一个管理模块,而不是控制器,因为这意味着所有管理任务只有 1 个文件。

ZendFramework is not a Toolkit to create specific Application with users and, lets say articles etc. So there can't be such a 3rd party tool. I would create a admin module, not a controller, because that means you have just 1 File for all admintasks.

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