Quick Upload

Loading...
Flash Player 9 (or above) is needed to view slideshows. We have detected that you do not have it on your computer.To install it, go here
Post to Twitter Post to Twitter
Share on Facebook
Myspace Hi5 Friendster Xanga LiveJournal Facebook Blogger Tagged Typepad Freewebs BlackPlanet gigya icons
« Prev Comments 0 - 0 of 0 Next »
    Add a comment If you have a SlideShare account, login to comment; otherwise comment as a guest.
    • Why are we doing a proposal for Zend_Tool if its still only in the incubator?
    • “Tooling” – essentially, the toolset or toolchain you use to aid during development time of your applications lifecycle.Endpoints – basically the UI for the framework, how do you interact, is it via the command line or shell, is it a web page, is it an IDE communicating over Xml-Rpc?Providers – Simple classes that “provide” tooling capablities, could be a simple a writing a file, it could be a class that iterates over file and changes a file extensions, it could be a provider that creates a database.Loaders – Subsystem responsible for finding the “Providers”Manifest & Metadata – a registry for attaching metadata, or bits of interesting information, to a Provider.Built In Providers – The ability to list all of the registered providers and system capabilities, the ability to see what version of ZF is installed
    • Kinda small, but ill walk you through whats going onTOP LEFT: I executed the actual command “zf create action –controllername –name bar”MIDDLE: You can see what was created (originally a FooController, but in this step, a bar action)MIDDLE/BOTTOM: I edited the view script bar.phtmlRIGHT: I browsed to my newly created action controller with my custom view code
    • angelamaiers
      rashmi favorited this 2 months ago
    SlideShare is now available on LinkedIn. Add it to your LinkedIn profile.

    Zend_Tool: Rapid Application Development with Zend Framework

    From ralphschindler, 2 months ago Add as contact

    405 views | 0 comments | 1 favorites | 20 downloads | 0 embeds (Stats)

    Categories

    Technology

    Groups/Events

    Embed in your blog options close
    Embed (wordpress.com) Exclude related slideshows Embed in your blog

    More Info

    This slideshow is Public
    Total Views: 405 on Slideshare: 405 from embeds: 0
    Flagged as inappropriate Flag as inappropriate

    Flag as inappropriate

    Select your reason for flagging this slideshow as inappropriate.

    If needed, use the feedback form to let us know more details.

    Slideshow Transcript

    1. Slide 1: Zend_Tool: Rapid Application Development In Zend Framework Ralph Schindler Software Engineer, Zend Technologies Copyright © 2008, Zend Technologies Inc.
    2. Slide 2: Overview • This Presentation? Now? • The Proposals • Demo of Code / Prototype • Q & A Time • Whats Next?
    3. Slide 3: Current State of Affairs • This is where you come in: • Need worthwhile community feedback to validate proposals, ideas and use cases • Which in turn, will push along the component in the proposal process • And, we have a prototype is ready, you can use it TODAY
    4. Slide 4: The Proposals • The Tooling / Command Line Tooling problem broken down into 3 logical part: • Zend_Tool_Rpc  http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool_Rpc+-+R • Zend_Tool_Project  http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool_Project+ • Zend_Tool_CodeGenerator  http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool_CodeGe • Zend_Reflection  http://framework.zend.com/wiki/display/ZFPROP/Zend_Reflection+-+
    5. Slide 5: The Proposals – Zend_Tool_Rpc • RPC Style “framework” for using and extending “tooling” capabilities • Further broken down into subparts: • Endpoints • Providers • Loaders • Manifest & Metadata • Built in / System providers
    6. Slide 6: The Proposals – Zend_Tool_Project • Zend_Tool_Project facilitates the ability to build and manage ZF based projects • Subparts: • Set of providers • Object Graph Management  Contexts  Graph and Nodes
    7. Slide 7: The Proposal - Zend_Tool_CodeGenerator • Responsible for parsing and generating “code” from logical blocks of “text” • First round of implementation: • PHP  Files, Classes, Properties, Methods, Parameters  Docblocks for each  Body code / maybe later support primitives and basic control structures • Apache  Conf files and .htaccess files  Directory and File blocks, settings, etc.
    8. Slide 8: Demo of Code / Prototype • Demo Time! • A script of what I will be demo-ing is located here:
    9. Slide 9: Demo – Make sure the Environment Is Setup
    10. Slide 10: Demo – Lets do something useful now
    11. Slide 11: Demo – Make sure a Vhost is Setup
    12. Slide 12: Demo – So what did that do?
    13. Slide 13: Demo – What did all that do?
    14. Slide 14: Demo – What else can it do?
    15. Slide 15: Demo – What else can it do (part 2)?
    16. Slide 16: Demo – What else can it do (part 3)?
    17. Slide 17: Advanced Usage: OOP interface to Generation • Zend_Tool_CodeGenerator allows you to generate OO Php code to script the production of classes • Zend_Reflection allows you to reflect more granular aspects of OO classes • Docblocks, doc attributes (var, description, params, returns) • Reflect Files • Retrieve content body • Zend_Tool_CodeGenerator allows you to use Zend_Reflection to build OO graphs of code to be able to modify and save back to disk
    18. Slide 18: Advanced Usage: Hello World
    19. Slide 19: Advanced Usage: Hello World
    20. Slide 20: Advanced Usage: Hello World
    21. Slide 21: Advanced Usage: Hello World
    22. Slide 22: Advanced Concepts: Domain Models • Lets say we started with a Db Schema
    23. Slide 23: Advanced Concepts: Domain Models
    24. Slide 24: Advanced Concepts: Domain Models • And we wrote a few scripts that utilized reflection and code generation, other tooling goodies and other elements of the ZF… • http://svn.ralphschindler.com/RS_DomainModel/ • Perhaps we could generate some Domain Models that utilized Db Tables, as well as some getters and setters for their properties
    25. Slide 25: Advanced Concepts: Domain Models
    26. Slide 26: Advanced Concepts: Domain Models
    27. Slide 27: Advanced Concepts: Domain Models
    28. Slide 28: Q & A Time • Ask your question • Receive your answer • Wash, rinse, repeat
    29. Slide 29: Whats next? • Send feedback to the proposals • http://tech.groups.yahoo.com/group/zf-tool/ • Use the prototype and ask questions to me: • ralph.schindler@zend.com • Or in #zftalk / #zftalk.dev • Or on the mailing list • My next steps: • CodeGeneration refining • Help system shortcuts • Custom Profiles/CodeGenerators for Zend_Tool_Project
    30. Slide 30: Thanks! Ralph Schindler ralph.schindler@zend.com http://framework.zend.com/ Copyright © 2008, Zend Technologies Inc.