問題描述
我一直在記事本中編寫我的 PHP 應用程序.我想更上一層樓,讓它變得專業,據我所知,使用 Zend 框架是從哪里開始.我一直在閱讀文檔和快速入門以及一些教程,但我仍然完全迷失了.
I have been coding my PHP applications in Notepad. I want to take it a step up and do it professional, and as far as I can tell using the Zend Framework is where to start. I have been reading the documentation and quick start and a few tutorials but I am still completely lost.
- Zend 是在您的本地機器上還是在遠程服務器上?
- MVC"模型是不同的文件嗎?GUI 文件,用于獲取數據和數據庫的函數文件?
- 是否有真正詳細介紹如何使用 Zend Framework 完成任務以及如何開始的教程?
我問這個的原因是因為我一直在閱讀的教程仍然讓我感到困惑,我非常渴望開始專業地做這件事.我想使用這套新工具!請幫忙:)
The reason I am asking this is because the tutorials I have been reading still leave me confused and I am very anxious to start doing this professionally. I would like to utilize this new set of tools! Please help :)
推薦答案
我們以前都遇到過!
Zend Framework 是一個非常強大的 PHP MVC 框架.網絡上到處都是教程.快速入門教程很好地獲得了應用程序的一般框架,但我找到了 Akrabat 的 Zend 框架教程 成為現實世界中更好的例子.
Zend Framework is a pretty powerful MVC framework for PHP. There are scads of tutorials all over the net. The quickstart tutorial is good to get a general skeleton of an application, but I found Akrabat's Zend Framework tutorial to be a better real world example.
當您需要開發健壯的應用程序并需要一整套庫來配合時,ZF 非常棒 - ZF 的庫非常龐大,而且所有組件都可以很好地相互配合(盡管您可以單獨撕掉它們并將它們添加到任何項目中).ZF 的缺點是,因為它非常靈活,所以設置起來可能相當復雜.
ZF is fantastic when you're at the point where you need to develop robust applications and need a whole suite of libraries to accompany this - ZF's library is huge and all the components play quite nicely with each other (although, you can rip them out individually and add them to any project). The downside to ZF is that because it is so flexible, there can be quite a bit of complexity in setting it up.
老實說,如果您開始接觸 MVC 應用程序,您可能會嘗試一些更直接的方法.我發現 CodeIgniter 的學習曲線非常短,同時保持了 MVC 設計的基礎知識.CakePHP 也非常謹慎地引導您完成這些步驟.
To be honest, if starting to get your feet wet with MVC applications, you might try something a little bit more straight forward. I find CodeIgniter to have a very short learning curve while maintaining the fundamentals of MVC design. CakePHP also walks you through the steps quite deliberately.
這篇關于我從哪里開始使用 Zend 框架?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!