Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36106
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Server side JS programming |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <22440663-d4d8-496c-926c-b1af146faaa5@googlegroups.com> |
| Date | 2019-03-12 22:03 +0100 |
| Message-ID | <XnsAA10E054FF1Ceejj99@194.109.6.166> (permalink) |
groovee@cyberdude.com wrote on 12 Mar 2019 in comp.lang.javascript: > I think I've asked this question before over here, but it seems to have > slipped my mind what was said - I'd like to know: is there any way to do > server side programming in JS to generate a webpage, with the code bits > "inserted" into the HTML bits, like <?php does for PHP? Otherwise, how > would you say, print stuff from a MySQL database (assuming you're using > node.js) on a webpage? You'd need some way to separately print the MySQL > data, and *then* (if it comes afterwards) print the rest of the HTML. > Ugh! This is Horrifying! Surely there must be a better solution? Using Classic ASP as a platform, you can use Jscript, which is an nowadays antiquated form of Javascript by Microsoft. Of course, there is no serverside DOM, so there are other commands to interact with that environment. <%@ LANGUAGE="jscript" %> <h3> <% var num = 8 / 17; var yes = true; if (yes) Response.write( num + ' is not an integer.' ); %> </h3> -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Server side JS programming groovee@cyberdude.com - 2019-03-12 06:17 -0700
Re: Server side JS programming "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-12 22:03 +0100
Re: Server side JS programming groovee@cyberdude.com - 2019-03-13 06:14 -0700
Re: Server side JS programming "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-13 15:14 +0100
Re: Server side JS programming Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-03-13 15:36 +0100
Re: Server side JS programming groovee@cyberdude.com - 2019-03-14 07:04 -0700
Re: Server side JS programming Jon Ribbens <jon+usenet@unequivocal.eu> - 2019-03-15 12:25 +0000
Re: Server side JS programming "Mark-" <nospam@mapson.xyz> - 2019-03-15 12:49 +0000
Re: Server side JS programming Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-03-17 16:02 +0100
Re: Server side JS programming John G Harris <niam@jghnorth.org.uk.invalid> - 2019-03-17 15:34 +0000
Re: Server side JS programming "Mark-" <nospam@mapson.xyz> - 2019-03-17 17:06 +0000
Re: Server side JS programming groovee@cyberdude.com - 2019-03-17 20:32 -0700
Re: Server side JS programming "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-03-18 12:49 -0700
Re: Server side JS programming groovee@cyberdude.com - 2019-03-19 06:20 -0700
Re: Server side JS programming Jon Ribbens <jon+usenet@unequivocal.eu> - 2019-03-19 14:23 +0000
Re: Server side JS programming "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-03-19 12:05 -0700
Re: Server side JS programming Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-03-19 18:23 +0100
Re: Server side JS programming Jon Ribbens <jon+usenet@unequivocal.eu> - 2019-03-13 15:22 +0000
Re: Server side JS programming "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-03-13 19:16 -0700
Re: Server side JS programming groovee@cyberdude.com - 2019-03-14 07:00 -0700
Re: Server side JS programming groovee@cyberdude.com - 2019-03-19 13:52 -0700
Re: Server side JS programming "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-19 23:15 +0100
csiph-web