MSDN Magazine Launch Issue - February 15, 2008 - (Page 12) *]QTL QV\MZIK\Q^M LQIOZIU[ MI[QMZ \PIV aW] M^MZ QUIOQVML 8W_MZN]T Ð M`QJTM IVL MI[a\W][M functions like the repobrowser, creating and applying patches, showing a subversion log, as well as branching, merging, and switching repositories. One of the most important agile concepts is checking in early and often. By integrating as quickly as possible, you discover any potential merge issues, and if you implement continuous VisualSVN Provides Function Shortcuts integration, all of your code will be built and Unlike some other Object Relation your tests will be run. VisualSVN makes Mapping (ORM) frameworks, SubSonic it easier to check in early and often takes the approach of generating and because of the close integration with compiling your data access layer as opVisual Studio—you will constantly be rethat you haven’t yet checked in. There’s no reason to procrastinate since you can check those changes in directly from within Visual Studio. Price: $49. visualsvn.com Rapid App Development This past fall, Microsoft announced the ASP.NET MVC Framework, which enables developers to write Model View Controller-based Web applications. Many ASP.NET developers have been clamoring for this as an alternative to the standard ASP.NET page model. Don’t worry—the ASP.NET page model isn’t going away. This just means that now we have another option. The ASP.NET MVC Framework will make it easier to develop Web applications with a clear separation of concerns. The page logic will be stored in your controller, the HTML will be in the view, and the application logic will be in your model. The ASP.NET MVC Framework is the month or so after the MVC Framework was announced, the second piece of the Rob Conery to work full-time on his project, SubSonic. SubSonic is an application toolset that is centered on its ability to completely generate your data access layer. ,W_VTWIL ?Q\P .]TT ;]XXWZ\ cVReV Tfde`^ Z_eVcRTeZgV UZRXcR^d _Veh`c\ VUZe`cd h`c\W]`hd W]`hTYRced R_U UVdZX_ e``]d 7`c hVS dVcgVcd `c ]`TR] Raa]ZTReZ`_d :e|d VRdj e`fdV R_U gVcj W]ViZS]V HV|cV eYV WZcde UVgV]`aVc `W UZRXcR^^Z_X T`^a`_V_ed R_U deZ]] eYV SVde 7Z_U `fe W`c j`fcdV]W+ U`h_]`RU `fc 7C66 Wf]]j Wf_TeZ`_R] VgR]fReZ`_ \Ze hZeY Wf]] dfaa`ce Re hhh_h``UdT`^ .:-- mapping at run time (and for this reason, some would call it a code generation tool rather than an ORM). SubSonic is different from other ORMs in how it maps your tables to your domain model. NHibernate, another ORM for .NET, takes the approach of specifying your model (or business entities) and then mapping those entities to your database through either XML or .NET attributes. SubSonic switches that around and creates a model based on your database schema. Both approaches have their advantages and disadvanpersonal preference. To get a complete model of your dait in your app by way of a few settings in of simple classes with the same names as your tables, which contain methods for all of the common database actions. For instance, a Product table would translate to a Product class and have methods like Save, Destroy, and Where, the latter being used to query the database. A separate Query object is available for complicated queries. Unlike most ORM tools, SubSonic provides a graceful way to handle stored procedures. Stored procedures can be wrapped in a single class and are called the same way you would call a method. 12 msdnmagazine Toolbox V_WWL[KWU http://visualsvn.com http://ASP.NET http://ASP.NET http://ASP.NET http://ASP.NET http://ASP.NET http://ASP.NET http://www.nwoods.com http://www.nwoods.com
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.