Albedo Systems


Albedo contact details: Albedo Systems Ltd; 268 Amhurst Road; Stoke Newington; London N16 7UP; t - 020 7923 2267; e - information@albedo.co.uk

Home pagePortfolio: clients and case studiesSite mapAlbedo contact detailsMiscellaneous writings and codeDownloadable softwareA few useful links

 


Jscript (ASP) demo


Jscript is the server-side equivalent to the familiar Javascript that runs in most modern web browsers. Still a viable option for website database integration.



Jscript code fragment The use of familiar browser scripting language JavaScript for database integration and general server-side duties is decreasingly familiar, yet it was one of the roles that it was initially kitted out for, and there are still web systems running that take advantage of the JavaScripting capabilities of Netscape's Commerce Server. Ironically, the JavaScript example we have provided runs within the scripting environment provided by Microsoft's ASPs, which were a direct competitor for server-side functionality. In this environment, it is usually known as JScript.

So what reasons might there be now for selecting JavaScript as a server-side scripting language? Well, as we've said, there are systems already written that make use of the language, and these do require maintenance. And it can be a powerful learning tool. Budding web developers, who have learned to hand code web pages with embedded JavaScript, could carry some of these skills over to server-side functionality, rather than having to learn a new language entirely from scratch. It should be noted that it took very little time to convert the client-side example we have given to this server-side example. It lacks database integration - just for the exercise, we used arrays - but database access could have been implemented just as easily.

In any case, now, JavaScript is not exactly an 'industry standard' for server-side solutions. We sometimes wish it was - why take two languages into the shower?

To see server-side JavaScript in action with a simple database example, use the Demo form below.

Search text fields:

Sort by:

Sequence:


| Home | Folio | Sitemap | Contact |
| Texts | Downloads | Web links |

Page last modified: 07 Aug 2005

Valid HTML 4.01!