cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: flow javascript class variable
Date Wed, 17 Dec 2003 19:11:58 GMT
Stefan Dehnert wrote:

> 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 
>
>
> Thanks, I thought the same but from the Cocoon samples (Petstore) and 
> Documenation, I had the feeling JavaScript is the recommended way. 

No, no! Javascript is glue only. Business objects in Java.

> Is there a example or anything  else to start. 

Check out linotype, there's some java in there used from flow, I believe.

Regards, Upayavira

>
> Regards, stefan dehnert


>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message