{"id":3038,"date":"2010-08-25T08:14:35","date_gmt":"2010-08-25T07:14:35","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/3038-visual-studio-lightswitch-model-driven-architecture-for-the-mainstream.html"},"modified":"2010-08-25T08:14:35","modified_gmt":"2010-08-25T07:14:35","slug":"visual-studio-lightswitch-model-driven-architecture-for-the-mainstream","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/3038-visual-studio-lightswitch-model-driven-architecture-for-the-mainstream.html","title":{"rendered":"Visual Studio LightSwitch \u2013 model-driven architecture for the mainstream?"},"content":{"rendered":"<p>I had a chat with <a href=\"http:\/\/channel9.msdn.com\/posts\/Dan\/Jay-Schmelzer-Introducing-Visual-Studio-LightSwitch\/\" target=\"_blank\">Jay Schmelzer<\/a> and&#160; <a href=\"http:\/\/www.dougseven.com\/\" target=\"_blank\">Doug Seven<\/a> from the Visual Studio LightSwitch team. I asked about the release date \u2013 no news yet.<\/p>\n<p>What else? Well, Schmelzer and Seven had read my <a href=\"http:\/\/www.itwriting.com\/blog\/3036-ten-things-you-need-to-know-about-microsofts-visual-studio-lightswitch.html\">earlier blog post<\/a> so we discussed some of the things I speculated about. Windows Phone 7? Won\u2019t be in the first release, they said, but maybe later. <\/p>\n<p>What about generating other application types from the same model? Doug Seven comments:<\/p>\n<blockquote>\n<p>The way we\u2019ve architected LightSwitch does not preclude us from making changes .. it\u2019s not currently on the plan to have different output formats, but if demand were high it\u2019s feasible in the future.<\/p>\n<\/blockquote>\n<p>I find this interesting, particularly given that the future of the business client is not clear right now. The popularity of Apple\u2019s iPad and iPhone is a real and increasing deployment problem, for example. No Flash, no Silverlight, no Java, only HTML or native apps. The idea of simply selecting a different output format is compelling, especially when you put it together with the fast JIT-compiled JavaScript in modern web browsers. Of course support for multiple targets has long been the goal of model-driven architecture (remember <a href=\"http:\/\/en.wikipedia.org\/wiki\/Model-driven_architecture\" target=\"_blank\">PIM,PSM and PDM<\/a>?) ; but in practice the concept of a cross-platform runtime has proved more workable.<\/p>\n<p>There\u2019s no sign of this in the product yet though, so it is idle speculation. There is another possible approach though, which is to build a LightSwitch application, and then build an alternative client, say in ASP.NET, that uses the same WCF RIA Services. Since Visual Studio is extensible, it will be fun to see if add-ins appear that exploit these possibilities.<\/p>\n<p>I also asked about Mac support. It was as I expected \u2013 the team is firmly Windows-centric, despite Silverlight\u2019s cross-platform capability. Schmelzer was under the impression that Silverlight on a Mac only works within the browser, though he added \u201cI could be wrong\u201d. <\/p>\n<p>In fact, Silverlight out of browser already works on a Mac; the piece that doesn\u2019t work is COM interop, which is not essential to LightSwitch other than for export to Excel. It should not be difficult to run a LightSwitch app out-of-browser on a Mac, just right-click a browser-hosted app and choose Install onto this computer, but Microsoft is marketing it as a tool for Windows desktop apps, or Web apps for any other client where Silverlight runs.<\/p>\n<p>Finally I asked whether the making of LightSwitch had influenced the features of Silverlight or WCF RIA Services themselves. Apparently it did:<\/p>\n<blockquote>\n<p>There are quite a few aspects of both Silveright 4 and RIA services that are in those products because we were building on them. We uncovered things that we needed to make it easier to build a business application with those technologies. We put quite a few changes into the Silverlight data grid.<\/p>\n<\/blockquote>\n<p>said Schmelzer, who also mentioned performance optimizations for WCF RIA Services, especially with larger data sets, some of which will come in a future service pack. I think this is encouraging for those intending to use Silverlight for business applications.<\/p>\n<p>There are many facets to LightSwitch. As a new low-end edition of Visual Studio it is not that interesting. As an effort to establish Silverlight as a business application platform, it may be significant. As an attempt to bring model-driven architecture to the mainstream, it is fascinating.<\/p>\n<p>The caveat (and it is a big one) is that Microsoft\u2019s track-record on modelling in Visual Studio is to embrace in one release and extinguish in the next. The company\u2019s track-record on cross-platform is even worse. On balance it is unlikely that LightSwitch will fulfil its potential; but you never know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a chat with Jay Schmelzer and&#160; Doug Seven from the Visual Studio LightSwitch team. I asked about the release date \u2013 no news yet. What else? Well, Schmelzer and Seven had read my earlier blog post so we discussed some of the things I speculated about. Windows Phone 7? Won\u2019t be in the &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/3038-visual-studio-lightswitch-model-driven-architecture-for-the-mainstream.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Visual Studio LightSwitch \u2013 model-driven architecture for the mainstream?<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,26,55,67,77,80,94,96],"tags":[158,310,565,586,603,960],"class_list":["post-3038","post","type-post","status-publish","format-standard","hentry","category-net","category-development","category-microsoft","category-professional","category-silverlight","category-software-development","category-visual-studio","category-web-authoring","tag-apple","tag-database","tag-mac","tag-microsoft","tag-model-driven-architecture","tag-visual-studio-lightswitch"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/3038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=3038"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/3038\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=3038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=3038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=3038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}