<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Where is server side JavaScript?</title>
	<atom:link href="http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/</link>
	<description>My opinions only. I do not represent any organization in this publication.</description>
	<lastBuildDate>Thu, 17 May 2012 23:17:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-99451</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 07 Aug 2008 18:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-99451</guid>
		<description>You might want to look at Torino which provides a Mozilla Rhino JavaScript implementation hosted in a servlet-compatible server such as Tomcat or Glassfish. Server-side programming may be performed using scripts or server pages in the style of PHP and server-side APIs are provided by the Java runtime environment so Torino can do anything on the server you can do with Java including JDBC, XML, network access and so on. The Torino project is hosted on SourceForge at http://torino.sourceforge.net and is open-source (GPL3).</description>
		<content:encoded><![CDATA[<p>You might want to look at Torino which provides a Mozilla Rhino JavaScript implementation hosted in a servlet-compatible server such as Tomcat or Glassfish. Server-side programming may be performed using scripts or server pages in the style of PHP and server-side APIs are provided by the Java runtime environment so Torino can do anything on the server you can do with Java including JDBC, XML, network access and so on. The Torino project is hosted on SourceForge at <a href="http://torino.sourceforge.net" rel="nofollow">http://torino.sourceforge.net</a> and is open-source (GPL3).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hong Liang</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-98901</link>
		<dc:creator>Hong Liang</dc:creator>
		<pubDate>Wed, 14 May 2008 17:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-98901</guid>
		<description>Hi guys! I&#039;m very happy to see this post which let me know so many people are interested in server-side javascript. I have been working on a SSJS MVC framework for several weeks but at the moment there are something that prevent me from moving on. One of them is performance. Here&#039;s the situation I meet right now.

My framework uses JDK6 and Jetty as servlet container. JDK6(aka Mustang) has its own javax.scripting feature so I don&#039;t need to embed Rhino by myself. Jetty is very easy to embeded into other application. After all basic work had been done, I tried a simple code like this:

var str = &quot;&quot;;
for(var i=0; i (23.493ms)
        1. run action invocation(23.283ms), 99.1%
        2. StringView(str: value_0value_0value_0value_0value_0value_0) execution(0.21ms), 0.1%
23:32:44,316 INFO  web request &quot;index2&quot; ---&gt; (44.282ms)
        1. run action invocation(43.585ms), 98.4%
        2. StringView(str: value_0value_0value_0value_0value_0value_0) execution(0.19ms), 0%
23:32:47,178 INFO  web request &quot;index2&quot; ---&gt; (14.699ms)
        1. run action invocation(14.507ms), 98.7%
        2. StringView(str: value_0value_0value_0value_0value_0value_0) execution(0.13ms), 0.1%
23:32:47,546 INFO  web request &quot;index2&quot; ---&gt; (14.684ms)
        1. run action invocation(14.497ms), 98.7%
        2. StringView(str: value_0value_0value_0value_0value_0value_0) execution(0.13ms), 0.1%
23:42:24,005 INFO  servlet... ---&gt; (0.915ms)
23:42:24,009 INFO  servlet... ---&gt; (3.133ms)
23:42:24,012 INFO  servlet... ---&gt; (0.962ms)
23:42:24,014 INFO  servlet... ---&gt; (0.876ms)
23:42:24,023 INFO  servlet... ---&gt; (8.026ms)
23:42:24,026 INFO  servlet... ---&gt; (0.932ms)
23:42:24,029 INFO  servlet... ---&gt; (2.451ms)

We can see clearly that &quot;index2&quot;(SSJS request) cost 10-20ms for each request on average, while servlet only did that in 1-2ms.

I&#039;m really sad now. Should I continue to work on it? I&#039;m also a little tired of Java, which in my opinion always turns simple things to complex. I&#039;m considering to use PHP, not Java any more.</description>
		<content:encoded><![CDATA[<p>Hi guys! I&#8217;m very happy to see this post which let me know so many people are interested in server-side javascript. I have been working on a SSJS MVC framework for several weeks but at the moment there are something that prevent me from moving on. One of them is performance. Here&#8217;s the situation I meet right now.</p>
<p>My framework uses JDK6 and Jetty as servlet container. JDK6(aka Mustang) has its own javax.scripting feature so I don&#8217;t need to embed Rhino by myself. Jetty is very easy to embeded into other application. After all basic work had been done, I tried a simple code like this:</p>
<p>var str = &#8220;&#8221;;<br />
for(var i=0; i (23.493ms)<br />
        1. run action invocation(23.283ms), 99.1%<br />
        2. StringView(str: value_0value_0value_0value_0value_0value_0) execution(0.21ms), 0.1%<br />
23:32:44,316 INFO  web request &#8220;index2&#8243; &#8212;&gt; (44.282ms)<br />
        1. run action invocation(43.585ms), 98.4%<br />
        2. StringView(str: value_0value_0value_0value_0value_0value_0) execution(0.19ms), 0%<br />
23:32:47,178 INFO  web request &#8220;index2&#8243; &#8212;&gt; (14.699ms)<br />
        1. run action invocation(14.507ms), 98.7%<br />
        2. StringView(str: value_0value_0value_0value_0value_0value_0) execution(0.13ms), 0.1%<br />
23:32:47,546 INFO  web request &#8220;index2&#8243; &#8212;&gt; (14.684ms)<br />
        1. run action invocation(14.497ms), 98.7%<br />
        2. StringView(str: value_0value_0value_0value_0value_0value_0) execution(0.13ms), 0.1%<br />
23:42:24,005 INFO  servlet&#8230; &#8212;&gt; (0.915ms)<br />
23:42:24,009 INFO  servlet&#8230; &#8212;&gt; (3.133ms)<br />
23:42:24,012 INFO  servlet&#8230; &#8212;&gt; (0.962ms)<br />
23:42:24,014 INFO  servlet&#8230; &#8212;&gt; (0.876ms)<br />
23:42:24,023 INFO  servlet&#8230; &#8212;&gt; (8.026ms)<br />
23:42:24,026 INFO  servlet&#8230; &#8212;&gt; (0.932ms)<br />
23:42:24,029 INFO  servlet&#8230; &#8212;&gt; (2.451ms)</p>
<p>We can see clearly that &#8220;index2&#8243;(SSJS request) cost 10-20ms for each request on average, while servlet only did that in 1-2ms.</p>
<p>I&#8217;m really sad now. Should I continue to work on it? I&#8217;m also a little tired of Java, which in my opinion always turns simple things to complex. I&#8217;m considering to use PHP, not Java any more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernando</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-97891</link>
		<dc:creator>Fernando</dc:creator>
		<pubDate>Wed, 05 Mar 2008 11:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-97891</guid>
		<description>SSJavascript is suitable for being a standard (not like Visual Basic or C#). 
Otherside, ASP, JSP  are implementations of SSJavascript (view Wikipedia). 
Nowday CGI and SCGI are too slow.
I think AJAX isn&#039;t new compared with SSJavascript. 
Could be PHP is only Server Side language ? Then I prefer two sides Javascript. 
But PHP supports a lot of databases...

Fernando</description>
		<content:encoded><![CDATA[<p>SSJavascript is suitable for being a standard (not like Visual Basic or C#).<br />
Otherside, ASP, JSP  are implementations of SSJavascript (view Wikipedia).<br />
Nowday CGI and SCGI are too slow.<br />
I think AJAX isn&#8217;t new compared with SSJavascript.<br />
Could be PHP is only Server Side language ? Then I prefer two sides Javascript.<br />
But PHP supports a lot of databases&#8230;</p>
<p>Fernando</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joachim Bengtsson</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-96126</link>
		<dc:creator>Joachim Bengtsson</dc:creator>
		<pubDate>Thu, 19 Jul 2007 11:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-96126</guid>
		<description>@Jesse Thompson: That&#039;s an awesomely excellent idea. A *lot* of people seem to dislike js just because it&#039;s so often misused, but it really is a full-featured language. While I&#039;d rather run ruby in browsers, js on servers seems a bit more viable ;)

JS could definitely be used more for other things as well, such as shell scripting and embedding (game scripting, etc).</description>
		<content:encoded><![CDATA[<p>@Jesse Thompson: That&#8217;s an awesomely excellent idea. A *lot* of people seem to dislike js just because it&#8217;s so often misused, but it really is a full-featured language. While I&#8217;d rather run ruby in browsers, js on servers seems a bit more viable ;)</p>
<p>JS could definitely be used more for other things as well, such as shell scripting and embedding (game scripting, etc).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Wilson</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-96040</link>
		<dc:creator>Peter Wilson</dc:creator>
		<pubDate>Sat, 30 Jun 2007 19:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-96040</guid>
		<description>Interested to know what build problems you&#039;re having with Whitebeam. We&#039;re only a small team so we build primarily for Fedora and OpenBSD (the ones we use). Build fine on them and is intended to be *nix friendly.

If you check the Whitebeam forumns on Sourceforge (http://www.sourceforge.net/projects/whitebeam) there are some messages from others on successful builds - and feedback on the issue they had so that we could improve the build process.

RPMs will be available shortly for recent Fedora builds. They can be built now.</description>
		<content:encoded><![CDATA[<p>Interested to know what build problems you&#8217;re having with Whitebeam. We&#8217;re only a small team so we build primarily for Fedora and OpenBSD (the ones we use). Build fine on them and is intended to be *nix friendly.</p>
<p>If you check the Whitebeam forumns on Sourceforge (<a href="http://www.sourceforge.net/projects/whitebeam" rel="nofollow">http://www.sourceforge.net/projects/whitebeam</a>) there are some messages from others on successful builds &#8211; and feedback on the issue they had so that we could improve the build process.</p>
<p>RPMs will be available shortly for recent Fedora builds. They can be built now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-95596</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Wed, 18 Apr 2007 19:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-95596</guid>
		<description>I have been looking for the same thing.  It totally blows my mind that people avoid any type of server side javascript programming.  As AJAX becomes more and more popular, there will be more people working with various AJAX GUI toolkits.  I am currently working on a server / client side solution.  As most of my clients are on windows servers I&#039;m building everything to support jscript / JScript.NET.  I really hope I can find something supporting server side javascript on Apache soon.  Maybe I&#039;ll have to start something up on SourceForge.</description>
		<content:encoded><![CDATA[<p>I have been looking for the same thing.  It totally blows my mind that people avoid any type of server side javascript programming.  As AJAX becomes more and more popular, there will be more people working with various AJAX GUI toolkits.  I am currently working on a server / client side solution.  As most of my clients are on windows servers I&#8217;m building everything to support jscript / JScript.NET.  I really hope I can find something supporting server side javascript on Apache soon.  Maybe I&#8217;ll have to start something up on SourceForge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thiago Silva</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-93670</link>
		<dc:creator>Thiago Silva</dc:creator>
		<pubDate>Mon, 26 Mar 2007 21:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-93670</guid>
		<description>I&#039;m another one who got recently enlighted with the idea of using JavaScript on the server. It occurred to me (late, but thankfully ocurred ;) that it is a huge inefficiency to build applications with the miriads of languages  (html, js, xml, your-preferred-server-side-lang,etc) and translations back and forth langs. Specially, nowadays, those &#039;translations of objects&#039; (from, say PHP or ruby to javascript) with JSON, etc.

So, I&#039;m urgently looking for a server-side javascript environment (ASP? no thanks) to get some great ideas going. With firefox extensions and client/server JavaScript, one can get pretty close to the vision of real distributed internet objects, and the expressiveness that this offers.</description>
		<content:encoded><![CDATA[<p>I&#8217;m another one who got recently enlighted with the idea of using JavaScript on the server. It occurred to me (late, but thankfully ocurred ;) that it is a huge inefficiency to build applications with the miriads of languages  (html, js, xml, your-preferred-server-side-lang,etc) and translations back and forth langs. Specially, nowadays, those &#8216;translations of objects&#8217; (from, say PHP or ruby to javascript) with JSON, etc.</p>
<p>So, I&#8217;m urgently looking for a server-side javascript environment (ASP? no thanks) to get some great ideas going. With firefox extensions and client/server JavaScript, one can get pretty close to the vision of real distributed internet objects, and the expressiveness that this offers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Linksvayer &#187; SXSW: JavaScript everywhere</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-91463</link>
		<dc:creator>Mike Linksvayer &#187; SXSW: JavaScript everywhere</dc:creator>
		<pubDate>Sun, 11 Mar 2007 22:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-91463</guid>
		<description>[...] the default glue and application language for the next decade on the web, desktop and the server. Where is server side JavaScript? from July 2005 continues to be one of the most viewed posts on this blog. Many people are thinking [...]</description>
		<content:encoded><![CDATA[<p>[...] the default glue and application language for the next decade on the web, desktop and the server. Where is server side JavaScript? from July 2005 continues to be one of the most viewed posts on this blog. Many people are thinking [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calvin</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-89363</link>
		<dc:creator>Calvin</dc:creator>
		<pubDate>Fri, 09 Feb 2007 22:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-89363</guid>
		<description>@Jesse Thompson

I totally agree with you. Javascript is such a versatile scripting language, and mature interpreters are already implemented (SpiderMonkey), all it needs is just a chance to attract enough attention to the general public. I am also a LAMP programmer, and the object programming of PHP5 never satisfy my needs. I think there are few things that can push SSJS further:

- make sure it does not repeat the quirky nature of PHP scripting (spaghetti  code in html)
- complete MySQL / other dbms interface, ActiveRecord style
- rock solid MVC framework (like Rails and CakePHP)
- easy to deploy Apache SO module
- a community

It seems to me that MVC framework is the key to push forward the whole initiative. Few years ago almost no one knew about Ruby, until The Rails framework got this funny language known to the public. An active community is also very important.</description>
		<content:encoded><![CDATA[<p>@Jesse Thompson</p>
<p>I totally agree with you. Javascript is such a versatile scripting language, and mature interpreters are already implemented (SpiderMonkey), all it needs is just a chance to attract enough attention to the general public. I am also a LAMP programmer, and the object programming of PHP5 never satisfy my needs. I think there are few things that can push SSJS further:</p>
<p>- make sure it does not repeat the quirky nature of PHP scripting (spaghetti  code in html)<br />
- complete MySQL / other dbms interface, ActiveRecord style<br />
- rock solid MVC framework (like Rails and CakePHP)<br />
- easy to deploy Apache SO module<br />
- a community</p>
<p>It seems to me that MVC framework is the key to push forward the whole initiative. Few years ago almost no one knew about Ruby, until The Rails framework got this funny language known to the public. An active community is also very important.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Thompson</title>
		<link>http://gondwanaland.com/mlog/2005/07/07/server-side-javascript/#comment-87412</link>
		<dc:creator>Jesse Thompson</dc:creator>
		<pubDate>Sun, 04 Feb 2007 10:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://gondwanaland.com/mlog/?p=140#comment-87412</guid>
		<description>I also am an ex-LAMP developer who is on a quest for the holy grail of Server Side Javascript. My dream implementation would be a Javascript environment tuned for *nix applications (sorry Franky/wxJS) that can actually build (sorry Whitebeam) and coordinate with a mature server such as apache (sorry firecat, Helma, Rhino, etc) to serve web requests.

Good would be having a working implementation of DBI and great would be having a CPAN like mechanism.. or even a way to utilize/wrap existing CPAN modules as a crutch to bootstrap the project. 

With such a beast, one could do a lot of code reuse for specific but very irreducible tasks such as input verification and template infusing. Imagine writing just one slice of code that injects data into a template for display.. running it server-side to deliver a page with initial data, and then client side to manipulate the page in a Web2.0 application as the data changes. You could write an object which checks your form submissions client side to kindly warn the user they are being an idiot, and then re-run server side to harshly log/kline/narc the hacker who ignores all the client side warnings and attempts form smurfs manually.

Javascript/ECMAscript has an object model I can really dig, where PHP and Perl leave me wanting.. and C++ and Java leave me gagging. Ruby, while an interesting idea, will never reach the critical mass that JS has already attained. We need some real world, boots on the ground, SSJS.

Who&#039;s with me? And, I guess, how do we do that? :)

Should there be a forum somewhere? I feel there should. We should try to crystalize a community around this.</description>
		<content:encoded><![CDATA[<p>I also am an ex-LAMP developer who is on a quest for the holy grail of Server Side Javascript. My dream implementation would be a Javascript environment tuned for *nix applications (sorry Franky/wxJS) that can actually build (sorry Whitebeam) and coordinate with a mature server such as apache (sorry firecat, Helma, Rhino, etc) to serve web requests.</p>
<p>Good would be having a working implementation of DBI and great would be having a CPAN like mechanism.. or even a way to utilize/wrap existing CPAN modules as a crutch to bootstrap the project. </p>
<p>With such a beast, one could do a lot of code reuse for specific but very irreducible tasks such as input verification and template infusing. Imagine writing just one slice of code that injects data into a template for display.. running it server-side to deliver a page with initial data, and then client side to manipulate the page in a Web2.0 application as the data changes. You could write an object which checks your form submissions client side to kindly warn the user they are being an idiot, and then re-run server side to harshly log/kline/narc the hacker who ignores all the client side warnings and attempts form smurfs manually.</p>
<p>Javascript/ECMAscript has an object model I can really dig, where PHP and Perl leave me wanting.. and C++ and Java leave me gagging. Ruby, while an interesting idea, will never reach the critical mass that JS has already attained. We need some real world, boots on the ground, SSJS.</p>
<p>Who&#8217;s with me? And, I guess, how do we do that? :)</p>
<p>Should there be a forum somewhere? I feel there should. We should try to crystalize a community around this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

