Bag om Creating Web Pages Using the LightSwitch HTML Client
Visual Studio LightSwitch 2012 is a development tool that provides the easiest and fastest way to create forms over data, line of business applications and build applications for the desktop and the internet cloud by providing a tool that allows you to quickly and easily define and connect to your data, program your security and business rules, expose this via OData to practically any 'client' such as mobile devices and web pages. This book will demonstrate its use, explain, and provide examples of important concepts of its API (Application Programming Interface). Over the past year I have created more than thirty Visual Studio LightSwitch HTML Client projects. While creating those projects, I ran into challenges that required me to go deep into the LightSwitch HTML Client API. This book covers the core concepts as well as the use of advanced techniques that I consider important to properly leverage this incredible tool. Table of Contents:
Chapter 1:
Understanding the LightSwitch HTML Client
What Is Visual Studio LightSwitch?
The Visual Studio LightSwitch HTML Client
Single Page Application (because faster is better)
Chapter 2:
Create an End-To-End LightSwitch HTML Application
How Does A LightSwitch HTML Client Application Work?
Chapter 3:
The LightSwitch HTML Client API
The Binding Pattern
Promises
Chapter 4:
Working With Data
Searching Data
Setting Defaults
Dynamically Creating Records
Deleting Data
Chapter 5:
Working With Screens
The Visual Collection API
JavaScript
Chapter 6:
Application Navigation
Show a Message Box, and Respond To a User Selection
Create a Custom Modal Picker by Using A Popup
Copy a Record - Show Add Edit Dialog with Initialized Parameters
Navigating to a New Screen (and Returning)
After Editing -- Return Focus and Browser Position to the Item
Chapter 7:
Advanced Topics
Using ServerApplicationContext
Using WCF RIA Services
Advanced JavaScript
Controls
Use a JQuery Mobile Control
Prevent JQuery Mobile from Overriding Custom Controls
Theming
LightSwitch HTML for the Desktop
Vis mere