MVC with Zend Framework

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    MVC with Zend Framework - Presentation Transcript

    1. MVC with Mario Volke
    2. What is ? • Popular PHP Framework • Component Library • Application Framework • Open-source (New BSD License) • High unit-test coverage • Main goals • Flexibility • Extensibility • Simplicity • Productivity
    3. Patterns related to MVC • Zend_M...? • Models can be very different: DB, WebService, Feeds,... • But: • Zend_Db (Adapter pattern) • Zend_Service • Zend_Feed • etc. • Zend_Crontroller • Front Controller pattern • Zend_Controller_Action •action methods correspond to the various actions you wish the controller to handle • Zend_View • template system agnostic • Zend_Layout implements Two Step View pattern
    4. Structure
    5. Behaviour
    6. Sample Code index.php require_once 'Zend/Application.php'; // Create application, bootstrap, and run $application = new Zend_Application(); $application->bootstrap()->run(); HelloController.php class HelloController extends Zend_Controller_Action { public function worldAction() { } } world.php <html> <head><title>Hello World!</title></head> <body> <h1>Hello World!</h1> </body> </html> -> http://example.com/hello/world
    7. Further info Introduction • http://framework.zend.com/docs/quickstart Reference • http://framework.zend.com/manual/en/ Webinars • http://www.zend.com/en/resources/webinars/framework </talk>

    + webholicswebholics, 3 weeks ago

    custom

    258 views, 1 favs, 1 embeds more stats

    A 5 min presentation about the implementation of th more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 258
      • 237 on SlideShare
      • 21 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds
    • 21 views on http://www.webholics.de

    more

    All embeds
    • 21 views on http://www.webholics.de

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories