Building a SketchFlow Prototype: Creating the Project

   Posted by: Andrew Troelsen

Well!  I hope the New Year finds all of you well. I've been off the blog cycle for a few weeks enjoying some R&R.  But, as they say, back to the rock pile.

The last handful of posts talked about SketchFlow from a high level.  You recall I walked you through a number of the core tools (Map panel, animation editor, etc).

Now that we have that background, we will build our own prototype from the ground up!  In this post, we will create the initial project and examine the starter code.

Let's create a custom SketchFlow prototype application which models some typical screens one might see in an online sales application. Begin by creating a new Silverlight SketchFlow Application named OnlineStoreApp from the New Project dialog box:

Figure 8-20

Upon creation, you will see that you are provided with a single screen (named Screen 1) configured as the prototype startup screen. Using the SketchFlow Map panel, rename this initial screen to MainScreen by right clicking on the map node and selecting the Rename option:

Figure 8-21 

A SketchFlow project is organized a bit differently than a typical WPF or Silverlight application. Activate your Projects panel and notice that your Solution contains two related projects. The first project (named OnlineAppStore) contains the overall application logic represented by the App.xaml and App.xaml.cs source files. In addition, this project references several Expression Blend SketchFlow assemblies (all prefixed with Microsoft.Expression):

Figure 8-22

The second project (named OnlineAppStoreScreens) references the same prototyping assemblies, and will be the location for each screen you add to your application via the Map panel. Currently, you can see your MainScreen present and accounted for. In addition, this project will define a few additional items of interest:

  • SketchStyles.xaml: A XAML file which contains styles for the SketchFlow UI elements.
  • Sketch.Flow: This XML document contains data which is read by the Map panel to display nodes and their connections. You will typically not need to directly edit this file as it will be updated automatically when working with the SketchFlow IDE.
  • A Fonts folder which stores a few SketchFlow font types used by the supplied styles.

The following figure shows the breakdown of this second project.

Figure 8-23

The SketchFlow styles will be applied automatically when you make use of the prototyping controls in your Assets Library. However, if you are curious, you can view each of these styles by examining the Resources panel.

OK, now we have our project. In my next post, we will examine the role of "component screens". In a nutshell, this aspect of a SketchFlow prototype allows you to build a common UI which will be shared among a number of Window (WPF) or UserControl (Silverlight or WPF) objects. As you will see, component screens allow you to easily capture navigation menus, as well as any sort of repeatable UI content.

See you next week.


Comments (0)

Be the first one to comment on this post!

Add a Comment

*

*

Loading

Find Us
Contact Us 651-288-7000 1-800-866-9884
Home | Training | Curriculum | Course Finder | Schedule | Enroll | Twin Cities Java User Group | Consulting | Foundation | Jobs | About Us | Our Story | Press Room | Instructors | President | Map & Directions | Sitemap

Java Training | JSF / Struts / Spring / Hibernate Training | Java Power Tools Training | .NET 4.0 & Visual Studio 2010 Training | Microsoft Web Development Training | Prism / MVVM / MEF Training | .NET 3.5 and Visual Studio 2008 Training | .NET 2.0 and Visual Studio 2003 Training | Cloud Computing Training | Ajax / Web Services / XML Training | Groovy and Grails Training | SQL Server 2012 Training | SQL Server 2008 Training | SQL Server 2005 Training | Mobile Development Training | SharePoint 2010 Training | SharePoint 2007 Training | Agile, Process, Analysis & Design Training | Arch/Design Patterns Training | Microsoft Official Curriculum Training | Web Development Training | Ruby Training | Rational Application Developer (RAD) Training | WebSphere Application Server Training | WebSphere Portal Training | WebLogic Training | Boot Camp Training | Project Management Training | C / C++ Training | Metro / WinRT / Windows 8 Development Training | Retired

Intertech delivers training on-site and virtually serving cities including Phoenix, AZ | San Francisco, CA | Los Angeles, CA | San Diego, CA | San Jose, CA | Washington, DC | Chicago, IL | Orlando, FL | Boston, MA | Duluth, MN | Minneapolis St. Paul, MN | Rochester, MN | Raleigh-Durham, NC | New York, NY | Philadelphia, PA | Austin, TX | Dallas, TX | Houston, TX | Seattle, WA.