SliverLight 4.0下產生的LightSwitch架構

 

這是摘自Msdn blog中對於lightswitch的一段描述

LightSwitch removes the complexity of building a three-tier application by making specific technology choices for you. You concentrate on the business logic and not the plumbing.

When we map the specific technologies used in LightSwitch to this architecture you find that the LightSwitch presentation tier is a Silverlight 4.0 application. It can run as a Windows desktop application or hosted in a browser. The LightSwitch logic tier exposes a set of WCF RIA DomainServices running in ASP.NET 4.0. The logic tier process can be hosted locally (on the end-user’s machine), on an IIS server, or in a Windows Azure WebRole. A LightSwitch application’s primary application storage uses SQL Server or SQL Azure and can consume data from existing SharePoint 2010 lists, databases accessible via an Entity Framework provider, and custom build WCF RIA DomainServices.

 

附圖兩張。

首先,LightSwitch的目標是面向數據,以數據爲業務中心的程序。

對於當前市場,需要信息化的客戶需求佔主要比例。

這個工具的主要目的就是要提高這類以數據爲中心的軟件的生產力。

LightSwitch是SliverLight4.0下一個程序框架,它集成了這幾年微軟架構的很多技術,包括wcf,asp.net4,EF等。

具體的架構可以看上面的彩圖。

對於他的用戶定位,有人說可以不用編程了,他是給一些不會編程的需求分析師用的。

在代碼大全中作者這樣提到,任何一種工具不可能消滅編程。

同樣,這個也消滅不了,因爲編程來源於計算機外部複雜的用戶需求。

對於每次工具的革命,他帶來的就是重塑編程的概念和方法,他的複雜度是消滅不了的。

這個工具只是把Crud大大簡化了,對於特定的需求還是要手工編寫代碼。

Lightswitch提供了SliverLight4.0下同樣的擴展機制,因爲他的客戶端來自SliverLight。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章