I think a little code generation can go a long way. It really does get kind of 
repetitive having to setup a base application scaffold for each new project 
unless you sit down and create a standard scaffold which you reuse everywhere.

I put a YAML proposal in the wiki a while back. There's some code attached but 
its non-functional until I refactor some of the offsetting in the Parser class 
so the lexer can have its fun.

I think Yaml is an interesting format but it depends on what it's needed for. 
Supporting a subset of the format is a lot faster than supporting the whole 
spec (requires far less parsing). The current proposal is for the entire spec 
(excluding Unicode support for the moment), with an option for an alternative 
subset for those files which don't need the whole sledgehammer. I believe 
people only ever need a subset anyway unless doing really complex stuff. It 
takes just a single class for a subset, but a proper parser to be completely 
certain of the entire specification details.

Regards,
Paddy
 
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com


----- Original Message ----
From: Andi Gutmans <[EMAIL PROTECTED]>
To: unknownman <[EMAIL PROTECTED]>; [email protected]
Sent: Wednesday, June 20, 2007 10:34:33 PM
Subject: RE: [fw-general] Zend Framework Cli Tool

Btw, if you're already on the topic of XML. One of the things we were
thinking of doing post 1.0 is also adding YAML support to ZF and then
integrating the various components like Zend_Config & Zend_Translate
with it to provide the choice of the various formats to ZF users.
Not sure what format would be most suitable for such a tool but it's
something for you to also consider longer term. Or maybe you just
support Zend_Config and it'll work with whatever back-end there is.

Andi
 

> -----Original Message-----
> From: unknownman [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 20, 2007 2:21 PM
> To: [email protected]
> Subject: Re: [fw-general] Zend Framework Cli Tool
> 
> 
> yeah , i believe that ZF isnt symphony but in this shell code 
> i want to use an xml file that generate application 
> schematic, note that these scripts isnt for generating new 
> project, i want to add some feature like scaffold in rails to it.
> 
> Andries Seutens wrote:
> > 
> > 
> > unknownman schreef:
> >> nice work but i think that like this community must be a community 
> >> for discussion about needed tools
> >>
> >>
> >> Nico Edtinger-2 wrote:
> >>   
> >>> Hi unknown man!
> >>>
> >>> [20.06.2007 12:35] unknownman wrote:
> >>>     
> >>>> one of the great tool for rails is the its great script 
> directory 
> >>>> that you can make big project in a minute
> >>>>       
> >>> There's something like this in lab called Primitus (FKA ZFApp):  
> >>> 
> http://framework.zend.com/fisheye/browse/Zend_Framework_Laboratory/
> >>> Primitus
> >>>
> >>> But it seems like it needs an update.
> >>>
> >>> nico
> >>>     
> > 
> > I'm not a fan of these auto code generation tools, remeber the Zend 
> > Framework isn't Symfony ...
> > 
> > I have recently published a small article to get you 
> started on the ZF. 
> > There's a modular and conventional "app" available at:
> > 
> > 
> http://andries.systray.be/blog/2007/06/18/zend-framework-just-get-me-s
> > tarted-okay/
> > 
> > Best,
> > 
> > --
> > Andries Seutens
> > http://andries.systray.be
> > 
> > 
> > Gecontroleerd op virussen door de JOJO Secure Gateway.
> > 
> > 
> 
> --
> View this message in context: 
> http://www.nabble.com/Zend-Framework-Cli-Tool-tf3951538s16154.
html#a11222462
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 







       
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

Reply via email to