Silverlight Developers can make use of XAML Markup within both Managed API along with JavaScript API
In order to carryout Silverlight development productively, Silverlight developer in UK can implement two kinds of Silverlight application models. With the aid of such application models, it's possible to generate simple, intricate as well as extensible apps. These apps in return readily share the resources all over the network. The first model is that of the managed API for Silverlight which exploits program code working for the common language runtime (CLR) for Silverlight. Managed API can be utilised with complied languages like for example Visual Basic and C# or dynamic languages which include IronPython and IronRuby.
The second model is JavaScript API for Silverlight. This model uses JavaScript code interpreted through the web browser. Many Silverlight documents makes use of managed API which includes more features to offer compared to JavaScript API. Managed API based apps can even access lightweight version of the .NET framework. JavaScript API based applications incorporate the use of only the Silverlight presentation core as well as the browser JavaScript engine.The Silverlight developer in UK can conclude managed assemblies as well as resource files in application package (.xap) files with the assistance of the managed API. Silverlight plug-in aids loading of application package in addition to dragging of its contents.It is necessary that application package has got an assembly that has a class extracted from the app. The Application class is comprised of interaction within the application and the Silverlight plug-in. User interface inside host web page can be displayed over the Application class. Also, it features application lifetime events as well as resource management.In both Managed API as well as JavaScript API, Silverlight developers in UK could use XAML markup to add ui designs. The managed API enables developers incorporate the application code into multiple XAML files and accompanying code-behind documents. Silverlight plug-in helps loading of XAML files. With this loading, object tree is generated that can be manipulated by means of code-behind. Now this code in addition aids manipulation of the HTML Document Object Model (DOM) by the HTML Bridge.JavaScript API calls for just a single XAML page and not the complete application package. In this XAML, you can find URI references to server-side resources just like images and videos. XAML is employed to make an object tree and then developers can adjust it programmatically with JavaScript in the host HTML page.The complex apps which has internal navigation aren't assisted by application model offered by the JavaScript API. Nevertheless, it will help in some situations where you can employ managed API is too heavy for instance such as splash screens. Silverlight developer in UK can implement simple navigation through loading new XAML pages in to the Silverlight plug-in or by way of loading new Web pages in the browser. The developer incorporate the use of both managed API as well as JavaScript API for silverlight to use JavaScript in the host HTML page to combine Silverlight with the HTML Document Object Model (DOM).So as to set into action many of the developer application characteristics, Silverlight developer should certainly use browser-interpreted JavaScript which could directly meet up with the DOM. The Managed API with the aid of the HTML Bridge aids interaction of the JavaScript and DOM with Silverlight plug-in and the application model.As a result, these two programming models are not the same as they cannot be chosen together within a single instance of Silverlight plug-in. Yet, you could use splash screen which utilizes the JavaScript API and then changes to the managed API when the app has loaded.