


























In this post I am going to look at comparing four technologies that can be used to build business applications easily. This post was inspired by how similar a number of products have become over the last few years and more importantly how the new kid on the block Visual Studio Lightswitch, which is a specialised rapid business tool development platform built on top of Visual Studio, is going to affect this eco-system. It is important to also remember that this is being written in the Lightswitch Beta 2 timeframe, so some details may change by launch.
Lightswitch feels very similar to me, to another product I have worked with in the past: Dynamics CRM, which is a CustomerRelationship Management tool from Microsoft. CRM does very well in the xRM (x = extensible) scenario, where I think it will come up against Lightswitch a lot. I haven’t had an opportunity to use the latest CRM release yet, so I have had to rely on the help of experts to fill in my gaps!
SharePoint 2010 is another product I have worked with, can of course be used for building business applications quickly cause it is the “operating system of the enterprise” and has good features for these types of applications.
Finally, while watching Scott Hanselman do the ASP.NET MVC 3 demo in the MIX 11 Keynote, I was struck with how that is very close to a rapid business user development tool with all the new scaffolding features. ASP.NET MVC is a real outsider in this group because it is first a development toolset for web development and, maybe a rapid tool second where the rest are rapid development platforms or tools first.
I think the differences between these four are very interesting and while each has it’s strong & weak points, this should definitely not be looked at as a pick one only post. There are many scenarios where you want to combine them for even better experiences.
I have broken down the issues into twenty one(!) aspects (key points we can compare them against each other) which are grouped into six scenarios to make it easier to digest. Each scenario starts with a list of the aspects and a brief description followed by a comparison table of those aspects.
| Lightswitch (LS) | Dynamics CRM | SharePoint 2010 (SP) | ASP.NET MVC | My Thoughts | |
| Ready to go out of the box | Fast | Fastest | Fast | Slowest | LS & MVC need development, while SP needs at least 5min of tailoring. CRM, is ready to go once installed. |
| Northwind Style Sample development costs | $ | $$ | $$ | $$$ | ASP.NET MVC has the highest development costs as so little is out of the box. Lightswitch excels in this scenario. |
| Lightswitch (LS) | Dynamics CRM | SharePoint 2010 (SP) | ASP.NET MVC | My Thoughts | |
| Cost for on premise deployments | $$$ Unknown. | $ to $$$ Cost per user & cost per server. Visual Studio only if you are doing integrations or custom workflows. | $$$$ to $$$$+ Cost per user & cost per server. Visual Studio licenses for any serious work. | $$ Visual Studio licenses.No per user costs. | CRM on the small scale with low development is very cheap but since you pay per user can get expensive. LS & MVC only have development software costs, which is more expensive up front but do not increase as you add users to the system. |
| Deployment Complexity | Medium | Hard | Hardest | Easy | LS, CRM & SP all have requirements that they need to work, in increasing deployment complexity, but CRM & SP are significantly harder than LS though due to their more complete product nature. MVC is easy because there is no constraints from it (other than a web server). |
| Deployment Documentation | Yes | Yes | Yes | No | Only MVC has no official documentation, which makes sense as it is a development tool. All four have GREAT communities to help as well! |
| Lightswitch (LS) | Dynamics CRM | SharePoint 2010 (SP) | ASP.NET MVC | My Thoughts | |
| Front End Technology | Silverlight. Supports out of browser (desktop) & in browser | Web Just ASP.NET | Web ASP.NET under the covers with sprinklings of Silverlight | ASP.NET | LS clearly best here, since it will give the richest UI out of the box. ASP.NET MVC out of the box scaffolding isn’t pretty but can easily be improved. |
| How good the standard UI looks (very subjective) | Low | Medium | Very. Low | Depends on your web designer | This is the most subjective aspect: LS & SP both have a fairly plain out of the box UI but SP has a bad UX to go with it. CRM is much better out of the box and if you are going down the MVC route you will likely be taking advantage of the best UI thanks to the complete flexibility – but that depends on how good your designers are. |
| Flexibility of UI development in the tool | High | Medium | Medium | High | MVC & LS can almost do anything on the front end, especially if you combined MVC with Silverlight. SharePoint & CRM too have lots of options and work with Silverlight. |
| Themability | Medium | Low | Medium | High | The flexibility of MVC is highest as it is a pure programming, with LS following up thanks to it’s strong theme support. SharePoint can be themed but not the same level as LS. CRM will always look like CRM! |
| Lightswitch (LS) | Dynamics CRM | SharePoint 2010 (SP) | ASP.NET MVC | My Thoughts | |
| API for integration | Yes | Yes | Yes - at least 5 of them. | N/A | In MVC you could build one, oData for instance, but it doesn’t have one out of the box. LS creates a WCF RIA Service for us. CRM & SP both have API’s, but SP is more complex as it supports so many different API’s with different subsets of features supported. |
| Marketplace | Once it is released a gallery will exist. | Yes | Nope | Gallery available | CRM leads here in a big way with a REAL marketplace. ASP.NET MVC has it’s own gallery plus a strong 3rd party marketplace ecosystem. |
| Additional Authentication Options | Anonymous and more available through custom development (e.g. Windows Live). Claims based authentication(custom development required). | Claims based authentication via STS | Anonymous and more available through custom development (e.g. Windows Live). Claims based authentication(custom development required). | Anonymous and more available through custom development (e.g. Windows Live). Claims based authentication(custom development required). | |
| Permission Structure (Authorisation) | Very basic and really just a half a step ahead of editing XML that MVC needs. | Fantastic out of the box option, plus plenty of extensibility if needed. | Good structure with many levels of customisation. Out of the box is very simple. | Basic support for it but can be extended through development. A lot of XML work though may be needed. | LS & MVC are the lightest here, both supports authorisation options but enforcing it is up to the developer to implement. LS is better slightly better at guiding the developer and needs no XML editing. SP authorisation is as varied & powerful as what CRM offers. However SP can easily get messy, users can break permission inheritance, while CRM enforces authorisation all the time and makes for a better structured environment. |
| Lightswitch (LS) | Dynamics CRM | SharePoint 2010 (SP) | ASP.NET MVC | My Thoughts | |
| Offline support | No | Yes | Yes | No | Being able to work offline is important if you are a roaming user. LS & MVC offer nothing in this space while CRM & SP both offer offline via Outlook. |
| Easily Import Data (out of the box) | Nope | Yes, from CVS. | Yes. Multiple options. | Nope | In all cases there are tools and other ways to import data but CRM & SP have an out of the box options. |
| Printing (out of the box) | Nope | Yes | Yes – Poor | Browser Level | LS & MVC can have custom development solutions for printing, other than that they both offer nothing out of the box. As browser printing has improved MVC has a slight advantage being HTML based normally. SP has printing, but it is very poor. CRM leads the way here with a great print scenario. |
| Office Integration | Low One way export to Excel. Others can be custom developed | Medium One way to Excel. Mail merge with Word & Outlook. | High Only Publisher doesn’t have some integration with SharePoint. SP internally has features that understand Office files too, for example PowerPoint Libraries show thumbnails. | None Can be custom developed. |
| Lightswitch (LS) | Dynamics CRM | SharePoint 2010 (SP) | ASP.NET MVC | My Thoughts | |
| Databases Supported | SQL Server, SQL Azure, SharePoint or anything supported by WCF RIA services. | SQL Server | SQL Server normally. With advanced skills can use external data sources. | For scaffolding anything supported by LinqToSQL or Entity Framework. | LS & MVC feel very close here, however LS has it’s own OM which MVC uses established ones meaning more options in the MVC camp. |
| Minimum Skills For Tailoring | Intermediate | Lowest | Low | Highest | Being able to tailor with less skill is a big plus for CRM & SP. MVC doesn’t have tailoring as it is all development. LS really stuck in the middle ground here – for setting it up I suspect nothing more than power user but that ends much sooner and moves to needed a developer than with CRM and SharePoint. |
| Can run in the cloud? | Platform as a service using SQL Azure for database & compute instances for front end. | Software as a service: Can get it from Microsoft & Partners at a cost per user per month. | Software as a service: Can get it from Microsoft & Partners at a cost per user per month. Recently launched in beta with Microsoft. | Platform as a service using SQL Azure for database & compute instances for front end. | |
| ALM Experience | Medium | Low | High | Highest | ASP.NET MVC is a pure development experience and so works well with ALM. SP2010 plus VS2010 is a great ALM experience (although mocking is difficult). LS & CRM are oddly very similar with customisations in XML though so expect some source control pain. Plugin’s for CRM and LS Extensions are a great ALM scenario. CRM falls short in the unit testing scenario though. |
A post this in depth could not have been done without input from my “brain trust”, and I thank each one of you for your help:
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。