Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AJAX on CD 1

Status
Not open for further replies.

dpk136

MIS
Jan 15, 2004
335
US
I don't know if this would work or how it would work...just need to know if it is possible. Would it be possible to have a website with AJAX run off of a CD and be able to save data to the hard drive of the computer that you are working on?

David Kuhn
------------------
 
AJAX makes a http request , so the URL needs to be to a machine running as a webserver for HTTP requests, I'm not aware of a CD being capable off running as a web server, so don't think it would be possible.

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
I keep all of my web work on a portable USB drive running XAMPP (
This may be a place to start. Paths for writing access logs and MySQL databases might be adjusted to a default folder on the hard drive. You should of course set Apache to run on a non standard port in case there is already a server running on the computer.
 
cool links, thanks, but I think distributing your website on a USB flash drive with the server already installed would be a costly business!

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
What i was looking at was having the software (ajax) run off of the CD and only having storage files (for the data) stored on the hard drive of the computer. Looks like i'll just go to a .NET app. Thanks for all the help and the link.

David Kuhn
------------------
 
the software AJAX is JavaScript and runs in the client browser, you use JavaScript to make a call to a server to process a HTTP request.

If you had a HTML file on the CD, which contained the script and the user was connected to the internet, then the 'application' would work if it called an external server for procesing the HTTP requests.

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
but I think distributing your website on a USB flash drive with the server already installed would be a costly business!

I was referring as using a default installation of XAMPP (intended for a read/write drive) as a starting point for CD distribution. You might tweak the configuration so that any read/write is done to a folder on the hard drive. Or you could simply disable all logging from Apache so no writing is needed.

AJAX does not necessarily need to write unless the application calls for it. I mostly use it for polling/reading databases so it is conceivable to run the whole server shebang on a read-only volume.
 
cool

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Seconding Dkdude...

Server2Go rocks!

Do all your development on your flash drive; distribute full-featured web applications with scripting & databases on CD-ROM.

--RHYNO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top