Ashish Ghoda978-1-4302-1867-8, 978-1-4302-1868-5
The book begins with a clear discussion of why Silverlight is such a good choice for developing RIAs and the implications that this has for your development decisions. The options available will be demonstrated by constructing a simple web–based training portal for a fictional enterprise, which will be extended and altered to demonstrate the techniques and methods that you have available to you. This includes accessing data using WCF and LINQ, and considering how best to deploy your finished Silverlight application when it is complete. The book also discusses the future of Silverlight for Mobile and how to plan for its release.
This book is unique in that it focuses on how Silverlight can be applied in today’s business environment rather than simply delving into the product’s syntax and grammar in isolation. Silverlight is discussed in context with consideration given to security, scalability, and deployment. As such this book makes an excellent addition to any Silverlight library and extends your knowledge into practical areas that are rarely discussed.
What you’ll learn
– Advanced design concepts to develop loosely coupled web–based applications using Silverlight 2
– The role of Silverlight library assembly
– How to use dynamic Silverlight user controls to build your user interface at runtime
– How to externalize your data source definitions
– LINQ integration
– WCF/Web services integration
– Secured same–domain/cross–domain deployment
– The ABCs of developing mobile applications using Silverlight, including coverage of the common pitfalls and traps you may encounter
– Practical advice on how to adopt the Silverlight development platform in you’re your organization
Who is this book for?
This book is for enterprise architects, IT executives and IT professionals, the developer community, technical and project managers, and anyone who wants to start using Silverlight 2 in a corporate environment.
About the Apress Pro Series
The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.
You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard–won solutions to problems you will face in your professional programming career.
Table of contents :
Prelims
……Page 1
Contents at a Glance……Page 7
Contents……Page 9
About the Author……Page 15
About the Technical Reviewer……Page 17
Acknowledgments……Page 19
how this book Is Structured……Page 21
Contacting the Author……Page 23
Web 2.0 and RIAs……Page 27
Key Attributes of Web 2.0……Page 28
RIA Architecture……Page 30
The Five Usability Dimensions for RIAs……Page 32
Technologies That Support RIAs……Page 33
Different Versions of Silverlight……Page 38
Silverlight Is Platform Independent……Page 41
Presentation Core……Page 42
Microsoft .NET for Silverlight……Page 43
Defining User Interfaces in Silverlight……Page 44
Event Integration: Managed Code and Scripting Programming Models……Page 47
Data Binding……Page 49
Microsoft Expression Studio 2 SP1……Page 51
Summary……Page 52
Apress Reference Books……Page 53
Defining the My Album RIA Project……Page 55
Application Features……Page 56
Application Capabilities……Page 57
User Interface Framework……Page 58
Other Considerations……Page 59
Developing the My Album RIA……Page 60
Creating the My Album Silverlight Project Using the Silverlight Application Project Template……Page 61
Defining the Left Navigation Pane……Page 62
Defining the Preview Pane……Page 68
Defining a Container for Pictures……Page 73
Defining Full-Screen/NormalScreen Mode……Page 74
Defining the Play/Stop Command……Page 75
Defining Animations Using a Storyboard……Page 77
Preparing Thumbnails for the Preview Pane Using Microsoft Expression Encoder……Page 78
Adding Image and Video Files……Page 79
Defining Application Behavior Through the CodeBehind……Page 80
Finishing the Development of the My Album Application……Page 93
Packaging the My Album Silverlight Application……Page 94
Deploying the My Album Silverlight Application on Microsoft Silverlight Streaming by Windows Live……Page 95
Method 2: Using a Live Control……Page 100
Summary……Page 101
Links from the Microsoft Web Site……Page 102
Defining Enterprise 2.0……Page 105
Goals for the Enterprise-Ready Technology Platform……Page 109
Silverlight-Based Applications Are BusinessEnabled RIAs……Page 113
Architecture Components for Enterprise RIAs……Page 114
Current Design for the My Album RIA……Page 119
Designing the My Album Application As an Enterprise RIA……Page 120
Defining the Business Components Layer……Page 121
Links from the Microsoft Web Site……Page 122
Defining ServiceOriented Architecture……Page 123
Key Objectives of SOABased Applications……Page 124
Key Components of Services……Page 127
Silverlight and SOA……Page 128
Device and PlatformIndependent Applications……Page 129
Modularity and Reusability……Page 130
SOA-Based RIAs: Seven Key Principles……Page 131
Usability……Page 132
Flexibility……Page 133
Simplicity……Page 136
Reusability……Page 137
Scalability……Page 138
Maintainability……Page 141
Security……Page 142
Microsoft Silverlight and the Seven Key Principles……Page 144
LINQ……Page 145
Building a Dynamic Service-Oriented Silverlight Application……Page 147
Summary……Page 157
Recapping the My Album RIA……Page 159
Defining the Enterprise Training Portal RIA Project……Page 160
Design and Development Considerations……Page 162
Development Tools Used to Develop the Enterprise Training Portal RIA……Page 163
Application Architecture……Page 164
Presentation Layer……Page 166
Business Service Layer and Data Access Layer……Page 169
Data Platforms……Page 173
Key Components of Custom Controls……Page 175
Visual State Manager……Page 179
Developing a Sample Custom Control……Page 180
Deploying a Custom Control……Page 183
Project Structure of the Enterprise Training Portal……Page 186
Developing the Data Access WCF Service: getContents……Page 187
Developing the Core Data Access Component: tpDataLayer Class Library……Page 192
Developing Custom Controls Enterprise Library……Page 203
Developing the Main Silverlight Application Project: TrainingPortal……Page 236
Centralized Deployment of the Enterprise Training Portal RIA……Page 247
Links from the Microsoft Web Site……Page 250
Defining the Deployment Process……Page 251
Definition……Page 252
Implementation……Page 253
Silverlight Deployment Package Definition……Page 254
In-Package and OnDemand Files……Page 258
Hosting Silverlight Applications……Page 259
Server-Side Silverlight RIA Deployment……Page 260
Embedding Silverlight Plugins into the Web Page……Page 263
Custom Error Handling for Better User Experience……Page 264
Silverlight Applications Supporting Globalization and Localization……Page 266
Summary……Page 269
Links from the Microsoft Web Site……Page 270
Enterprise Mobility for Enterprise 2.0……Page 273
Mobile Applications……Page 274
Usability and Simplicity……Page 275
Scalability and Maintainability……Page 276
Architectural Considerations……Page 277
Mobile Application Types……Page 278
Communication Patterns……Page 280
Synchronization Models……Page 282
Mobile Application Design Considerations……Page 285
Same Silverlight Applications for Desktop RIAs and Mobile RIAs……Page 288
Where Do We Stand with Silverlight for Mobile?……Page 289
Summary……Page 290
Silverlight in a Nutshell……Page 293
Understanding the Current Challenges of Silverlight……Page 295
Making a Decision on Adopting Silverlight……Page 297
Key Considerations for Adopting Silverlight……Page 299
Links from the Microsoft Web Site……Page 301
Index……Page 303
Reviews
There are no reviews yet.