MagSafe
2008-06-27, 16:30
Hey folks,
So I'm about to start working on a web app. I work with HTML/JS/XML/server side code daily as my job so I've been dying to try out an idea of my own I've had for a while now.
I'm going to be creating my own JS framework for it, instead of using something like SproutCore as I'd like full control over the whole thing, and also so I can improve my knowledge of things like that as well.
Many people will probably argue this (from what I've read on other forums anyway); but at the end of the day I'd like to hide my JS from the user. As 'web apps' start becoming more & more like actual software ran on the operating system, you don't see app's like Photoshop, Logic, etc making their code openly available.
I'd like to do something like...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>untitled</title>
</head>
<body>
Loading...
</body>
</html>
...but to not include any script tags or an onLoad event.
Even if this can't be done, I'd like to know of people's recommendations for ways to make it as inaccessible as possible.
Cheers for any advice :)
Steve.
So I'm about to start working on a web app. I work with HTML/JS/XML/server side code daily as my job so I've been dying to try out an idea of my own I've had for a while now.
I'm going to be creating my own JS framework for it, instead of using something like SproutCore as I'd like full control over the whole thing, and also so I can improve my knowledge of things like that as well.
Many people will probably argue this (from what I've read on other forums anyway); but at the end of the day I'd like to hide my JS from the user. As 'web apps' start becoming more & more like actual software ran on the operating system, you don't see app's like Photoshop, Logic, etc making their code openly available.
I'd like to do something like...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>untitled</title>
</head>
<body>
Loading...
</body>
</html>
...but to not include any script tags or an onLoad event.
Even if this can't be done, I'd like to know of people's recommendations for ways to make it as inaccessible as possible.
Cheers for any advice :)
Steve.