Zend Framework - Ruby on Rails 有一个截屏视频,展示了如何在 15 分钟内编写博客代码。 ZF 有类似的截屏视频吗?
Ruby on Rails 有一个截屏演示文稿,他们用它来宣传他们的框架,展示了如何使用 RoR 在 15 分钟内编写一个基本的博客系统。 Zend PHP 框架是否有类似的截屏视频/演示文稿/任何演示类似内容的内容?它不一定是专门的博客,但我绝对想找到一个展示一些快速应用程序开发的演示文稿使用采埃孚。
我来自哪里:我断断续续地编程已经很多年了。那天我开始使用 QBASIC waaaaay 制作小程序(文本冒险游戏、屏幕保护程序、简单的小东西)。然后我转向 C++,但从未真正用它做过任何令人印象深刻的事情。从那时起(现在大概 5 年左右)我开始使用 C# 进行桌面开发,使用 PHP 进行 Web 开发。我到处制作了一些非常酷的工具,但从任何角度来看我肯定不是一个专业的程序员,因为它一直只是我的一个爱好。
现在我有两个主要的 Web 应用程序,我将很快开始开发它们。 (比如明天,或者理想情况下今晚......:))两者都将是数据库驱动的应用程序,需要用户注册,能够操纵特定于其帐户的数据(他们的帖子、列表、用户帐户详细信息等)等等。
目前我正在评估不同的框架来帮助我更快地开发这些网络应用程序。我一直在关注并听说过有关 Ruby on Rails 的好消息。 Hulu 和 YellowPages.com 使用它是一种明显的认可 - 当然,我听说过它可能存在的可扩展性问题;但这不应该成为我正在从事的工作的问题。我预计这两个项目每天都不会有数百万用户。
我也在认真考虑 Zend Framework 来满足我的需求,因为我已经有一些 PHP 经验。理想情况下,我希望找到一个 ZF 截屏视频,显示正在快速编写的应用程序,以便我在正在探索的两个选项之间进行大致相同的比较,并且可以第一手了解这两个选项是如何完成工作的。
也就是说,我并不反对考虑 RoR 或 ZF 以外的框架。我对这个主题所做的唯一研究是在过去的几天里,所以我非常确定还有其他我什至没有看过或听说过的优秀选择。当然,如果有一个快速的应用程序开发演示,我可以观看其中的任何其他建议,那就太棒了。
那么 - 建议? 展示其他框架中快速应用程序开发的优秀截屏视频的链接?我还应该考虑其他 PHP 框架吗? (易于部署的服务器是理想的选择,因此我不必购买我可以完全控制的专用服务器。我希望在合理的情况下降低我的托管成本)
提前致谢!
-苏塔
Ruby on Rails has a screencast presentation they use to promote their framework that shows how to code a basic weblog system in 15 minutes with RoR. Does the Zend PHP Framework have a similar screencast/presentation/whatever demonstrating something similar? It doesn't have to be a blog specifically, but I would definitely like to find a presentation that shows some rapid application development using ZF.
Where I'm coming from: I have been programming on and off for years now. I started out with QBASIC waaaaay back in the day making little programs (text adventure games, screensavers, simple little things). I then moved to C++ but never really did anything too impressive with it. Since then (probably 5 years or so now) I have started to use C# for my desktop development and PHP for my web development. I've made some pretty cool tools here and there, but am certainly not a professional programmer by any stretch of the term as it has always simply been a hobby of mine.
Right now I have two major web applications that I will start work on shortly. (Like tomorrow, or later tonight ideally.. :) ) Both will be database-driven apps that will require user registration, the ability to manipulate data that is specific to their account (their posts, listings, user account details, etc), amongst other things.
Currently I am evaluating different frameworks to help me develop these web apps more quickly. I've been looking at, and have heard good things about Ruby on Rails. Hulu and YellowPages.com using it is an obvious endorsement - Of course, I have heard about the scalability issues that it potentially has; but that shouldn't be an issue with what I am working on. I don't expect millions of users per day for either project.
I am also seriously looking at the Zend Framework for my needs because I already have some experience with PHP. Ideally I would like to find a ZF screencast that shows an app being written quickly so that I have a roughly equal comparison between the two options I am exploring and can see first-hand how things get done in both.
That said - I am not opposed to considering frameworks other than RoR or ZF. The only research I've done on the subject has been over the past couple of days so I am quite certain that there are other excellent options out there that I've not even looked at - or heard of. Of course, it'd be awesome if there is a rapid app dev presentation that I can watch for whatever else is suggested.
So - Suggestions? Links to good screencasts that show rapid application development in other frameworks? Are there other PHP frameworks that I should be considering? (Ones that are easy to deploy would be ideal, so I don't have to purchase a dedicated server that I have full control over. I'd like to keep my hosting costs down assuming that it's reasonable)
Thanks in advance!
-Sootah
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以查看 ZendCasts.com
但是,在 ZF 和 RoR 之间做出选择时,您应该意识到它们非常相似。彼此不同。 RoR 是一个完整的堆栈,具有基于 AR 构建的集成 ORM 和相当严格的结构。它很强大,里面有很多魔力,我想说它的 RAD 功能高于 ZF,因为 rake 比 Zend_Tool 更强大。
另一方面,ZF 首先是一个松散耦合的组件库,具有以下用途:将架构实现最大的灵活性。您可以一起使用它的组件,但不是必须这样做。虽然它确实具有约定优于配置的特点,但 ZF 并不会过多地引导您。它期望您知道如何走路。此外,ZF 没有成熟的 ORM,也没有 AR,但您可以非常多地集成 Doctrine 或 Propel 或您喜欢使用的任何库。
你经常会听到刚接触 ZF 的人抱怨很难进入它,仅仅是因为他们希望 ZF 像 RoR 或 Symfony 或 Cake 一样工作,例如 全栈框架
编辑:
Cake 的目标是成为 RoR 到 PHP 的端口。它是围绕 ActiveRecord 构建的。就像 CI < v2 后,它向后兼容 PHP4,这意味着它没有充分利用 PHP5 中的 OOP 功能。我想说,两者都比 ZF 更容易进入。
You can checkout ZendCasts.com
However, when deciding between ZF and RoR, you should be aware that they are very different from each other. RoR is a full stack with integrated ORM built on AR and a rather rigid structure. It's powerful and there is lots of magic inside and I'd say it's RAD capabilities are above ZF due to rake being more powerful than Zend_Tool
ZF, on the other hand, is first and foremost a loosely coupled component library with a use-at-will architecture for maximum flexibility. You can use it's components together, but you don't have to. While it does feature convention over configuration, ZF doesn't take you by the hand too much. It expects you know how to walk. Also ZF has no full fledged ORM and no AR, but you can very much integrate Doctrine or Propel or whatever library you like to use.
You often hear folks new to ZF complain about it is hard to get into it, simply because they expect ZF to work like RoR or Symfony or Cake, e.g. a full stack framework
EDIT:
Cake aims to be a port of RoR to PHP. It is built around ActiveRecord. Like CI < v2, it is backwards compatible with PHP4, which means it doesn't fully utilize the OOP capabilities you get in PHP5. I'd say both are easier to get in than ZF though.
这是SO上的一个常见问题。
我在 我对此的回复中发布了一些有价值的链接 如果您在
Google 上搜索此类教程,请查找 Zend Application 或 Zend Tool,而不是 ZF。
其他框架与 Zend Framework 的区别在于 Zend Framework 是一个通用框架,而不是应用程序框架(不仅适用于 MVC、HTTP)。例如,Google 使用 ZF 来提供对其服务的访问。
您可以轻松地将 Symfony 或 CodeIgnitier 与 Zend Framework 一起使用。
BTW,准确地说,你问的教程不是博客,而只是一个简单的 CRUD 控制器。您可以使用 Wordpress 在 15 分钟内创建博客(然后自定义它),但不能使用 PHP 框架。
This is a common question on SO.
I posted some valuable links in my response to this post
If you Google for such tutorials, look for Zend Application or Zend Tool, not ZF.
The difference between the other frameworks and Zend Framework is that Zend Framework is rather a general purpose framework, not application framework (not only for MVC, HTTP). E.g. Google uses ZF to provide access to their services.
You may easily use Symfony or CodeIgnitier with Zend Framework together.
BTW, To be precise, tutorials you ask are not blogs, but just a simple CRUD controllers. You may use Wordpress to create blog in 15 minutes, (then customize it) but not a PHP Framework.