diff options
Diffstat (limited to 'files/ja/web/javascript/server-side_javascript/index.html')
-rw-r--r-- | files/ja/web/javascript/server-side_javascript/index.html | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/files/ja/web/javascript/server-side_javascript/index.html b/files/ja/web/javascript/server-side_javascript/index.html deleted file mode 100644 index e56ee2e096..0000000000 --- a/files/ja/web/javascript/server-side_javascript/index.html +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Server-Side JavaScript -slug: Web/JavaScript/Server-Side_JavaScript -tags: - - backend - - serverside javascript -translation_of: Archive/Web/Server-Side_JavaScript ---- -<p>Here's a radical idea: Use one language to write entire Web apps -- and have that language be the one that billions of web pages every day already use.</p> -<p>Sounds obvious doesn't it, but for at least the first twelve years of the Web's evolution, developers have pretty much had to use different languages on the server than what they use in the browser which leads to segregated teams, disaprate know-how, and at times plenty of server-side gymnastics with string manipulation to generate HTML or Ajax pages. Of course the simplicity of using JavaScript on the server was part of Netscape's original vision back in the day with Netscape LiveWire. But that was when 350 MHz servers were the best thing you could buy and long before Mozilla emerged from the Netscape organization to continue to advance the state of Web technologies. Today with computing cycles having increased more than 10-fold and Mozilla's work on <a href="/ja/docs/Rhino" title="Rhino">Rhino </a>(JavaScript interpreter in Java) and <a href="/ja/docs/SpiderMonkey" title="SpiderMonkey">SpiderMonkey </a>(JavaScript interpreter in C) and <a href="/ja/docs/JavaScript" title="JavaScript">JavaScript </a>itself, we have very solid foundations for JavaScript to become extraordinarily useful and applicable on the server-side again -- this time with <a class="external" href="http://www.aptana.com/jaxer/benchmarks" title="http://www.aptana.com/jaxer/benchmarks">performance in the same range</a> as with other popular server-side environments like PHP and Ruby on Rails. And with <a class="external" href="http://weblogs.mozillazine.org/roadmap/archives/2008/08/tracemonkey_javascript_lightsp.html" title="http://weblogs.mozillazine.org/roadmap/archives/2008/08/tracemonkey_javascript_lightsp.html">TraceMonkey</a> to be available soon, JavaScript (both client side and server-side) could see 20x to 40x speed improvements according to Brendan Eich, Mozilla CTO and creator of JavaScript. Server-Side JavaScript is another way that, as <a class="external" href="http://arstechnica.com/news.ars/post/20080822-firefox-to-get-massive-javascript-performance-boost.html" title="http://arstechnica.com/news.ars/post/20080822-firefox-to-get-massive-javascript-performance-boost.html">this article quotes</a> Brendan, "that Mozilla wants to 'get people thinking about JavaScript as a more general-purpose language' and show them that 'it really is a platform for writing full applications.'"</p> -<p><a class="external" href="http://en.wikipedia.org/wiki/SSJS" title="http://en.wikipedia.org/wiki/SSJS">Many vendors</a> today are embedding Mozilla Rhino or Mozilla SpiderMonkey into Web server environments. And some like Aptana with the open source <a class="external" href="http://www.aptana.com/jaxer" title="http://www.aptana.com/jaxer">Jaxer server</a> actually embed the entire Mozilla Firefox browser engine (which includes SpiderMonkey) within a Web server to enable server-side Ajax and server-side DOM access in addition to server-side execution of JavaScript.</p> |