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.
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
Post a Comment