1 Do i still Need Microsoft Silverlight?
Hayley Primrose edited this page 2025-11-14 21:05:33 +08:00


Browsing the World Extensive Web has modified lots since the early nineteen nineties. Back then, most Web pages consisted of static textual content, just a few photographs and the occasional looping (and sometimes irritating) MIDI sound file. However the online has grown extra complex over the years. Right this moment, you'll be able to visit Web sites that incorporate video, animation, sound and interactive features. With probably the most superior Web pages, it is nearly like getting pulled right into a film. But so as to construct, view and interact with these new features, programmers have needed to create new purposes. A kind of functions is Microsoft's program Silverlight. Silverlight defies straightforward clarification. In many ways, it is just like Adobe Flash. Silverlight requires builders and customers to obtain a client -- Web browsers can't process Silverlight content with out this obtain. It provides Internet builders the power to include streaming video, audio and animation into Internet pages. Programmers can create complex, user-interactive Web applications using Silverlight technology. On the World Wide Net, these purposes have a particular identify: Wealthy Internet Applications (RIAs).


Internet browsers may finally evolve into totally-fledged Web-primarily based working systems as we use the Web to provide our data processing and storage needs. Leveraging the Internet in this way is named cloud computing -- programs and data reside within the "cloud" of the Web instead of on an individual person's machine. Silverlight is just one among dozens of tools designed to assist programmers create higher RIAs. Microsoft engineers constructed Silverlight as an extension of other Microsoft initiatives, however the appliance itself stands on its own. Microsoft promotes Silverlight as a cross-platform, cross-browser expertise. Which means Silverlight purposes ought to work on either PCs or Mac computers and within browsers like Internet Explorer, Firefox or Safari. Silverlight ought to quickly work with Linux computer systems as nicely -- an open-source mission known as Mono is spearheading the hassle to create a Linux model. Although Silverlight is a younger know-how, it's no stranger to bother or controversy.


Some developers and customers aren't eager on one more Net know-how that requires a downloadable plug-in to work. And a partnership with NBC throughout the 2008 Beijing Olympics might not have generated as much buzz as Microsoft hoped. But earlier than we bounce into all of that, let's first take a more in-depth look underneath Silverlight's hood. Silverlight 1 helps purposes written within the JavaScript programming language. Visual Primary. Both versions of Silverlight work throughout the .Web framework. So what's .Web? It is one other product from Microsoft. The .Net framework is a programming mannequin. Programmers can build applications within this mannequin -- notably Internet functions that rely on eXtensible Markup Language (XML).Web Framework's two major components are a common language runtime and a class library. The widespread language runtime acts like an administrator -- it screens purposes and allocates the sources these applications need (like Memory Wave Audio or processing energy) to run correctly. The category library incorporates a number of reusable software objects programmers can rely on whereas creating functions.


A software program object has two characteristics: state and conduct. An object's state refers to the totally different situations the object can have. For example, a program may have the states of "running," "paused" and "stopped" (though not all at the same time). Behaviors seek advice from what an object can do. And that is simply the framework that surrounds Silverlight! Inside Silverlight, Microsoft consists of Windows Presentation Foundation (WPF) expertise and help for eXtensible Software Markup Language (XAML). Application builders can use both WPF and XAML to create Web applications. Both WPF and XAML work seamlessly inside the .Net framework. Microsoft developed WPF as a result of Hypertext Markup Language (HTML) has limitations -- Web browsers are able to executing functions that are too complicated for HTML to assist. WPF uses a vector-based mostly rendering engine to generate graphics for functions. The main function of XAML is to provide developers the means to tweak the looks of their applications. Together, WPF and XAML outline the look and behavior of a Silverlight application.