[Javascript] Offline Database ?

Tim Makins spindrift at oceanfree.net
Thu Jul 1 02:25:51 CDT 2004


Thanks Dave for the ideas. I will look into the new possibilities you raise.

Tim in Ireland.

----- Original Message ----- 
From: <davecline at onebox.com>
To: <javascript at LaTech.edu>
Sent: Wednesday, June 30, 2004 10:34 PM
Subject: RE: [Javascript] Offline Database ?


> 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 at gmail.com
> www.bangeye.com/
> 801-636-5603
>
>
>
>
> -----Original Message-----
> From:     Tim Makins <spindrift at oceanfree.net>
> Sent:     Wed, 30 Jun 2004 19:10:12 +0100
> To:       "[JavaScript List]" <javascript at LaTech.edu>
> 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 at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list