This article describes the architecture, hosting options, data sources and data architecture, but for more basic details and an introduction, please go through Part 1 and Part 2 of my articles.
LightSwitch Architecture
The main architecture of LightSwitch is divided into 3 parts or we can say 2 tiers and 1 source. All these 3 parts are well ordered and work in a linear progressive way, as represented in the following diagram.
LightSwitch Data Service Architecture
Some of the major outlines of data service architecture are:
- In data service architecture, each data source is exposed as a service endpoint.
- User Permissions
- Business Rules
- Client based architecture
- Can be easily hosted using Azure
LightSwitch Hosting Options
Some of the basic guidelines regarding hosting options in LightSwitch are as follows:
- HTML client optimized for operating systems like iOS 5/6, Android v4, WinRT, WIN Phone 8, Desktop Apps and so on. These services can be in browser or out of browser, but in the case of out-of-browser, it will be only valid in Windows and in browser windows and Mac.
- For hosting we require IIS6 but IIS7 is recommended in this case.
- SQL Server support
- LightSwitch SharePoint app can be easily hosted using Azure.
Client Design Goals
There are some advantages regarding design goals. These goals can be done through HTML client based system architecture. These advantages are as follows:
- Touch Oriented
- Immersive apps that runs on all platforms.
- Constant design experience
- Standard based
- Easy interaction
- JavaScript Eco system
- Control customization
- Specific Customization
HTML Client Supported Platforms
These platforms are:
- iOS 5/6
- Android4
- WinRT
- Win Phone 8
Limitations
- Android 2.3
- Win Phone 7.5