<a href="http://www.micropoll.com/akira/mpview/585320-168921">Click Here for Poll</a><a href="http://www.questionpro.com" title="online surveys">Online Survey</a><BR> | <a href="http://www.micropoll.com" title="Website Polls">Website Polls</a><BR> | <BR><a href="http://www.micropoll.com/akira/MicroPoll?mode=html&id=168921">View MicroPoll</A></div>

VB.NET and Silverlight!

Read now >

Windows Mobile Development Thoughts

Read now >

ADVERTISEMENT
View Now
DevSource RSS FEEDS
XML Want an easy way to keep up with breaking tech news? And the Get DevSource headlines delivered to your desktop with RSS.
ADVERTISEMENT

 

ADVERTISEMENT
Expression Web Impressions
By Jennifer Wood

Rate This Article: Add This Article To:

Expression Web Impressions
( Page 1 of 2 )

Microsoft is now shipping their new web development tool, Expression Web. How good is it? What is it like to use? Professional web developer Jennifer Wood gives us her initial impressions.

There was a time when people who created web pages used either Front Page or Dreamweaver. Users who liked the familiarity of a Microsoft interface and didn't want to mess with the HTML code usually preferred Front Page while people who dreamed in HTML and wanted final control over the code were Dreamweaver junkies. I know people who started out with Front Page and moved to Dreamweaver once they understood the code better. But now Microsoft probably won't lose customers to Dreamweaver, thanks to their new product, Expression Web, which I take a look at here.

First impressions

My first impression when starting Expression Web was that it was extremely easy and intuitive to use. At the very top are a bunch of buttons that will look familiar to users of Word or most any Microsoft product – the standard Save, Open, and New buttons, and various formatting buttons such as Bold, Italic and paragraph justification. This should give web page newbies the feeling of "This is easy…just like creating documents in Word."

On the left side of the screen are tabs you can click to look at tag properties, CSS properties or layout tables. While using the tag properties or CSS properties, when you click inside the document you can see what tag you are editing, the values set, and you can click on an attribute for a dropdown menu that gives you valid choices. The same thing goes for the CSS properties; it's so easy to just go down the list and plug in values for the stylesheet, as shown in the image to the left.

In the center panes, you have the page that you're working on. Like most editors, you can switch between Design view, Code view, or Split view. No matter which view you're in, you can click anywhere in the document and a diagram of where you are tag-wise will show up in the top rail. For example, when I click on a table cell with the CSS class "content," the top rail has <body><table><tr><td.content>. This lets me see at a glance how far into a nested table I am and what style is being used in the part of the document I'm editing. Also, if you click on something in design view then switch to code view, your cursor will be in the part of the document you were on in design view; much faster than hunting through code for the part of the document you need to edit.

On the right panes, you have a Toolbox that has some frequently-used tags. Click on one and it'll be placed in your document. Below the Toolbox is a box containing an Apply styles tab and a Manage styles tab. The Apply styles tab gives you a list of styles defined on the attached stylesheet, but the cool part is there's a slight preview of the styles. For instance, if the class "submenu" is dark blue text on a light blue background, the panel shows some sample text in dark blue on a light blue background. If a style is defined as having a background image, the styles area shows a bit of the background image. Similarly, the Manage styles tab has a list of all the styles on the stylesheet and a Selected Style Preview area where you can see what a style will look like; it even shows what the font family looks like. No more trying to remember how a particular style looked; you can see at a glance what applying a style will do and that will save you a lot of work.

Templates and Layout

Expression's template support is great, both for pre-built templates and the ability to create your own. In Expression Web, a template is a pre-built HTML page that you can base a web site off of. For instance, if you build a template with a custom header and navigation on the left side then attach it to a website, every page in the website that's based on the template will have the same header and navigation.

Expression Web has some nice-looking web site templates making it really easy for a novice to create a new web site. Simply click FileNewWeb Site. A dialog box will pop up with choices for General (for a general blank web page) or Templates. When you click Templates you can select the template you like best. Finally, specify the folder where you'd like your website created on your hard drive, click OK and Bam! watch Expression Web create the pages for your site. Of course, then you can go in and edit the pages to customize them.

In the image to the right, you can see where I chose a template. It's also fairly easy to replace the images in the templates to make the site your own. The pre-built templates include sites for organizations, personal sites and small businesses. They're fairly simple but attractive and functional. As a bonus, if you want to edit a template itself, they're all very nicely commented and well organized so it's easy to find what you need to edit.

But of course you won't want your site to be based off of a pre-built template forever. (If everyone used the pre-built templates and kept them, eventually people might be able to look at your site and say "Oh, that was built from an Expression Web template," which was certainly the case with FrontPage sites. Also, the Internet would be a very boring place if all the sites looked alike.) Fortunately Expression Web has the tools to help you build your own original templates as well.

To start off, Expression Web supports dynamic web templates. If you create a template that the rest of your site is based off of, it makes maintenance a lot easier in the long run. For instance, if you make every page in a 10 page site have the same navigation, you can place the navigation content in the template itself. Then if you add another page to the site, you can add the link for the new page to the template, and Expression Web will automatically update every page that uses that template, saving you a lot of work.

One nice feature Microsoft has been really marketing is that Expression Web has tools that make customizing the overall look of the site easier. For instance, there is a selection of basic table layouts which make it easy to design a page, even if you don't know a lot about design. You can look at it and visualize things such as "a logo in this space, a header beside it, navigation down the left and content on the right side of the page." If you're a novice, you can simply type in the content in the appropriate areas. If you're an expert, it's a breeze to take that start and go in and modify the code to your specifications, such as specifying the width of the table cell containing the navigation or making a table cell a different background color.

Do you believe table layouts are passe and css layouts are the way to go? Expression has something for you too: If you click FileNewPage then select CSS Layouts in the dialog box that opens, you'll find a nice selection of layouts using DIV tags instead of TABLE tags to help you achieve the look you like. From there, you can type the content into the appropriate DIV areas, then click on the CSS Properties tab to provide formatting. Just like the table layouts, if you're no stranger to HTML you can modify the code so the page looks precisely the way you want it to.

If you want to do something special, Expression Web even has some built-in page transitions. Click FormatPage Transition and choose the variables for the event in the dialog that pops up. You can choose from Page Enter, Page Exit, Site Enter or Site Exit, duration (how long you want the effect to take place) and the effect. You have a lot of great options, from wipes to checkerboard effects to simple fades. It's a great way to add a little pizzaz to your site without having to mess with Flash or JavaScript.



 
 
>>> More Microsoft and Visual Studios Add Ons Articles          >>> More By Jennifer Wood