LightSwitch in Visual Studio 2012 Proves Effective as RAD Tool
Review: Visual Studio 2012 ships with the latest edition of LightSwitch, a rapid application tool that can create HTML5 applications without needing Silverlight.
Each field also gets various other properties accessible through the Properties window, including Display Name, which specifies how it shows up by default in the screens. (Remember, this is a tool for high-level database app development, so there are a lot of things that happen automatically for you.) You can set up multiple tables and create relationships between them. This was a little strange, because normally when you create database apps and create relationships, you create the fields in the table that become foreign keys in other tables. That’s not how it works here, though. Instead, you don’t create a foreign key field. You simply create a relationship between the two tables and LightSwitch automatically creates the foreign key field for you. I suspect the reason is that it’s more of a high-level concept than purely technical. Whereas a technical person might see tables in terms of outer joins and what-not, a non-technical person might see it as “drilling down” or “sub data.” For example, you might have a table with customers, and inside that you might drill down to see any one customer’s orders. The orders might feel conceptually as sub-tables. And that’s more or less how the data is presented here. And while modeling data, you choose the name used for each field when it’s displayed, and whether it’s displayed at all. Yes, you’re mixing data and presentation, but again, this isn’t a tool for developing highly sophisticated, custom software.






















