Simon Allaway wrote:
> 
> Imagine being able to offer a solution to a newbie developer and say
> "Forget ASP or PHP, learn a language that will open all kinds of doors
> for you. Don't tie yourself to Microsoft , or anything for that matter."

Excerpted from Jon *'s getting started w/ Turbine document located at
http://java.apache.org/turbine/getting_started.html :

"At this point, you are probably wondering if you have to write all your
HTML within ECS in order to use Turbine. This is probably one of the
fundamental misunderstandings of the intention of ECS within Turbine for
new users. The main reason for using ECS is that it allows you to write
HTML within your code without having to actually embed HTML directly. In
most cases, this should only be used when you would have otherwise
embedded HTML. For a complex application, you should employ a MVC (Model
View Controller) approach that allows you to seperate the content from
the presentation. This is done through integration with a tool such as
FreeMarker or Webmacro or Cocoon and example integration (for FreeMarker
and Webmacro) is now included with the Turbine distribution. Cocoon
integration is currently being done within the JetSpeed Project and will
hopefully be rolled back into Turbine in the future. In a dynamic web
application, there are often cases where it becomes necessary to
dynamicially generate HTML code.  In this case, you should use ECS to
generate that HTML because it is not part of the actual presentation of
the page, it is part of the content. In other words, if you are going to
manually type HTML code into your Java code, you should replace that
approach with the use of ECS."

Regards,
~Eric


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to