accessing relational databases from javascript

Discussion in 'Javascript' started by mir nazim, Feb 8, 2004.

  1. mir nazim

    mir nazim Guest

    hello,
    i am writing an application and need to access mysql od sqllite from
    javascript.
    is it possible to access mysql/sqllite (or any free lightweight
    relational databse) directly from javascript. any help is appreciated.
    thanks
    mir nazim, Feb 8, 2004
    #1
    1. Advertising

  2. mir nazim wrote:

    > i am writing an application and need to access mysql od sqllite from
    > javascript.
    > is it possible to access mysql/sqllite (or any free lightweight
    > relational databse) directly from javascript. any help is appreciated.


    Well, if a host environment provides the objects for data base access
    then JavaScript can access the data base. MS JScript on Windows has
    new ActiveXObject('Program.Id')
    to instantiate COM objects and there are ADODB objects for database
    access which can be instantiated in an ASP page or a Windows Script Host
    program or probably if needed even in a HTML page loaded in IE (if the
    page is loaded locally and security settings are low enough).

    However if your intention is to have an abritrary JavaScript supporting
    browser loading a HTML page from a Web server access a data base server
    elsewhere on the net then there are no ways to do that.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
    Martin Honnen, Feb 8, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric Frigot

    Xindice VS Relational Databases

    Eric Frigot, Dec 20, 2004, in forum: XML
    Replies:
    1
    Views:
    450
    Jim Kennedy
    Dec 21, 2004
  2. Thomas Weholt

    Re: Any pure-python relational databases?

    Thomas Weholt, Jul 12, 2003, in forum: Python
    Replies:
    1
    Views:
    453
    =?ISO-8859-1?Q?Gerhard_H=E4ring?=
    Jul 13, 2003
  3. David McNab
    Replies:
    2
    Views:
    363
    David McNab
    Jul 14, 2003
  4. Ben Sizer
    Replies:
    0
    Views:
    296
    Ben Sizer
    May 28, 2008
  5. Ralph Amissah
    Replies:
    1
    Views:
    143
    Ralph Amissah
    Jan 6, 2005
Loading...

Share This Page