This page is no longer maintained — Please continue to the home page at www.scala-lang.org

ANN: Scalate 1.0 is released

7 replies
James.Strachan
Joined: 2009-07-08,
User offline. Last seen 2 years 25 weeks ago.

The Scalate team is pleased to announce the availability of Scalate version 1.0.

Scalate is a Scala 2.8 based template engine which can be used stand
alone, with servlets, in JAXRS, with the Play Framework or in Apache
Camel. (Work on lift integration is in progress).
http://scalate.fusesource.org/

All expressions inside Scalate benefit from the full power of Scala
plus they are typesafe and checked at edit/compile time to ensure you
don’t leave any mistakes in your templates.

Two template languages are currently supported:

* Ssp which is like a Scala version of JSP or Erb from Rails
* Scaml which is a Scala dialect of Haml for very DRY markup

Full details of the release here:
http://scalate.fusesource.org/blog/releases/2010/04/release-1-0.html

Feedback always most welcome!
http://scalate.fusesource.org/community.html

nilskp
Joined: 2009-01-30,
User offline. Last seen 1 year 27 weeks ago.
Re: ANN: Scalate 1.0 is released
On Tue, Apr 6, 2010 at 2:05 PM, James Strachan <james [dot] strachan [at] gmail [dot] com> wrote:
The Scalate team is pleased to announce the availability of Scalate version 1.0.

Is there a way to load non-file based templates?

James.Strachan
Joined: 2009-07-08,
User offline. Last seen 2 years 25 weeks ago.
Re: ANN: Scalate 1.0 is released

On 7 April 2010 03:23, Nils Kilden-Pedersen wrote:
> On Tue, Apr 6, 2010 at 2:05 PM, James Strachan
> wrote:
>>
>> The Scalate team is pleased to announce the availability of Scalate
>> version 1.0.
>
> Is there a way to load non-file based templates?

Yes. This has come up a couple of times so I've added it to the faq
(bottom of the page right now) which shows 2 approaches...

http://scalate.fusesource.org/faq.html#can_i_use_scalate_with_a_non_file...

nilskp
Joined: 2009-01-30,
User offline. Last seen 1 year 27 weeks ago.
Re: ANN: Scalate 1.0 is released
On Tue, Apr 6, 2010 at 11:06 PM, James Strachan <james [dot] strachan [at] gmail [dot] com> wrote:
On 7 April 2010 03:23, Nils Kilden-Pedersen <nilskp [at] gmail [dot] com> wrote:
> On Tue, Apr 6, 2010 at 2:05 PM, James Strachan <james [dot] strachan [at] gmail [dot] com>
> wrote:
>>
>> The Scalate team is pleased to announce the availability of Scalate
>> version 1.0.
>
> Is there a way to load non-file based templates?

Yes. This has come up a couple of times so I've added it to the faq
(bottom of the page right now) which shows 2 approaches...

http://scalate.fusesource.org/faq.html#can_i_use_scalate_with_a_non_file_based_template


Ok, I'll try that, but would suggest that the engine should be able to load something a little more generic, a Reader or InputStream, both of which are easily created from a URL/URI/File.
James.Strachan
Joined: 2009-07-08,
User offline. Last seen 2 years 25 weeks ago.
Re: ANN: Scalate 1.0 is released

On 7 April 2010 15:25, Nils Kilden-Pedersen wrote:
> On Tue, Apr 6, 2010 at 11:06 PM, James Strachan
> wrote:
>>
>> On 7 April 2010 03:23, Nils Kilden-Pedersen wrote:
>> > On Tue, Apr 6, 2010 at 2:05 PM, James Strachan
>> >
>> > wrote:
>> >>
>> >> The Scalate team is pleased to announce the availability of Scalate
>> >> version 1.0.
>> >
>> > Is there a way to load non-file based templates?
>>
>> Yes. This has come up a couple of times so I've added it to the faq
>> (bottom of the page right now) which shows 2 approaches...
>>
>>
>> http://scalate.fusesource.org/faq.html#can_i_use_scalate_with_a_non_file...
>>
>
> Ok, I'll try that, but would suggest that the engine should be able to load
> something a little more generic, a Reader or InputStream, both of which are
> easily created from a URL/URI/File.

Good idea, thanks! I've raised a ticket so we don't forget...
http://scalate.assembla.com/spaces/scalate/support/tickets/68

Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: ANN: Scalate 1.0 is released
Dear James,
i'm very interested in this. Does scalate support mvn-based use?
Best wishes,
--greg

On Tue, Apr 6, 2010 at 12:05 PM, James Strachan <james [dot] strachan [at] gmail [dot] com> wrote:
The Scalate team is pleased to announce the availability of Scalate version 1.0.

Scalate is a Scala 2.8 based template engine which can be used stand
alone, with servlets, in JAXRS, with the Play Framework or in Apache
Camel. (Work on lift integration is in progress).
http://scalate.fusesource.org/

All expressions inside Scalate benefit from the full power of Scala
plus they are typesafe and checked at edit/compile time to ensure you
don’t leave any mistakes in your templates.

Two template languages are currently supported:

* Ssp which is like a Scala version of JSP or Erb from Rails
* Scaml which is a Scala dialect of Haml for very DRY markup

Full details of the release here:
http://scalate.fusesource.org/blog/releases/2010/04/release-1-0.html

Feedback always most welcome!
http://scalate.fusesource.org/community.html

--
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
Meredith Gregory
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: ANN: Scalate 1.0 is released
Dear James,
More specifically, i was wondering if there was a maven archetype to instantiate the scalate-sample.
Best wishes,
--greg

On Tue, Apr 20, 2010 at 11:29 AM, Meredith Gregory <lgreg [dot] meredith [at] gmail [dot] com> wrote:
Dear James,
i'm very interested in this. Does scalate support mvn-based use?
Best wishes,
--greg

On Tue, Apr 6, 2010 at 12:05 PM, James Strachan <james [dot] strachan [at] gmail [dot] com> wrote:
The Scalate team is pleased to announce the availability of Scalate version 1.0.

Scalate is a Scala 2.8 based template engine which can be used stand
alone, with servlets, in JAXRS, with the Play Framework or in Apache
Camel. (Work on lift integration is in progress).
http://scalate.fusesource.org/

All expressions inside Scalate benefit from the full power of Scala
plus they are typesafe and checked at edit/compile time to ensure you
don’t leave any mistakes in your templates.

Two template languages are currently supported:

* Ssp which is like a Scala version of JSP or Erb from Rails
* Scaml which is a Scala dialect of Haml for very DRY markup

Full details of the release here:
http://scalate.fusesource.org/blog/releases/2010/04/release-1-0.html

Feedback always most welcome!
http://scalate.fusesource.org/community.html

--
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com



--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com
James.Strachan
Joined: 2009-07-08,
User offline. Last seen 2 years 25 weeks ago.
Re: ANN: Scalate 1.0 is released

On 20 April 2010 19:37, Meredith Gregory wrote:
> Dear James,
> More specifically, i was wondering if there was a maven archetype to
> instantiate the scalate-sample.

Yes you can use Scalate via Maven...
http://scalate.fusesource.org/download.html

or you can use the archetype to spin up a sample web app...
http://scalate.fusesource.org/documentation/getting-started.html

its a bit of a monster command line instantiating the maven archetype.

One of these days we'll either deploy tarballs of what the archetype
creates (then folks can refactor it in their IDE) or we'll hack up a
nicer front end to the maven archetype stuff so its a bit easier to
get going...
http://scalate.assembla.com/spaces/scalate/tickets/67

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland