Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Tips Database Forum Rss Feed

» Database Journal Home
» Database Articles
» Database Tutorials
MS Access
SQL Scripts & Samples
» Database Forum
» Slideshows
Free Newsletters:

News Via RSS Feed

Rss Feed

Database Journal |DBA Support |SQLCourse |SQLCourse2

Featured Database Articles

Database News

Posted Aug 27, 2004

The History of JavaScript and Databases

By DatabaseJournal.com Staff

[From WebReference.com]

JavaScript and databases have a mixed history, due in part to JavaScript's success as the Web's scripting language. But the security provisions for Web applications has been to work in a "closed sandbox," which restricts the ability of a Web program to read (let alone write) local files. Here is the range of sandbox options:

  • One can read a PC client's file, most often an image file, for upload to a website.
  • One can write to a local cookie file addressed by name and date if the user permits cookies.
  • Each cookie can be a maximum of 4K in length (including name and date ID).
  • Your web server program may write a maximum of 20 cookies.

This is hardly the right stuff for database intensive applications; yet database operations take place in Web applications. But 99.99% of those database operations are done on a Web server. Or to be more precise, are passed on through the Web server to an application server which often invokes a database server. This 3-stage operation is the heart and soul of n-tier distributed Web processing that drives most current Web development. And JavaScript may be used either on the Web server or the application server and be involved in database operations.

The article continues at http://www.webreference.com/programming/javascript/j_s/column9/

Database News Archives

Latest Forum Threads
Database News Forum
Topic By Replies Updated
Efficient SQL Server Indexing by Design lcole 0 April 30th, 12:38 PM
Mine Oracle Database, SQL Server and Other Databases with Monarch Data Pump Pro V10.5 lcole 0 April 30th, 12:37 PM
Oracle Database and Oracle Fusion Middleware for Private Social Network Application lcole 0 April 30th, 12:31 PM
Oracle Database Maintains a Stronghold in the DBMS Market lcole 0 April 30th, 12:30 PM