Re: Status of 'Apples'?

2004-01-15 Thread Marc Portier


Stephan Coboos wrote:
Hello,

I had read about the apples block and I would like to use it in some 
parts of my application. There is just one big question: I'd read that 
apples is in alpha status, so will it be (really) supported in future 
and when is the release planned? In 2.2?

Thank you.

Safe bet here and now is to choose FlowScript.

There is no release plan for apples whatsoever.  Since the code just 
works and no more commits have been hitting it since some months (not 
counting  syncing with other changes or bugfixes) you can safely just 
use it.  However I don't have the feeling there have been enough 
group-discussions and user feedback to talk about a stable API, here. 
(hence the alpha label)
I know it's a chicken and egg problem, but it will require actual users 
and deeper discussions to actually get it somewhere.

So Where?
IMHO Apples' future (if any) should be closely related to the pursuit of 
some best practices pattern in the separation between Java and 
JavaScript code when using FlowScript.  This opposed to it being 
perceived sometimes as an alternative or even competition to FlowScript...

There have been some recent hints on people needing better guidance in 
this role-disctinction between both Java and FlowScript. I think a lot 
of practical reasons for using the _current_ Apples will vanish when 
that is there.

I'm hoping that time is getting there: as more people are using 
FlowScript I think were getting closer to the point where there is 
enough critical mass of sample-code in which the patterns can be 
discovered.

If those patterns can be meaningfully solidified in an API (which I 
really believe), then that API should be 'Apples' IMHO.  Still having 
the possibility to call an 'Apple' (i.e. single-step controller-logic) 
directly from the sitemap (without flowscript) would then be considered 
an optimizing feature (and not the todays' perceived fundamtal clash of 
visions, which it IMHO never was).

In the end, it would in fact finally make up for the seemingless 
usage-limit-transitions that were originally envisioned here:
http://wiki.cocoondev.org/Wiki.jsp?page=GeneralizedFlow
(possibly avoiding the recurring flow vs. actions theme as well?)

And although everyone is invited to speak up, only 'time' will really tell.

-marc=
--
Marc Portierhttp://outerthought.org/
Outerthought - Open Source, Java  XML Competence Support Center
Read my weblog athttp://blogs.cocoondev.org/mpo/
[EMAIL PROTECTED]  [EMAIL PROTECTED]


Re: Status of 'Apples'?

2004-01-15 Thread Stephan Coboos
Hello Marc,

thank you for this long statement about apples. In my opinion, apples is 
a good counterpart to actions in struts because there are many things in 
common between this two conecpts. So struts users can easier change to 
Cocoon. Some people which are new to cocoon don't like the concept of 
using JavaScript as flow layer and would like to code this layer in 
real java. So they can do it! After they had stepped into cocoon and 
tested the flowscript side maybe some of this peoples will changing to 
flowscript, who knows?

Regards
Stephan