Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Offline Database ?


  • From: davecline at onebox.com (davecline@xxxxxxxxxx)
  • Subject: [Javascript] Offline Database ?
  • Date: Wed Jun 30 16:38:28 2004

hsqldb and java.
Would be fully contained and could be run direct from the cd or from an installation on a harddrive.

You could even put the entire jdk on the cd and any java app could use it rather than any jdk on the users system.

OR

you could put all of your data into an XML file and load it into your browser from the CD via XMLHTTP in both IE and Mozilla. Use JavaScript to access your data then.

OR

you could create an entire javascript hierarchy that represented your data and then use javascript to access it directly. I.e. 

<html>
<head>
<script>

root = {
  users: [
    {id:1,name:"Tom Jones",title:"Mr."},
    {id:2,name:"Betty Crocker",title:"Ms."}
  ],
  messages: ["Click Here","An error has occurred","Thanks for watching "]
 }
 
//~~~~~~~~~~~~~~~~~~~~~~~~~
function main()
{
  var user = root.users[1];
  document.body.innerText = root.messages[2] + user.title + " " + user.name;
}
</script>
</head>
<body onload="main()">
</body>
</html>


-- 
Dave Cline
davecline@xxxxxxxxx
www.bangeye.com/
801-636-5603




-----Original Message-----
From:     Tim Makins <spindrift@xxxxxxxxxxxxx>
Sent:     Wed, 30 Jun 2004 19:10:12 +0100
To:       "[JavaScript List]" <javascript@xxxxxxxxxx>
Subject:  [Javascript] Offline Database ?

I am in the middle of a big mapping project, that is viewed as a series of
web pages either direct off a CD, or copied as a package to the hard drive
and viewed there.

A new requirement has come up - I wonder if there is some kind of
easy-to-use database software that could be run in the same manner ? I
wouldn't expect people to do a full installation of PHP, Apache, and MySQL,
but that kind of functionality would be pretty neat.

I would need to access the database from the web pages, and get the results
so that I could use the data in various ways.

The key issue would be ease-of-install for the recipient.

Any ideas ?

Tim in Ireland.

_______________________________________________
Javascript mailing list
Javascript@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript