Sylvain Wallez wrote:
Glen Ezkovich wrote:

Cocooners,

Working on some introductory documentation I ran into a slight dilemma. I want to mention how Cocoon is able to access either the model or a database in response to a request and produce a response based on the result. Because of its simplicity, I will be concentrating on JSFlow in this particular document. All my Actions have been converted to flowscripts. I'm unsure of the communities perspective. So, are Actions still recommended as a way to access and process data?


No. The current use of actions as I see it is for small general-purpose things, but not for application-level processing, which should be orchestrated by the flow engine (be it flowscript of javaflow)

I'd like to add that flowscript/javaflow is not a golden hammer; there are things which should be implemented as actions, and they are recommended for this purpose.

For general application logic, though, actions are not recommended.

Vadim

Reply via email to