BT

Five Orcas Short Demos

by Jonathan Allen on Apr 03, 2007 |
Microsoft's Data blog has five short demos on Orcas and post-Orcas features for editing XML files and XSD files, debugging XSLT, and working with Entity Data Models (EDM).
 
The first demo by Stan Kitsis shows covers some XML features such as automatic schema generation. While the schemas probably won't be perfect, it should serve as a good starting point. Another useful development is the generation of XML files based on schemas. Essentially it works like C#/VB code snippets, complete with highlighted fields that one can tab through. Auto-complete and background validation are also included.
 
In the XSLT Debugging demo, Stan Kitsis shows Visual Studio's side-by-side debugging. In stand-alone mode, break points can be set in both the XSTL and XML files. When a break point is hit the relevant line is highlighted in both files, with additional information in the call stack, locals, and watch windows. In integrated mode, developers can step into an XSLT transformation from a C# program.
 
The EDM Wizard demo is somewhat mixed. It starts with automatically generating classes from tables, views and stored procedures. While this is a potentially huge timesaver, the way it is used in the demo is somewhat questionable. Using drag and drop from the data sources pane, Sanjay Nagamangalam creates a GUI that looks surprising like something one would build using Access or Visual Basic 3. After 14 years of development, it seems drag and drop data binding is still very primitive.
 
The first post-Orcas demo covers the XSD designer. The schema explorer handles schema sets, allowing support for complex schemas that span multiple XSD files. Like the class view for C#/VB, all the elements can be merged into a single tree instead of being grouped by file. Searching and filtering is done across all files in the schema set.
 
The final post-Orcas presentation is on the EDM Designer. This demo, presented by Noam Ben-Ami, shows how database models can be graphically mapped to entity models. Using drag and drop, a single entity class can be created from one or more database tables. When the underlying tables are altered, say by normalizing a column into a lookup table, the affected entity models are flagged. The data mapping can be fixed simply by dragging the correct column onto the entity designer. With both the database schema and entity model being under source control, keeping them in sync should be easy.
 
 

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Corrections by Jonathan Allen

The Data team's post (the one that the InfoQ article points to) is a little misleading. The post refers to a recent keynote at VSLive! in San Francisco that showed the idea of conceptual data programming with 5 short demos. The blog post seems to indicate that each of the 5 demos show features you will find only in the next version of Visual Studio (code-named "Orcas"). The fact is that the first two (XML Editor, XSLT Debugging) can be done today using any version of Visual Studio 2005 (including the freely available Visual Web Developer 2005 Express Edition).

Kirk Allen Evans

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT