On Wed, 17 Dec 2003, Upayavira wrote:

> [EMAIL PROTECTED] wrote:
> 
> >Upayavira
> >
> >talking about flowscrip, what method do you use to work with flowscript 
> >and i'm talking about testin, debuging, .. etc
> >
> >i think that its terrible to work without some tools just using an editor
> >thnx
> >  
> >
> For flowscript itself, I just use a text editor and a browser, and 
> print("xxxx") statements (that print to the servlet container console).
> 
> But my flowscripts are relatively simple, calling methods on Java classes.
> 
> Those Java classes I write within Eclipse. I also write unit tests 
> within Eclipse that call all of the methods that I use from Flow. That 


i have never try eclipse .. i use to run whole cocoon servlet in netBeans 
.. but in a 2.4 P4 laptop .. some time i need to wait more than a half 
minute to reach a break point

are things in eclipse better ?



> way, before I try to use the class from flow, I've seen the class work 
> when running and debugging my unit tests (at which point I've got access 
> to a full Java debugger). Also, running the test compiles the classes 
> into the WEB-INF/classes folder, so that when I restart my servlet 
> container, the classes are already there and waiting.
> 
> As to debugging flow, there is a flowscript debugger, but I don't really 
> use it. See this link for more info:
> 
> http://wiki.cocoondev.org/Wiki.jsp?page=DebugFlowScripts
> 
> Hope this helps.
> 
> Upayavira
> 
> >--stavros
> >
> >
> >On Wed, 17 Dec 2003, Upayavira wrote:
> >
> >  
> >
> >>Stefan Dehnert wrote:
> >>
> >>    
> >>
> >>>Hi,
> >>>I try to programme some Objecs in javascript using the MVC pattern, 
> >>>but have no idea how to implement and use class  variables
> >>>in Flow javascript ( i tried it in several ways but got only local 
> >>>variables)
> >>>thanks for help 
> >>>      
> >>>
> >>The recommended way is to create Java classes for your business models, 
> >>and access them from flow. I've been doing this lately, and adding unit 
> >>tests to test my Java classes before I use them from flow, and finding 
> >>it an absolutely delightful way to work.
> >>
> >>Regards, Upayavira
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>    
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >  
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to