as a javascript programmer I face a lot of problems with coding.First thing I found is its highly unstructured.Meaning like java it has no full object oriented structure.
and also the source code is made available in the browser.So that we must use some code obfuscation techniques.
in what way does this new javaFX so called client scripting language addresses these issues.
If you come to JavaScript expecting class-based OO, then yeah, you'll have problems. JavaScript is a functional language with prototype-based inheritance. It's actually quite an elegant language once you learn it -- but you do need to take the time to learn it.
JavaFX Script is a declarative scripting language that is fully object-oriented and statically typed. Please take a look at the following blog post to see an example of all of these qualities: Roll the Dice - A Compiled JavaFX Script Example
Thanks,<br />James L. (Jim) Weaver<br /><a href="http://JavaFXpert.com" target="_blank" rel="nofollow">"Helping you become a JavaFXpert" weblog</a>
Regarding your code obfuscation question, JavaFX Script is a compiled language, so it is distributed as .class files and is as obfuscated as Java. This reminds me, by the way, of the old saying: "Eschew obfuscation!" :-)
Thanks,<br />James L. (Jim) Weaver<br /><a href="http://JavaFXpert.com" target="_blank" rel="nofollow">"Helping you become a JavaFXpert" weblog</a>
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
Gift giving made easy with the permaculture playing cards