//flex table opened by JP

Click to See Complete Forum and Search --> : Is all JavaScript Open Source?


binarygirl
01-24-2001, 09:17 AM
I don't know if this is a silly question or not but, Is all JavaScript Open Source?

Thanks,
Robyn http://sysopt.earthweb.com/forum/smile.gif

Szech
01-24-2001, 11:12 AM
I'd have to guess no. When I was learning Java, my professor explained that the [i]private[/b] declaration made a variable or function hidden to the end user. This is to protect certain methods that the programmer does not want others to see.

rh71
01-24-2001, 11:33 AM
Well there's a difference between JavaScript and Java. I know little about the latter... JS is very much visible to everybody and sites like http://developer.irt.org/script/script.htm certainly show you it is pretty much open source. There's no real place for people to outright share the code because things can be coded in many different ways. If you're pretty much asking where can you find some JavaScripts, that link is a great place to start for any level.

cpr
01-24-2001, 05:12 PM
Hello,
Well, yes and no. There is NO WAY to hide client side JavaScript, since your browser need the actual code to interpret it. Althought I have seen one method to hide the code from "view source" but the code was still able to be optained through telnet. BTW: I've no idea how that hiding method worked.

As for server side JavaScript, I've no idea.

~cpr

golfcart
01-25-2001, 12:49 AM
I think it can be executed on the server side when it is embedded in an asp script. that would hide it from the end user.

rh71
01-25-2001, 09:40 AM
Want to hide code? Use Actionscript and Flash http://sysopt.earthweb.com/forum/wink.gif