Zend 的 MVC 替代方案

发布于 2024-10-07 18:13:52 字数 401 浏览 0 评论 0原文

我正在尝试使用 Zend 创建我的第一个项目,但这确实让我感到困惑。 IMO 配置/引导太复杂了。

所以我在考虑不要使用 Zend 的所有内容,而只使用对我来说有用的类。对于模板系统,我可以使用 Savant 3。

我的问题是我可以在 MVC 方面使用什么?有没有相关的 php 项目?我不是在寻找一个框架,只是在寻找一个处理所有请求并将它们发送到我自己制作的控制器的东西。然后我会将它们发送给 Savant。

(我实际上喜欢使用 codeigniters 做这些事情的方式,但这是一个学校项目,我需要使用 Zend)

我知道你们中的大多数人可能会建议坚持使用 Zend 的 MVC,或者尝试其他框架,但这不是我在问:)

I'm trying to create my first project with Zend but it's really confusing me. IMO the configuration/bootstrapping is way too complicated.

So I was thinking about not using everything from Zend, but only the classes that seem useful to me. For the template system I could use Savant 3.

My question is what could I use for the MVC aspect? Are there any php projects out there for this? I'm not looking for a framework, just something that handles all the requests and sends them to my own made controllers. And then I'll send them through to Savant.

(I actually like codeigniters way of doing these things, but this is for a school project, and I need to work with Zend)

I know most of you will probably recommend just sticking with Zend's MVC, or try another framework, but that's not what I'm asking :)

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

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

发布评论

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

评论(2

作妖 2024-10-14 18:13:52

您可以尝试 pimcore ( http://www.pimcore.org/ )。它是一个免费的 CMF,构建在 Zend Framework 之上。您可以轻松地将您的课程组合在一起,它会为您生成一个后端。此外,它还内置了强大的 CMS 功能。

它为开发人员提供了一种创建网站和应用程序的好方法,而无需让您过多关心引导和“核心”内容。您只需编写您的操作和视图,剩下的事情由 pimcore 完成。

祝你的项目好运!

You might try pimcore ( http://www.pimcore.org/ ). It's a free CMF, built on top of the Zend Framework. You can easily click together your classes and it generates a backend for you. Also, it has strong CMS Features built in.

It provides a good way for developers to create Websites and -applications, without letting you care too much about bootstrapping and the "core" stuff. You just code your actions and views, pimcore does the rest.

Good luck with your project!

放我走吧 2024-10-14 18:13:52

zend 的全部意义在于创建 MVC 应用程序,如果您在设置应用程序时遇到困难,那么您可以使用一些资源,例如 ZendCasts 将引导您完成引导和设置错误控制器等,

github 为您提供初始项目布局,以便您可以直接进行编码我知道您不久前发布了此内容,但我希望这会有所帮助,如果没有的话,也许它会帮助其他人在这里搜索:)

the whole point of zend really is for creating mvc applications if you are struggling with setting up your application there a few resources you can use such as ZendCasts which will walk you through bootstrapping and setting up your error controllers etc

there is also a project available on github to give you your initial project layout so you can get straight to coding i know you posted this some time ago but i hope this helps if not maybe it will help someone else searching through here :)

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