Zend Framwork configurations


Published on

Published in: Education, Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • -uadmin -p `cat /etc/psa/.psa.shadow`
  • Zend Framwork configurations

    1. 1. By : Rangana Dissanayake Web Development with
    2. 2. Introduction • Zend Framework is an open source framework for developing web applications and services with PHP 5. Zend Framework is implemented using 100% object-oriented code. The component structure of Zend Framework is somewhat unique; each component is designed with few dependencies on other components. This loosely coupled architecture allows developers to use components individually. We often call this a "use-at-will" design
    3. 3. Requirements for create a Zend project • Aparche HTTP web server(2.2.3 or later) + PHP (5.2 or later ) + DB server (MySQL/Postgre SQL) • the best choice is install WAMP/XAMPP on your computer its include all the above requirements • Zend Framwork library • Zend supported IDE (NetBeans IDE 7.1.2 or later, Zend studio, Eclips with PDT plug)
    4. 4. Installation • Download the latest stable release(you may need to unzip it). – Link : http://www.zend.com/en/community/downloads
    5. 5. • Setup the environment variable for Zend frame work and PHP
    6. 6. • Setup the include path for in php.ini for zend framework
    7. 7. • Testing the Zend (just type zf and enter on you terminal)
    8. 8. Create your first project Zend command • zf create project demo It will generate the zend project folder structure as follows Make sure to create your project in the web root directory Ex : • C:wampwww
    9. 9. • Basic zend commands
    10. 10. Basic commands FYI
    11. 11. • How to test it – Make sure your server is up and running – Go to the following URL Yes this is the default index page of the Zend framework , you are ready for a Zend project
    12. 12. • Zend project can be created without any IDE ,but if you can setup your project with an IDE it will be more useful.
    13. 13. • Set up the development environment with Netbeans IDE • Step 01, Configuring for PHP
    14. 14. • Configuration for Zend framework
    15. 15. Create your first Zend project with Netbeans
    16. 16. Set your server root as the source folder (www/httpdoc)
    17. 17. Set up Your Project URL
    18. 18. Select the PHP framework as Zend then finish
    19. 19. Once you created a Zend project you can see the following folder structure as default
    20. 20. Once you run the project can see the main folder structure on your default browser
    21. 21. • Debugging a PHP project with Netbeans xdebuger
    22. 22. • How to debug a PHP project with Netbeans • Step 01 - make sure to set following parameters
    23. 23. • Do following changes for your php.ini file (01) Remove comments on output_buffering=off line (01) Add these lines on [xdebug] php.ini Make sure to match the correct xdebug version with your php version (http://xdebug.org/download/ for downloard xdebug)
    24. 24. A web site development process • Design • Development • Hosting ( need a domain for redirect to the host) – Shared Hosting (cpanel) – Dedicated hosting – VPS hosting – Cloud hosting