开发者

Can all JavaScript functionalities be theoretically replaced with Silverlight?

开发者 https://www.devze.com 2023-01-10 00:28 出处:网络
Can all JavaScript functionalities be开发者_StackOverflow theoretically replaced with Silverlight?

Can all JavaScript functionalities be开发者_StackOverflow theoretically replaced with Silverlight? If yes, I can save my time and just learn Silverlight.


I recommend that you learn JavaScript as well as Silverlight.

Silverlight is a product of Microsoft. Being proprietary, it may or may not be popular or even exist a few years down the road. JavaScript (ECMAScript) is an open standard and is supported natively by all browsers. Knowledge of JavaScript will be useful for any web site project.


Theoretically yes. Just remember that only about 60% of internet-enabled computers have it installed. And don't forget all the accessibility issues associated with using a plugin instead of using native browser functionality.

Only use it if you absolutely need a feature of Silverlight that HTML/JavaScript cannot provide, and even then, it would probably be better to use Flash because of its install base.


Theoretically, yes, Sliverlight could replace JavaScript, as could Flash.

But you have to remember that JavaScript is always faster than Silverlight (or Flash), and therefor better for most tasks.

0

精彩评论

暂无评论...
验证码 换一张
取 消