Skip to main content

Understanding Silverlight

Silverlight to bring rich Internet application on your website

Sounds interesting, but what is rich internet application? is a simple web application that has the characteristics such as desktop applications, can display animation, video graphics and audio. indeed, it is not ideal and it is not something new as well. We already have the current Adobe Flash and Microsoft Silverlight



Silverlight

Silverlight is a plugin in the browser, meaning you must install the Silverlight runtime on the client side as you, so you can access the features on the Silverlight web browser. Silverlight is used in the Windows operating system and Mac OS X. For the operating system Linux, developed by the Mono Project, although until now not include Moonlight overall features of the Silverlight

Currently, Silverlight has reached version 3.0 beta, since the initial release in 2007. While the still new, the implementation of Silverlight has been found on the website, great website. For example, such as http://memoribilia.hardrock.com the features to zoom in and zoom out images with high resolution (also called the DeepZoom) does not cause the image to be broken even if you do zoom in the picture with the extreme

This can be done only because the Silverlight download in the image and the resolution of the current views, although this technique speed loading time compared to downloading the entire image with high resolution, but for those of you who have internet connections, which are relatively less fast, less comfortable to enjoy this feature , although on further explanation, you will know the actual Silverlight Technology has been the process of minimizing the burden on the server.

Another example implementation of Silverlight you can see on the website that uses Silverlight http://www.popfly.com for various games. To identify the Silverlight application, you can right-click on the area that will display the application menu Silverlight, Flash is similar to the first known.

Examples of other web applications using Silverlight can be seen in the URL http://silverlight.net/showcase

Development Tools

Silverlight application consists of a text file, so it can be written with any text editor. For the development of a larger scale, you can write Silverlight applications with language-based program. NET, along with the development. NET Framework stabile release at this time has reached version 3.5 (. NET Framework 4.0 is still in beta version) However, to install. NET Framework is not mandatory, because the plugin Silverlight download works with the library-the library needs

To make user interface design, you can also use Microsoft Expression Blend, which support text engine WPF (Windows Presentation Foundation) is able to produce typography ClearType and OpenType also supports vector-based 2D and 3D with hardware acceleration via DirectX

If you often work with ASP.NET, Silverlight using designed in the same paradigm. But there is a different process when the application is running. On ASP.NET, you certainly understand that the process is located on the main server, and the pages requested in the client. On Silverlight, is located on the main client, even though the client still interacts with the server to request the necessary data. This is one of the purposes Silverlight plugin, which served as a platform on the client application.

For development purposes, you also need the Microsoft Silverlight SDK at the URL http://silverlight.net (DOWNLOAD) Silverlight SDK provides component, utility, and documentation

XAML

Each programmers will be familiar with Silverlight XAML (extensible Application Markup Language) XML-based XAML (Extensible Markup Language), by Microsoft as the author, as directed XAML markup language for defining user interface elements, data binding, event, and other features. Even in Windows Workflow Foundation, XAML can be used to define the Workflow.

To better understand it, make a simple program, create a folder to hold files that are required, make sure the folder is accessible via HTTP, you can use the web server Apache or IIS

Create a simple XAML file as follows:





Save this code with a name that is easily understood, for example myUI.xaml. This code will write "Learning Silverlight" in the web browser, but not necessarily can be called through a web browser, you must call through the HTML / JavaScript as follows:



Save the file, for example with the name index.html. Attention the following lines:



The base contains the instructions to call Silverlight.js file that is located in the same folder where the file Silverlight.js you get? If you've installed Silverlight plugin (Silverlight.2.0.exe) (DOWNLOAD) and the Silverlight SDK (Silverlight_sdk.exe) (DOWNLOAD), the file is located on the Silverlight.js folder C: \ Program Files \ Microsoft SDKs \ Silverlight \ v3.0 \ Tools, copy into the same folder with the index.html. Then you can call the index.html in a browser through HTTP

Not easy enough? File Silverlight.js functions as the library must be included, the file index.html to function as the page field, and myUI.xaml file contains the user interface to display.

Of course, not only that Silverlight can do, change the file myUI.xaml into the following program code:



Glimpse the line-line program, you can certainly guess that will be shown is the form of a square. Speciality can appear with the color gradation.

Animation

Start a new internet is known knowledgeable, very rare form of we see a smooth animation, is quite happy if you have a website with animated text to run through the resulting HTML tag (marquee), add in a little animated GIF images (which it frame very few) But how then appear -a new way to use JavaScript, DHTML, and Dom (Document Object Model) Since start Flash is often used, Isn’t animation, making games on the website is common.

As a technology-which is called as a Flash competitor, Silverlight is certainly has a similar ability. One way to display animation effects, is to use a Storyboard object

Storyboard main structure is as follows:



The above code contains instructions to run the animation on the object named object1, Form attribute = "50" To "200" means the width of object1 from 50 to 200, the attribute Duration = "0:0:5" means that the animation is run in time 5 seconds (using the format hh: mm: ss)

Silverlight is still a lot of interesting discussion, but with a basic understanding and a few examples given in this article, you will not be expected to have difficulty means to delve further

One thing to be interesting, rich internet application when trying to create a web application does not lose out with desktop applications, the consequences that occur is increasing the burden on the client, this is not happening on Silverlight, but we already met with the need to install the Flash plugin, or Java Runtime on the web application that uses Java. Although it must be recognized, progress in hardware specifications to make public a client computer at this time may in the same level or better specifications than the server computer 10 years ago. In addition, the Internet is also able to support efforts to overcome the burden of the excess with only download the required libraries, or other techniques.

But of course, there are some cases that is different and there is no one solution to all problems. For any case related to information technology, understanding the various solutions in the midst of technological progress in different sectors is important, but the new meaning when you are able to choose the best solution, according to the situation and condition you.

Comments

Popular posts from this blog

Graphical User Interface in Java (Part 1 From 3)

Frankly, graphics-based applications are always more interesting than the application of command-line based. And the good news, building graphical applications in Java, it is not as difficult as imagined Java is a programming language first released by Sun Microsystems in 1995. Java philosophy of "Write Once, Run Everywhere" make Java become one of the popular programming languages today. According to the official website of Java, Java technology currently used in 4.5 billion devices (more than 800 million PCs, 1.5 billion gadgets, 2.2 billion smart cards) and still did not include use in printers, web-cam, games, car navigation systems, medical devices, etc Know Java If you've heard of Java, but not so deeply in the program, chances are you will be confused with terms such as Java 2 SDK, JDK, Java Applets, Java Script, Java Runtime Engine (JRE), Java SE 6, etc. All of the Java technology, but if you want to learn to develop Java applications on a PC, the Java SE (Standar

Redmi Officially Launches Redmi Watch

  Redmi officially released its initial smartwatch Redmi Watchin China. In terms of style, Redmi Watch looks similar to the Apple Watch. Redmi Watch has a square-shaped design with rounded corners. Redmi Watchcarries a 1.4 inch 2.5 D display with a resolution of 320 x 320 pixels. Its weight is quite light, just 35 grams.Redmi Watch brings water resistance technology with a depth of up to 50 meters. Redmi Watch brings a variety of sports activity discovery features, from running, cycling, swimming, and also much more. Redmi Watchhas numerous innovative features including a heart price detector and also a rest period tracker. All tracking tasks can be kept track of and also accessed through the Mi Fit application. Via this application additionally, users can establish the screen face on Redmi Watch. There are greater than 120 types of front views to select from for free. Redmi Watchcan get in touch with mobile using Bluetooth connection. This wise watch includes NFC assistance

New Autoit: Debug Mode!

The virus is always ranks 10 most popular of the virus, even in the big 3 a few months back. How new variants in action? Follow this following discription Virus-like folder icon with the standard Windows default this is the older players in the world of viruses. Variannya very much, and comes with a variety of sizes. Of the first characteristics that never change is the use of a folder icon with the aim to deceive users. Antivirus others have to recognize that Autoit virus with a lmaut, Sohaned, or YahLover, known as our own Autoit.EE What Is Autoit ? Alleged that the author himself called Nhatquanglan the most likely came from Thailand. But we are not sure whether the new variants also come from the same manufacturer. For those of you who have never know what it is to Autoit. Autoit or full Autoit Script, is also the name of the applications that use automation to create a script, exactly automation, hotkeys, and scripting, as written in the site. In short, the script will be in autoi