Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Sitemesh 3 for JVM languages
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Shantanu Kumar  
View profile  
 More options Dec 23 2011, 6:39 am
From: Shantanu Kumar <kumar.shant...@gmail.com>
Date: Fri, 23 Dec 2011 03:39:13 -0800 (PST)
Local: Fri, Dec 23 2011 6:39 am
Subject: Sitemesh 3 for JVM languages
Hello,

I have few questions about suitability of Sitemesh 3 for JVM
languages:

1. Is SiteMesh 3 strongly tied to Java? How easy it might be for users
of JVM languages (eg. Clojure, Groovy etc.) to use Sitemesh 3? For
example, a requirement to pass a classname for Sitemesh to instantiate
may be unhelpful for Clojure as that needs Ahead-Of-Time compilation.

2. Is Sitemesh 3 strongly tied to the Servlet technology? (The JVM
languages may not depend on Servlets for the web stuff.)

3. Can page organization be expressed in a form other than XML?

Regards,
Shantanu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Walnes  
View profile  
 More options Dec 24 2011, 11:30 pm
From: Joe Walnes <j...@walnes.com>
Date: Sat, 24 Dec 2011 22:30:18 -0600
Local: Sat, Dec 24 2011 11:30 pm
Subject: Re: Sitemesh 3 for JVM languages

On Fri, Dec 23, 2011 at 5:39 AM, Shantanu Kumar <kumar.shant...@gmail.com>wrote:

> Hello,

> I have few questions about suitability of Sitemesh 3 for JVM
> languages:

> 1. Is SiteMesh 3 strongly tied to Java? How easy it might be for users
> of JVM languages (eg. Clojure, Groovy etc.) to use Sitemesh 3? For
> example, a requirement to pass a classname for Sitemesh to instantiate
> may be unhelpful for Clojure as that needs Ahead-Of-Time compilation.

It's fairly common for other JVM languages to be used with SiteMesh. The
actual decorators themselves have no code in them - it's only custom
configuration that is done through Java. But the API will work equally well
in other languages. In fact, Clojure is particularly well suited for
building DSLs that express SM configurations.

> 2. Is Sitemesh 3 strongly tied to the Servlet technology? (The JVM
> languages may not depend on Servlets for the web stuff.)

The core of SM3 is web-technology agnostic. Out of the box it comes with
bindings for the Servlet API and offline building tools. You can plug it
into another framework if you want.

For example, I have SiteMesh bindings for Webbit, which is another JVM web
server that does not use the Servlet API.
https://github.com/joewalnes/webbit-sitemesh

Any particular framework you are looking at?

> 3. Can page organization be expressed in a form other than XML?

You do not need to use any XML to use SiteMesh. The XML configuration
reader is there for convenience, but you can also build the object model
yourself.

See http://www.sitemesh.org/configuration.html for comparison of XML vs
programatic configuration.

If you need more control, you can always implement your own selection
interfaces.
https://github.com/sitemesh/sitemesh3/blob/master/sitemesh/src/main/j...

Hope that helps.

-Joe


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shantanu Kumar  
View profile  
 More options Dec 25 2011, 4:27 am
From: Shantanu Kumar <kumar.shant...@gmail.com>
Date: Sun, 25 Dec 2011 01:27:43 -0800 (PST)
Local: Sun, Dec 25 2011 4:27 am
Subject: Re: Sitemesh 3 for JVM languages
Thanks for clarifying.

> > 2. Is Sitemesh 3 strongly tied to the Servlet technology? (The JVM
> > languages may not depend on Servlets for the web stuff.)

> The core of SM3 is web-technology agnostic. Out of the box it comes with
> bindings for the Servlet API and offline building tools. You can plug it
> into another framework if you want.

> For example, I have SiteMesh bindings for Webbit, which is another JVM web
> server that does not use the Servlet API.https://github.com/joewalnes/webbit-sitemesh

> Any particular framework you are looking at?

Ring[1] is a widely accepted base web routing library for Clojure,
which is what I was wondering about.

[1] Ring – https://github.com/mmcgrana/ring

Regards,
Shantanu

On Dec 25, 9:30 am, Joe Walnes <j...@walnes.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »