Re: Suggestion for a Cocoon newbie

2003-06-25 Thread Joerg Heinicke
Hello Alberto,

I hope my comments can be at least a bit of help:

XSP is a similar approach to JSP. It's more about scripting and not real 
"SoC" or let's better say, it can be simply misused and so break the "SoC".

The better approach seems to be an XForms framework. Cocoon has XMLForms 
with more or less much documentation (e.g. 
http://cocoon.apache.org/2.1/howto/xmlform-wizard/howto-xmlform-wizard.html, 
 http://wiki.cocoondev.org/Search.jsp?query=xmlform&Search=Find). But 
at the moment nobody works at this stuff. It seems to be more or less 
stable (other people can help here more), but it could take some time 
until patches are applied and bugs are fixed. The reason is the 
separation of XMLForms out of Cocoon. The new homepage is 
http://www.xmlform.org.

Another one is Woody. It's new and I don't know much about the status. 
You can also find documentation on the Cocoon Wiki about it 
(http://wiki.cocoondev.org/Search.jsp?query=woody&Search=Find).

The problem is there is no "right way to use Cocoon". There are many 
different ways. The best is to build on other people's experiences. So 
ask more specific questions and you will surely get answers.

Joerg

Alberto Zanon wrote:
Hello!

I'm a Java developer and I'm looking for a solid system to construct my
sites.
I have already realized an e-commerce site, but without rules.
My jsp pages contain both logic and presentation layer.
Only the data layer is encapsulated into java classes called from jsp.
Now I have to construct an intranet at my company where employees
will register their activity during the day.
The site involves form validation, business logic, and the use of a
database.
Before becoming aware of Cocoon, I thought I would build the site this way:
- a layer of java classes that interface with the database;
- a layer of java classes for business logic;
- a layer of jsp for presentation;
Now I have downloaded the latest version of Cocoon and read many pages of
documentation.
But I'm very confused! I read about XSP but I read also about XMLForm ...
and where I put
my business logic? For example, I downloaded a tutorial from IBM about
Cocoon and databases
but it shows only the XSP pages to dialog with the database and format the
data ... no business
logic in it.
I'm interested about Cocoon because one goal of it is the "MVC" or "SoC"
approach
when a site is developed.
Please, can anyone suggest me the right way to use Cocoon?

Thanks

--
Alberto Zanon


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


Suggestion for a Cocoon newbie

2003-06-24 Thread Alberto Zanon
Hello!

I'm a Java developer and I'm looking for a solid system to construct my
sites.
I have already realized an e-commerce site, but without rules.
My jsp pages contain both logic and presentation layer.
Only the data layer is encapsulated into java classes called from jsp.
Now I have to construct an intranet at my company where employees
will register their activity during the day.
The site involves form validation, business logic, and the use of a
database.
Before becoming aware of Cocoon, I thought I would build the site this way:
- a layer of java classes that interface with the database;
- a layer of java classes for business logic;
- a layer of jsp for presentation;

Now I have downloaded the latest version of Cocoon and read many pages of
documentation.
But I'm very confused! I read about XSP but I read also about XMLForm ...
and where I put
my business logic? For example, I downloaded a tutorial from IBM about
Cocoon and databases
but it shows only the XSP pages to dialog with the database and format the
data ... no business
logic in it.
I'm interested about Cocoon because one goal of it is the "MVC" or "SoC"
approach
when a site is developed.

Please, can anyone suggest me the right way to use Cocoon?

Thanks

--
Alberto Zanon

Sistemi & Servizi Informatica Srl
tel +39 0423 722324
fax +39 0423 498302
web http://www.sistemi-servizi.it



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