I am completely new to Zend framework. I have database created in MySQL. Now I want to use it together with Zend. Completely confused how to start with. I have gone through many tutorials like http://framework.zend.com/manual/en/ but was confusing. Can anybody help me on how I can accomplish, with this step-by-step instructions or any good tutorial?
Share
2 Methods to do it:
Command Line:
or in your application.ini file :
any questions? Mention in comment 🙂
EDIT:
Since you are starting with Zend, firstly, welcome to Zend Framework 🙂
Here is the tutorial you can refer for initial development:
http://net.tutsplus.com/tutorials/php/zend-framework-from-scratch/
If you directly want to know only about integrating database (i.e. Models – business logic) refer to this link:
http://net.tutsplus.com/tutorials/php/zend-framework-from-scratch-models-and-integrating-doctrine-orm/
PS: Few things in the above links might be deprecated and MAY not work example, the second link talks about ORM as Doctrine whereas we use Doctrine2 now-a-days.
All clear?