Loading...

ecs-user@jakarta.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

RE: Is ecs used? Ludwig Magnusson Sat Nov 14 14:00:21 2009

I am familiar with velocity actually.

What I wanna do is create a standard for html-form components on our site.
Ex: An input field for text always has the same css class, a label and a
div-wrapper. Like this:

<div>
  <label for="email" class="required">Your email</label>
  <input type="text" name="email" class="our_class"/>
</div>

I recently worked in PHP where there was an approach similar to ECS, so to
use ECS seemed natural.

But you say templates are better these days?
I suppose velocity macors would be a bit simpler.
I'll try and see what suits me the best.

/Ludwig

-----Original Message-----
From: David Tonhofer [mailto:[EMAIL PROTECTED] 
Sent: den 14 november 2009 22:37
To: ECS Users List
Subject: Re: Is ecs used?

AFAIK, it's an old approach that has met its maker.

It used it back in 2004 or so but only briefly. These days I would look 
at template engines like Apache Velocity or similar.

See also: http://en.wikipedia.org/wiki/Template_engine_(web)

Ludwig Magnusson wrote:
> Nice to hear =)
>
> If it's possible I'd like to help out improving the code, making it a
maven
> project etc.
>
> But I'm going to check it out a little bit more first =)
>
> /Ludwig
>
> -----Original Message-----
> From: Mark Fraser [mailto:[EMAIL PROTECTED] 
> Sent: den 14 november 2009 21:47
> To: ECS Users List
> Subject: Re: Is ecs used?
>
> I am using it to generate the source for documents that I am inserting 
> in HTMLPanel in a Swing application using the Cobra renderer 
> (http://lobobrowser.org/cobra.jsp).
>
> I have had no problems.
>
> Maybe there are better commercial solutions but I didn't find anything 
> free that was as easy to use.  It's not magical but it beats the hell 
> out of hand coding HTML into strings.
>
> Mark
>
> Ludwig Magnusson wrote:
>   
>> Hello!
>>
>> I have been examining the ecs and it seems pretty useful for my project.
>>
>> However, the latest release is pretty old and there is no activity on the
>> mailing list.
>>
>>  
>>
>> The code works for me but sometimes seems a bit awkward and not always at
>> its best (perhaps for some reason I don't see).
>>
>>  
>>
>> So I wonder.. Is the ecs being used? 
>>
>> Is there a better competitor that I have missed?
>>
>>  
>>
>> Otherwise it seems to be a good library for building standardized
>>     
> components
>   
>> for a website.
>>
>> /Ludwig
>>
>>
>>   
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   


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