真的值得从 CodeIgniter 更改为 Zend Framework 吗?如果是的话,会有多困难?

发布于 2024-08-08 10:48:02 字数 434 浏览 1 评论 0原文

我不知道这是一个提出这样问题的好地方。如果没有,抱歉搞乱了:/

我已经使用 Codeigniter 一段时间了,我已经构建了自己的 cms(用于我所有的项目)和许多模块(新闻、图像上传等),我可以完成我的工作又好又快...但实际上我一直想要 Zend Framework。我选择 Codeigniter 的原因是因为时间问题。当我决定寻找一个供我余生使用的框架时,我的项目时间非常紧迫。只是因为学习时间短我选择了CodeIgniter。我现在其实很幸福。但我无法不去想 Zend!

我的问题是,真的值得花时间认真学习 Zend 吗?我已经非常忙于项目,我将不得不牺牲很多休息时间,晚上更少的睡眠来学习等等,并且我将需要使用 Zend 从头开始​​构建我的 cms 和所有其他模块。

真的值得吗?您如何看待对于一个已经了解 Codeigniter 的人来说学习 Zend 会有多困难?

多谢!

I don't know if this is a good place for such a question. If not, sorry for messing :/

I have been using Codeigniter for a while, I have already built my own cms (to use for all my projects) and many modules (news, image uploads, etc.) and I can do my work well and quick... but I always wanted Zend Framework actually. The reason I've chosen Codeigniter is because of time-issues. I had very tight time-line for my projects when I decided to go for a framework for using for the rest of my life. and only because of the short time learning matter I chose CodeIgniter. I'm actually happy now. But I cannot take my head of thinking about Zend!

My question is, is it really worth to give serious learning time to Zend? I'm already very busy with projects, I will have to sacrifice much from my rest time, less sleep at nights to learn, etc. and I will need to build my cms and all other modules from scratch with Zend.

Is it really worth it? And how do you think about how difficult will it be to learn Zend for a person who already knows Codeigniter?

Thanks a lot!

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

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

发布评论

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

评论(3

等风也等你 2024-08-15 10:48:02

柏拉图式的恋情

你说你很高兴,但你仍然与 Zend 框架有一段秘密的柏拉图式的恋情。因此,肯定有一些事情是您更喜欢采埃孚的,或者您已经阅读和听说过它,并且您发现它正在不断获得声誉和质量。

您能告诉我们更多相关信息吗?

框架选择陷入瘫痪

我只能从一个ZF用户的角度告诉你我的经历。一年前,我也遇到了框架问题,我思考了很多,以及选择哪个框架。请参阅我的自动讨论

我决定学习 Zend Framework,到目前为止我一点也不后悔这个决定。目前,当我评估 PHP 框架市场时,我想说,从整体角度来看,实际上只有两个优秀的选择:Symfony 和 ZF。

如果你快乐,为什么要改变?

但话又说回来,你很高兴。您对技术的选择应主要基于它是否能让您满足给定的要求。如果您已经构建了自己的 CMS,并且可以快速且有风格地满足客户需求,那么除了您自己的喜好之外,您为什么还要进行更改呢?

学习是一件好事

;另一方面,学习新东西似乎总是值得的。但也许你可以尝试一下采埃孚,尝试一个小型的个人项目或其他东西。

也许更值得学习 C 语言或 Ruby 或 Python 或...

学习 ZF

无论如何,如果您决定选择 ZF,您很可能不会后悔,而且我认为这不会花费您太多时间。您了解 PHP,您了解框架的运作方式。您只需要阅读一些新概念并习惯另一个 API。嘿,ZF 是松散耦合的,您甚至可以开始在 CI 应用程序中使用它的类,并“顺便”了解它。

Platonic affair

You say you're happy but still you have a secret platonic affair with the Zend Framework. So there must be some things which you like more about ZF or you've been reading and hearing about it and you see that it is constantly gaining reputation and quality.

Can you tell us more about that?

Framework choice paralyses

I can only tell you my experiences from the perspective of a ZF user. A year ago I faced the framework question as well and I thought a lot about it and which framework to choose. See my auto-discussion here.

I decided to learn Zend Framework and so far I don't regret the decision at all. At the moment as I assess the PHP framework market I'd say there are really only two excellent options from the overall perspective: Symfony and ZF.

Why to change, if you're happy?

But then again, you're happy. Your choice of technology should primarily be based on whether or not it allows you to fulfill the given requirements. If you have built your own CMS already and you can fulfill the customer requirements swiftly and with style, why would you change but for your own fancy?

Learning is a good thing

On yet another hand ;) it seems always worth learning something new. But maybe you can just play around with ZF, try a small personal project or something.

Maybe it's even more worth learning a C language or Ruby or Python or ...

Learning ZF

Anyways, if you decide to go for ZF you'll most probably not regret it and I don't think it will take you so much time. You know PHP, you know the way frameworks function. You just have to read about some new concepts and get used to another API. And hey ZF is losely coupled, you can even start using its classes in your CI apps and get to know it 'en passent'.

与酒说心事 2024-08-15 10:48:02

如果您利用采埃孚提供的新功能,请切换到采埃孚。连接到服务、OpenID 支持、REST 服务器、SOAP 服务器...

但是如果您只需要基本的类似 CMS 的功能(CRUD + 身份验证),那么 ZF 就太多了:)

我认为您应该学习它,但不要尝试将您正在运行的 CI CMS 重写为 ZF。这是毫无价值的。而且速度也会变慢。

免责声明:我很高兴成为 ZF 用户:)

Switch to ZF if you take advantage of the new features it offers. Connection to services, OpenID support, REST server, SOAP server...

But if you need only basic CMS-like features (CRUD + authentication) than it's ZF too much :)

I think you should learn it, but don't try to rewrite your working CI CMS into ZF. It's worthless. And it will also be slower.

Disclamer: I'm happy ZF user :)

凶凌 2024-08-15 10:48:02

我认为你应该尝试 http://www.yiiframework.com/ 位于 Zend 和 CodeIgniter 之间!

*这是根据我的经验得出的主观意见。

I think you should try http://www.yiiframework.com/ is somewhere in the middle between Zend and CodeIgniter !

*This is a subjective opinion from my experience .

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