官术网_书友最值得收藏!

Server-side JavaScript

Quit scratching your head already! Of course you're doing it, scratching your head and mumbling to yourself, "What's a browser language doing on the server?" In truth, JavaScript has a long and largely unknown history outside the browser. JavaScript is a programming language, just like any other language, and the better question to ask is "Why should JavaScript remain trapped inside browsers?".

Back in the dawn of the web age, the tools for writing web applications were at a fledgling stage. Some were experimenting with Perl or TCL to write CGI scripts, and the PHP and Java languages had just been developed. Even then, JavaScript saw use on the server side. One early web application server was Netscape's LiveWire server, which used JavaScript. Some versions of Microsoft's ASP used JScript, their version of JavaScript. A more recent server-side JavaScript project is the RingoJS application framework in the Java universe. Java 6 and Java 7 were both shipped with the Rhino JavaScript engine. In Java 8, Rhino was dropped in favor of the newer Nashorn JavaScript engine.

In other words, JavaScript outside the browser is not a new thing, even if it is uncommon.

主站蜘蛛池模板: 永仁县| 云霄县| 乌鲁木齐县| 长治县| 衡南县| 民权县| 庆阳市| 克拉玛依市| 台中市| 凌云县| 宣城市| 双江| 镇远县| 枝江市| 墨玉县| 固阳县| 安乡县| 河曲县| 延川县| 环江| 铅山县| 江口县| 玛沁县| 四子王旗| 广昌县| 九龙城区| 湖州市| 漾濞| 姜堰市| 开化县| 临安市| 津南区| 大名县| 长泰县| 朔州市| 海盐县| 突泉县| 英山县| 靖远县| 丰宁| 岗巴县|