473,394 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

JavaScript server-side scripting platforms?

Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for hosting it
on some server-side platform that runs JavaScript ?

ASP is the obvious one, but I'm hoping to shift it away from IIS and
Windows, hopefully to Apache and open source.

ASP compatibility is not an issue -- there's a lot of
application-specific JavaScript code here, but nothing with a major
dependency on ASP. Chillisoft is trying harder than I need to be ASP
and it costs a fortune.
Thanks for any suggestions

Dec 19 '06 #1
12 1321
Andy Dingley wrote on 19 dec 2006 in comp.lang.javascript:
Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for hosting it
on some server-side platform that runs JavaScript ?
jscript !=== javascript
>
ASP is the obvious one, but I'm hoping to shift it away from IIS and
Windows, hopefully to Apache and open source.

ASP compatibility is not an issue
even so: jscript !=== javascript
-- there's a lot of
application-specific JavaScript code here, but nothing with a major
dependency on ASP. Chillisoft is trying harder than I need to be ASP
and it costs a fortune.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Dec 19 '06 #2

Evertjan. wrote:
Andy Dingley wrote on 19 dec 2006 in comp.lang.javascript:
Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for hosting it
on some server-side platform that runs JavaScript ?

jscript !=== javascript
Who cares? I certainly don't.

This stuff was written as JScript, because it was written for ASP,
although it doesn't use any COM components other than the filesystem.
Now I need to find a home for it, which I assume will require some
minor porting at least. Now any sort of server-side ECMAScript platform
is going to need a "request" and a "response" object, but precisely how
I need to use these is going to be the least of my porting worries.

Dec 19 '06 #3
Andy Dingley wrote on 19 dec 2006 in comp.lang.javascript:
>
Evertjan. wrote:
>Andy Dingley wrote on 19 dec 2006 in comp.lang.javascript:
Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for
hosting it on some server-side platform that runs JavaScript ?

jscript !=== javascript

Who cares? I certainly don't.
What an impolite answer to a serious warning.

Code written exclusively in Jscript can include many functions that
are not ECMA-javascript compatible.
This stuff was written as JScript, because it was written for ASP,
although it doesn't use any COM components other than the filesystem.
Now I need to find a home for it, which I assume will require some
minor porting at least. Now any sort of server-side ECMAScript
platform is going to need a "request" and a "response" object, but
precisely how I need to use these is going to be the least of my
porting worries.
It must feel good that you know the amount of worry ahead of any knowledge
of the platform you want to choose, especially since you do not want any
warning of the consequences.

I would reconcider porting 5 year old code onto a new platform,
the porting and the update requirement costs in man hours could well
outweigh the savings of not using IIS.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Dec 19 '06 #4
Evertjan. wrote:
What an impolite answer to a serious warning.
I'm afraid I saw it less as "a serious warning" and more as the
pervasive Usenet tendency (particularly rife in c.l.j) to use any
question as an opportunity to display one's knowledge of anything, no
matter how irrelevant, rather than to add something useful. When
someone posts a question using both the terms "JavaScript" and
"JScript", it's a reasonable bet that they're already aware of the
difference.

I presume your lack of suggestions for any alternative platforms is
because you don't know of any, not necessarily because they don't exist.

Dec 19 '06 #5
Andy Dingley wrote on 19 dec 2006 in comp.lang.javascript:
Evertjan. wrote:
>What an impolite answer to a serious warning.

I'm afraid I saw it less as "a serious warning" and more as the
pervasive Usenet tendency (particularly rife in c.l.j) to use any
question as an opportunity to display one's knowledge of anything,
So, you insult people on a surmize?
no matter how irrelevant,
My warning being irrelevant?
Perhaps to you, but not to your posting.
rather than to add something useful. When
someone posts a question using both the terms "JavaScript" and
"JScript", it's a reasonable bet that they're already aware of the
difference.
No, it is not, I don't surmize your ability, but give a polite warning.
I presume your lack of suggestions for any alternative platforms is
because you don't know of any, not necessarily because they don't exist.
I was not answering that question.

However unuseful you might think my warning is, usenet is not about having
the right on getting only specified replies, especially if the replies are
on topic.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Dec 19 '06 #6
Andy Dingley wrote:
Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for hosting it
on some server-side platform that runs JavaScript ?

ASP is the obvious one, but I'm hoping to shift it away from IIS and
Windows, hopefully to Apache and open source.
MS continues classic ASP support for IIS. I am not sure it is that easy
to port an ASP application to some other platform.

One approach at using Spidermonkey, the JavaScript egine used in
Mozilla, on the server is <http://www.whitebeam.org/>
But I haven't used it at all and while the description claims that the
server side "page" is XML the examples at
<http://www.whitebeam.org/library/guide/overview/phpasp.rhtm>
are not even well-formed (e.g. <head><title>Hello World</title></Head>).
--

Martin Honnen
http://JavaScript.FAQTs.com/
Dec 19 '06 #7
Andy Dingley wrote:
Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for hosting it
on some server-side platform that runs JavaScript ?
http://mod-gcj.sourceforge.net/rhinola.html

It's based on the "mod_gcj" Java module for Apache, with Mozilla's "Rhino"
engine (one of The Mozilla Project's many, many Javascript engines) thrown
in, which compiles Javascript to Java on the fly.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Dec 19 '06 #8
Toby Inkster wrote:
Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for hosting it
on some server-side platform that runs JavaScript ?

http://mod-gcj.sourceforge.net/rhinola.html
That looks like just the job, thanks.

Now pass the mince pies and I'll get started...

Dec 19 '06 #9

Evertjan. wrote:
Andy Dingley wrote on 19 dec 2006 in comp.lang.javascript:

Evertjan. wrote:
Andy Dingley wrote on 19 dec 2006 in comp.lang.javascript:

Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for
hosting it on some server-side platform that runs JavaScript ?

jscript !=== javascript
Who cares? I certainly don't.

What an impolite answer to a serious warning.

Code written exclusively in Jscript can include many functions that
are not ECMA-javascript compatible.
This stuff was written as JScript, because it was written for ASP,
although it doesn't use any COM components other than the filesystem.
Now I need to find a home for it, which I assume will require some
minor porting at least. Now any sort of server-side ECMAScript
platform is going to need a "request" and a "response" object, but
precisely how I need to use these is going to be the least of my
porting worries.

It must feel good that you know the amount of worry ahead of any knowledge
of the platform you want to choose, especially since you do not want any
warning of the consequences.

I would reconcider porting 5 year old code onto a new platform,
the porting and the update requirement costs in man hours could well
outweigh the savings of not using IIS.
You really don't want me to smack you with this .net C# bible. It's
very heavy. There's nothing wrong with IIS.

Dec 19 '06 #10
SpaceGirl wrote on 19 dec 2006 in comp.lang.javascript:
>I would reconcider porting 5 year old code onto a new platform,
the porting and the update requirement costs in man hours could well
outweigh the savings of not using IIS.

You really don't want me to smack you with this .net C# bible. It's
very heavy. There's nothing wrong with IIS.
That was my point, the OP wanted to save by not using IIS, my girl.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Dec 19 '06 #11
Evertjan. wrote:
Andy Dingley wrote on 19 dec 2006 in comp.lang.javascript:
....
So, you insult people on a surmize?
Take a trip to AWW, that's merely his way ;)

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Dec 20 '06 #12
Andy Dingley wrote:
Assuming a large pile of legacy server-side JavaScript (reasonable
quality ASP JScript from 2001-2002) what are the options for hosting it
on some server-side platform that runs JavaScript ?

ASP is the obvious one, but I'm hoping to shift it away from IIS and
Windows, hopefully to Apache and open source.

ASP compatibility is not an issue -- there's a lot of
application-specific JavaScript code here, but nothing with a major
dependency on ASP. Chillisoft is trying harder than I need to be ASP
and it costs a fortune.
I've previously ported ASP JScript to the Resin application server
(www.caucho.com) with little trouble. It was a number of years ago, so
my knowledge might be out of date.

Last time I checked, Resin provided Javascript as a language option on
JSP pages, so you begin a page with <%@ page language="javascript" %>.
You can then use Javascript code within the JSP escapes <% %>, which is
conveniently similar to ASP. (One minor difference, IIRC, is that the
<%= ... %syntax requires a space after the equal sign, whereas ASP
doesn't, or something like that.)

Some relevant pages:

http://www.caucho.com/articles/990129.xtp
http://www.caucho.com/articles/resin_js.xtp

Resin comes in a GPL version which is free of charge, as well as a paid
"Professional" version for $500/CPU (comes with source). The GPL
version is fine for many purposes, particularly if you're not running
the application on a server farm or other higher-end configurations.

(BTW, at one time, Caucho talked about dropping Javascript support in
Resin, but afaik they backed off from that. If you're planning to pay
money for it, check with sales about their plans in that area.)

Anton
Dec 21 '06 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Prescott | last post by:
I want to execute a javascript function that will set a value in the parent window from the child widow where its called and then post the form to the server. I seem to be able to execute one or...
0
by: Michelle Keys | last post by:
I am trying to call a print function to print a string from a database using javascript. Which is RC_DATA of Varchar2(2500). This is a javascript is not being used. I have a thing that needs to...
14
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 (.NET v2.0.50727). The entire solution uses serveral technologies - Windows Server 2003 (AD, SQL Server 2000, IIS,...
0
by: Keith | last post by:
I have a web form that contains a repeater control that is designed to ask like a check book register. Clicking on a certain transaction takes the user to a different .aspx page where it can be...
0
by: Keith | last post by:
I have a web form that contains a repeater control that is designed to ask like a check book register. Clicking on a certain transaction takes the user to a different .aspx page where it can be...
1
by: den2005 | last post by:
Hi everybody, I am confused and still looking why this codes is not working. Can anyone notice or know why this code is not working? Thanks in advance. Code working: <form id="form1"...
1
by: KRISHNA PRAVI | last post by:
the error is "runtime error object expected" here is the code....................................................................................... <script language="javascript"...
5
by: loveshack | last post by:
Can anyone help me please (i am quite a novice, but having fun learning). Im not sure if this is an ASP problem, a javascript problem or a browser problem. Firstly, everything i have written...
2
by: pankajsingh5k | last post by:
Dear All, Please help me... I had read an article to lazy load a tab in a tabcontainer using an update panel on http://mattberseth.com/blog/2007/07/how_to_lazyload_tabpanels_with.html ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.