Latest on the Scripting project

Updates on the Scripting project.

  1. Updated JavaScript script engine with Rhino version 1.6R7. This version supports E4X without requiring XMLBeans.
  2. Updated Groovy script engine to use version 1.5.1.
  3. Updated Jython script engine to use version 2.2.1.
  4. Updated Freemarker script engine to use version 2.3.11.
  5. Yoko Harada is planning to update JRuby script engine with version 1.1x.

Comments:

Hey Sundararajan,

Looking at that E4X link in your post, i started missing my days when i used to play a lot with XQuery; it looked much similar. I wonder if this could be considered as an alternative to XSLT; what's your view?

Regards,
Rahul

Posted by Rahul Roy on January 10, 2008 at 06:53 AM IST #

Hi Rahul: do you mean XQuery being similar to XSLT? Yes, those are similar. But, I like XSLT -- because of functional nature. Did you look at XSLT 2.0 implementation (say, Saxon)? If you are talking about E4X, I'm not terribly excited about it. Yes, it is easy to use (and misuse!) at times. In general, I am not comfortable with XML literals creeping into programming languages - be it JavaScript or Java or any language. But, some people seem to like it. In a sense, it is like embedding SQL with procedural/object oriented programs (remember Pro\*C?, SQLJ?). I didn't like that either. May be, it is just a matter of taste? I'd rather stick to XSLT/XPath rather than moving to E4X or XQuery.

Posted by A. Sundararajan on January 10, 2008 at 07:41 AM IST #

Hey Sundar : I play around a lot with generating sources from XML definations and have for long used XSLT for the purpose. When I looked at E4X, I could see a potential in it to replace XSLT. I also did a prototype to confirm this thought; and you would be amazed to know that the E4X thing not only scaled to the expectations but the source was much understandable, as in readable, thus easy to maintain as well.

Posted by Rahul Roy on January 11, 2008 at 08:59 AM IST #

Post a Comment:
Comments are closed for this entry.
About

sundararajan

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
Links

No bookmarks in folder

Blogroll

No bookmarks in folder

News

No bookmarks in folder