Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I start with Zend Framework? [closed]

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.

  • Is Zend on your local machine or on the remote server?
  • Is the "MVC" model different files? A file for the GUI, A File for the Functions used to get data and the database?
  • Is there a tutorial that REALLY goes into detail about how you can accomplish things with Zend Framework, and how to get started?

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 :)

like image 727
Chris Bier Avatar asked Jun 04 '09 17:06

Chris Bier


People also ask

How do I start Zend Server?

To launch Zend Server: Open your browser at: Windows: http://localhost:10081/ZendServer or https://localhost:10082/ZendServer. Linux/Mac: http://localhost:10081/ZendServer or https://localhost:10082/ZendServer. IBM i: http://IBM_i_hostname:10088/ZendServer.

How do I install Zend Framework?

To install the Zend Framework, we must first install the Composer and the latest version of PHP as shown in the following steps. Install Composer − Zend uses Composer for managing its dependencies, so make sure you have the Composer installed on your machine.

How do you use Zend?

Zend framework contains collection of PHP packages which can be used to develop web applications and services. Zend was started by Andi Gutmans and Zeev Suraski. This tutorial will give you a quick introduction to Zend Framework and make you comfortable with its various components.


2 Answers

We've all been there before!

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 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.

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.

like image 84
Andy Baird Avatar answered Oct 16 '22 20:10

Andy Baird


The quickstart tutorial is a great way to begin, maybe read it again? There's also this one:

http://www.cyberciti.biz/tips/zend-framework-php-tutorial.html

From the above link:

This tutorial is intended to give a very basic introduction to using the Zend Framework to write a very basic database driven application.

And here's a list of ZF tutorials for beginners:

Introduction and database Tutorial: http://akrabat.com/zend-framework-tutorial/

Source Files here

Authentication Tutorial: http://akrabat.com/zend-auth-tutorial/

Source Files here

Forms Tutorial: http://akrabat.com/zend-framework/simple-zend_form-example/

Source Files here

File Upload Tutorial: http://akrabat.com/zend-framework/simple-zend_form-file-upload-example-revisited/

Source Files here

Layout Tutorial: http://akrabat.com/zend-framework/simple-zend_layout-example/

Source Files here

I would make sure they're not for much earlier versions of the ZF before diving in.

like image 10
karim79 Avatar answered Oct 16 '22 18:10

karim79