Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2008, Zend Technologies Inc. Zend_Tool: Rapid Application Development In Zend Framework Ralph Schindler Software Engineer, Zend Technologies.

Similar presentations


Presentation on theme: "Copyright © 2008, Zend Technologies Inc. Zend_Tool: Rapid Application Development In Zend Framework Ralph Schindler Software Engineer, Zend Technologies."— Presentation transcript:

1 Copyright © 2008, Zend Technologies Inc. Zend_Tool: Rapid Application Development In Zend Framework Ralph Schindler Software Engineer, Zend Technologies

2 Overview This Presentation? Now? The Proposals Demo of Code / Prototype Q & A Time Whats Next?

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 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+-+Ralph+Schindler http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool_ Rpc+-+Ralph+Schindler Zend_Tool_Project  http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool_ Project+-+Ralph+Schindler http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool_ Project+-+Ralph+Schindler Zend_Tool_CodeGenerator  http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool_ CodeGenerator+-+Ralph+Schindler http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool_ CodeGenerator+-+Ralph+Schindler Zend_Reflection  http://framework.zend.com/wiki/display/ZFPROP/Zend_Refle ction+-+Ralph+Schindler http://framework.zend.com/wiki/display/ZFPROP/Zend_Refle ction+-+Ralph+Schindler

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 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 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 Demo of Code / Prototype Demo Time! A script of what I will be demo-ing is located here:

9 Demo – Make sure the Environment Is Setup

10 Demo – Lets do something useful now

11 Demo – Make sure a Vhost is Setup

12 Demo – So what did that do?

13 Demo – What did all that do?

14 Demo – What else can it do?

15 Demo – What else can it do (part 2)?

16 Demo – What else can it do (part 3)?

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 Advanced Usage: Hello World

19

20

21

22 Advanced Concepts: Domain Models Lets say we started with a Db Schema

23 Advanced Concepts: Domain Models

24 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 Advanced Concepts: Domain Models

26

27

28 Q & A Time Ask your question Receive your answer Wash, rinse, repeat

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 Copyright © 2008, Zend Technologies Inc. Thanks! Ralph Schindler ralph.schindler@zend.com http://framework.zend.com/


Download ppt "Copyright © 2008, Zend Technologies Inc. Zend_Tool: Rapid Application Development In Zend Framework Ralph Schindler Software Engineer, Zend Technologies."

Similar presentations


Ads by Google