Zend Framework - Andries Seutens

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

    4 Favorites

    Zend Framework - Andries Seutens - Presentation Transcript

    1. Zend Framework Introductie Andries Seutens PHP Developer, Sanmax Consultancy Een flexibele architectuur, voor het ontwikkelen van moderne web applicaties en web services
    2. Topics overzicht
      • Wat is en waarom een framework?
      • Waarom het Zend Framework
      • MVC overzicht
    3. Wat is framework en waarom een framework?
      • Wat is een framework?
        • Non-visueel raamwerk / Skelet
        • Set van regels
      • Waarom?
        • Verhoogt de productiviteit
        • Hergebruik van veelgebruikte functionaliteit
        • Uniforme aanpak
        • Maintainable software
        • Werken in teamverband
        • Cool
      Jun 2, 2009 Wat is en waarom een framework? | Page
    4. Waarom Zend Framework?
      • Ingebouwde best practices
      • Zeer eenvoudig
      • Hoge kwaliteit
      • Zoekmachine-vriendelijke urls
      • Vrije licentie – duidelijk en veilig
      • Gebaseerd op Model View Controller
      • PHP 5’s features volledig benutten
      Jun 2, 2009 Waarom Zend Framework? | Page
    5. Beschikbare resources
      • Online documentatie
      • Community
        • Forums
        • mailing lists
        • IRC (#zftalk)
      • Boeken
        • php|architect
        • Manning
      Jun 2, 2009 Beschikbare resources | Page
    6. De mogelijkheden van Zend Framework? Jun 2, 2009 De mogelijkheden van Zend Framework? | Page
    7. Model View Controller (MVC)
      • M odel Data, web services, feeds, etc.
      • V iew Output voor de gebruiker
      • C ontroller Reageren op en verwerken van user request
      Jun 2, 2009 Model View Controller (MVC) | Page
    8. Model View Controller (MVC)
      • Voordelen
        • Scheiding van content en lay-out
        • Business logica gescheiden van applicatie logica
      • MVC-Workflow:
      Jun 2, 2009 Model View Controller (MVC) | Page
    9. Standaard mappenstructuur Jun 2, 2009 Standaard mappenstructuur | Page
      • Veilig
      • Gestructureerd
      • Model View Controller (MVC)
      • Uniform
      • Varianten mogelijk
      Apache web root
    10. Bootstrapping
      • Alles geredirect via één file (bootstrap)
      • Start de applicatie
      Jun 2, 2009 Bootstrapping | Page
    11. URL Rewriting
      • Mooie url’s
      • 1 ste element: controller
      • 2 de element: action
      • Gevolgd door key/value paren
      • http://www.domein.be/products/show/id/1
      • Controller: Products
      • Action: show
      • Parameter: id=1
      Jun 2, 2009 URL Rewriting | Page
    12. URL Rewriting - Routing
      • match() en assemble() URLs
      • Eigen route creëren
      Jun 2, 2009 URL Rewriting - Routing | Page
    13. M odel
      • Verwerkt data
        • Ophalen
        • Invoegen
        • Verwijderen
      • Bevat business rules
        • Korting als n = x
        • Enkel indien n = x
        • Etc …
      Jun 2, 2009 Model | Page
    14. Action controller
      • Bevat de applicatie logica
        • Reageren op een actie van een gebruiker
        • Opvangen van een POST/ GET
        • Etc …
      • Actions grouped into controller class
      • Gestandaardiseerde naam conventies
        • Class name ends in “Controller”
        • Action name ends in “Action”
      Jun 2, 2009 Action controller | Page
    15. V iew – Zend_View
      • Output zichtbaar voor de gebruiker
      • Script bestandsnaam: ProductsController::showAction() => products/show.phtml FooBarController::fooBarAction() => foo-bar/foo-bar.phtml
      • $view property in controller: $this->view->products = $productModel->getAllProducts();
      • In view scripts: <?php echo $this->title; ?>
      Jun 2, 2009 View – Zend_View | Page
    16. V iew – Zend_Layout
      • Two step view
      • Opgedeeld in verschillende &quot;delen”
      • Onbeperkt aantal “subviews”
      • Andere layouts selecteren
      • Layout uitschakelen
      Jun 2, 2009 View – Zend_Layout | Page
    17. Action controller in actie! Jun 2, 2009 Action controller in actie! | Page
    18. Vragen? Website & Documentatie: http://framework.zend.com Mailinglist: [email_address]
    19. Bedankt! http://framework.zend.com Andries Seutens PHP Developer, Sanmax Consultancy http://sanmax.be

    + guest18de1eguest18de1e, 2 years ago

    custom

    1230 views, 4 favs, 0 embeds more stats

    Zend Framework - Basic introduction

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1230
      • 1230 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    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