...

View Full Version : Javascript Compiler Question



theflyingminstr
08-25-2007, 07:42 PM
Hi I have a site that I made that uses Javascript and HTML, is there such a thing as a Javascript/HTML compiler that will essentially take the site and make it into an executable file?

Please send me any references on this subject if you can..

Thanks!

Philip M
08-25-2007, 07:48 PM
Hi I have a site that I made that uses Javascript and HTML, is there such a thing as a Javascript/HTML compiler that will essentially take the site and make it into an executable file?

Please send me any references on this subject if you can..

Thanks!

No. JavaScript is interpreted by the user's browser, as is HTML.

And before you ask, there is no way of "protecting" your Javascript or preventing others from viewing it.

Our advice and assistance are packaged by intellectual weight, not volume.
Some settling of contents may have occurred during transmission.

liorean
08-25-2007, 08:19 PM
Hi I have a site that I made that uses Javascript and HTML, is there such a thing as a Javascript/HTML compiler that will essentially take the site and make it into an executable file?

Please send me any references on this subject if you can..That depends a bit on what you mean by "executable file". You can create an .MHT (--> MHTML --> MIME HTML --> Multipurpose Internet Mail Extension HTML) file so that the HTML, CSS, JavaScript and other external files are bundled together.
That is not an executable however, it's just all the files bunched together according to the MIME standard (same standard as is used in rich-text (HTML) mail), and interpreted by Internet Explorer or Opera. (IIRC none of the other browsers have full support for MHTML yet...)

Adobe Apollo can be used to create "offline sites" that can run on the Adobe Apollo runtime. If those are compiled or just bundled in an archive, I don't know.

I also think Microsoft SilverLight (formerly WPF/E, Windows Presentation Foundation Everywhere) can do something similar, but at least for version 1.0 those are not compiled.



Both the latter require that users have those runtimes installed, however.




I forgot: For Internet Explorer on Windows only, you can create a .HTA file (HyperText Application), which is kinda like an executable. It's still not compiled, however.

theflyingminstr
08-25-2007, 08:29 PM
Thanks for responding. I'm not necessarily looking to protect the files, I just want to make it possible for people to download my web site as an executable file.

There's no way I can transfer the data into another format and then compile it?

felgall
08-25-2007, 11:35 PM
The closest thing to what you are looking for is Adobe Integrated Runtime (which used to be called Apollo)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum