Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 SL4BIZ - Silverlight for Business. 2  Some points… › Microsoft MVP › MCP, MCTS. › Trainer (hopefully MCT in short ;) › Technical writer & speaker.

Similar presentations


Presentation on theme: "1 SL4BIZ - Silverlight for Business. 2  Some points… › Microsoft MVP › MCP, MCTS. › Trainer (hopefully MCT in short ;) › Technical writer & speaker."— Presentation transcript:

1 1 SL4BIZ - Silverlight for Business

2 2  Some points… › Microsoft MVP › MCP, MCTS. › Trainer (hopefully MCT in short ;) › Technical writer & speaker. › Barcelona Developers User Group Leader › INETA Speaker  Contact details › Name: Jose Luis Latorre › E-mail: joslat@gmail.com › Twitter: @joslat › Phone: Sorry! ;)

3 3 SL4BIZ - Silverlight For Business

4 4  Introduction to Silverlight technology.  Silverlight for Business right now.  Demo time!  Futures & what will V5 bring?  Question time.

5 5  Silverlight enters the market as an alternative to develop rich islands inside web pages or, better, to design and develop whole sites completely with Silverlight technology – which is really complicated doing so with other technologies. Silverlight also provides high integration with other development environments that we all know.  In any case, Silverlight is a Cross-browser plug-in that works in multiple platforms, with high performance including a multi-core technology and designed to solve the most usual (and unusual) RIA Application problems, like loading/unloading of content, flexible layouts, media reproduction and other..

6 6  Silverlight comes from WPF, Windows Presentation Foundation and is, by now a subset of this technology adapted to web execution.  In fact, in its first versions, it was called WPF/E (Windows Presentation Foundation Everywhere).

7 7  Easy development of RIA applications.  Development on a confortable environment (VS 2008 & VS 2010)  Based on known and reliable technology (.NET).  Thought for intense communications (Webservices, JSON, REST, WCF, etc..)  Based on the evolution of graphical interfaces (WPF, XAML). › It is important to let clear what XAML is, known as “eXtensible Application Markup Language”. XAML is a declarative language derived from XML which functionality is allow us to define the visual interface, its elements and their layout. It is very similar to other XML derived languages for describing interfaces, like XHTML.  Decoupling the tasks of the Designer (View) and the Developer (Back End, Model, ViewModel, etc..)  Multi-device & multi-Browser.

8 8  Basically, Silverlight is a browser plug-in that renders XAML and allows us to execute code on the client machine and thus saving us from sending the information to the server, its procesor time and the callback with the information, which is what happes with ASP.Net pages (and similar technologies).  High performance in multimedia, concretely in video streaming & its reproduction.  Silverlight is vector based.

9 9  Impressive evolution.  Multi platform & Multi browser pluginof around 4Mb.  Already on 60% of the world’s browsers.  Actually the best solution for developing RIA applications.

10 10

11 11

12 12

13 13  Introduction to Silverlight technology.  Silverlight for Business right now.  Demo time!  Futures & what will V5 bring?  Question time.

14 14 Actual capabilities (with SL4.0 & WCF RIA Services 1.0) Displaying data Binding enhancements DataGrid enhancements Rich Text Box Stacked series Charts  Filter  Grouping  Sorting  Paging  WebBrowser Professional look and feel ICommand Right-Click Context Menu Implicit Styles / Themes Fluid UI Mouse Wheel Getting user input Drag & Drop Webcam / mic RIA Services Multi touch COM Validating user input INotifyDataErrorInfo Async Validation IDataErrorInfo Cross-field Validation Authentication Saving data and sharing it Printing Clipboard Office Integration

15 15 WCF RIA Services Vision – now with 1.0 flavor!  Simplify n-tier data-driven application development  A higher level framework on top of existing building blocks › LINQ, Data Access Technologies, WCF, Metadata  Provide an application architecture that scales to fit needs of breadth line-of-business applications

16 16 Actual capabilities (with SL4.0 & WCF RIA Services 1.0) Displaying data Binding enhancements DataGrid enhancements Rich Text Box Stacked series Charts  Filter  Grouping  Sorting  Paging  WebBrowser Professional look and feel ICommand Right-Click Context Menu Implicit Styles / Themes Fluid UI Mouse Wheel Getting user input Drag & Drop Webcam / mic RIA Services Validating user input INotifyDataErrorInfo Async Validation IDataErrorInfo Cross-field Validation Authentication Saving data and sharing it Printing Clipboard Office Integration

17 17 Vision and Goals  Simplify RIA-style application development › n-tier is hard, and un-natural › Focus on data-driven apps  Bring ASP.NET-style productivity to RIA development › Building blocks for data, security, etc. › Focus on scenarios  Client as an extension of the server  A single logical application

18 18 ApplicationApplicationBrowserBrowser Rich Internet Application DB ServiceService Other Applications A Unified Story for Client and Server Data Access Layer AppLogicAppLogic ServicesServices HTMLPresentationLogic Network

19 19 Scaling your DomainServices AppLogic Databases ADO.NET, ORMs (LTS, EF, …) Lists/Objects Repository (NHibernate, …) Services REST/SOAP (Azure, …).NET Clients Silverlight, Phone, WPF Standards Clients JavaScript Server Rendering HTML, Sitemaps Services SOAP, XML, JSON, OData Unit Test Code

20 20 WCF RIA Services Application DB Services Data Access Layer AppLogic PresentationLogic Network DomainService Stateless CRUD + App Logic class BookShelfService IQueryable GetBooks() void ShareBook(Book) void UpdateBook(Book) void UnshareBook (Book) Validation, authorization, business rules Data Model class Book DomainContext Stateful view + Bindable Data class BookShelfContext EntitySet Books { get } EntityQuery GetBooksQuery() Entities class Book Data members + Validation Data Model + Metadata + Shared Code DomainService.Query Invoke GetBooks() Compose query, execute, serialize results DomainService.SubmitChanges Authorize, Validate, Execute, Persist var q = Context.GetBooksQuery() Context.Load(q); Context.Books.Add(newBook); Context.SubmitChanges(); Queries and ChangeSets

21 21 A Prescriptive Pattern Rich Internet Application DB ServicesServices Data Access Layer AppLogicAppLogic PresentationLogic Network DomainService Stateless CRUD + App Logic class PlateViewDomainService IQueryable Get Restaurants () IQueryable Search Restaurant (string) void Add Restaurant ( Restaurant ) Validation and authorization rules, Application workflows, … Data Model class Book DomainContext Stateful view + Bindable Data class PlateViewDomainService EntityList Books { get } EntityQuery Get Restaurant Query() EntityQuery Search Restaurant Query(string) class Restaurant Data members + Validation Data Model + Metadata + Shared Code Domain Context DomainService Under the covers infrastructure

22 22 ViewModel + RIA Services Application Data Model Services, Business Rules View Model App State, Operations, Notifications Presentation XAML, UI Logic <Button Content=“Load” Command=“loadCommand” /> public class BookShelfModel : INotifyPropertyChanged { BookShelfContext _bookShelf; public IEnumerable Books { get; } public void LoadBooks(string) { // use _library to perform search } public class Book : Entity { … } public class BookShelfContext : DomainContext { public EntitySet Books { get; } }

23 23 Sketching the ViewModel Books SelectedBo ok (two-way) SelectedBo ok LoadBooks( ) LoadMoreBooks () SaveBooks() ShareBook() UnshareBook() EditBook()

24 24  Introduction to Silverlight technology.  Silverlight for Business right now.  Demo time!  Futures & what will V5 bring?  Question time.

25 25 Demo

26 26  Introduction to Silverlight technology.  Silverlight for Business right now.  Demo time!  Futures & what will V5 bring?  Question time.

27 27 Futures & what will V5 bring?  5 to 6 months for next version (Beta - only for developers)  Some suggested features: › Improved databinding (non fw elements, styles, ancestors-relative binding, static…) › 3D support › More platforms, iPhone, iPad,.. › Encoding & Streaming from the client › Consolidate SL & WPF › Reporting › Better GPU Usage; Shaders › Local DB › Better Text Rendering..  See more & participate here: › http://dotnet.uservoice.com/forums/4325-silverlight- feature-suggestions › http://dotnet.uservoice.com/forums/57026-wcf-ria- services

28 28 Futures & what will V5 bring?  See more & participate here: › http://dotnet.uservoice.com/forums/4325-silverlight- feature-suggestions › http://dotnet.uservoice.com/forums/57026-wcf-ria- services

29 29  Introduction to Silverlight technology.  Silverlight for Business right now.  Demo time!  Futures & what will V5 bring?  Question time.

30 30 Thanks!!


Download ppt "1 SL4BIZ - Silverlight for Business. 2  Some points… › Microsoft MVP › MCP, MCTS. › Trainer (hopefully MCT in short ;) › Technical writer & speaker."

Similar presentations


Ads by Google