<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
    <title>Code Scene</title>
    <link rel="alternate" type="text/html" href="http://www.codescene.com/" />
    
    <id>tag:www.codescene.com,2009-04-10://1</id>
    <updated>2009-06-18T20:42:45Z</updated>
    <subtitle>CodeScene.com is the blog of Jay Buys.  It is dedicated to web development standards and best practices. Topics include CSS, XHTML, ASP.NET, SQL, AJAX, JavaScript, SEO, accessibility, and more.</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.25</generator>

<geo:lat>38.893241</geo:lat><geo:long>-77.074537</geo:long><link rel="self" href="http://feeds.feedburner.com/CodeScene" type="application/atom+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry>
    <title>Basic CSS Forms with Row Highlighting</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/TT9DzDwN97c/basic-css-forms-with-row-highlighting.php" />
    <id>tag:www.codescene.com,2009://1.100</id>

    <published>2009-06-18T20:12:00Z</published>
    <updated>2009-06-18T20:42:45Z</updated>

    <summary type="html">A friend of mine recently asked me about creating forms with XHTML/CSS and since I've been recycling some simple form code for a while now I thought I'd share it.&amp;nbsp; I've also seen a lot of sites that are standards-compliant...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="css" label="CSS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="forms" label="Forms" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="webstandards" label="Web Standards" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="jquery" label="jQuery" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;A friend of mine recently asked me about creating forms with XHTML/CSS and since I've been recycling some simple form code for a while now I thought I'd share it.&amp;nbsp; I've also seen a lot of sites that are standards-compliant that still use tables to layout their forms when it's not all that difficult to do it with some CSS... so here's a basic demo.&lt;/p&gt;

&lt;p&gt;First off, we'll have some HTML for our form... Basically what we're going to do is wrap our form fields and labels (because all fields need associated labels) in some div and span tags which we'll then style with CSS.&lt;/p&gt;

&lt;pre class="brush: html;"&gt;
&lt;form id="form1" name="form1" method="POST" action="" class="form"&gt;
    &lt;div class="form"&gt;
        &lt;div class="formRow"&gt;
            &lt;span class="formLabel"&gt;&lt;label for="txtFirstName"&gt;First Name:&lt;/label&gt;&lt;/span&gt;
            &lt;span class="formControl"&gt;&lt;input id="txtFirstName" name="txtFirstName" type="text" size="25" maxlength="200" class="focusable" /&gt;&lt;/span&gt;
        &lt;/div&gt;
        &lt;div class="formRow"&gt;
            &lt;span class="formLabel"&gt;&lt;label for="txtLastName"&gt;Last Name:&lt;/label&gt;&lt;/span&gt;
            &lt;span class="formControl"&gt;&lt;input id="txtLastName" name="txtLastName" type="text" size="25" maxlength="200" class="focusable" /&gt;&lt;/span&gt;
        &lt;/div&gt;
        &lt;div class="formRow"&gt;
            &lt;span class="formLabel"&gt;&lt;label for="txtEmail"&gt;Email:&lt;/label&gt;&lt;/span&gt;
            &lt;span class="formControl"&gt;&lt;input id="txtEmail" name="txtEmail" type="text" size="25" maxlength="300" class="focusable" /&gt;&lt;/span&gt;
        &lt;/div&gt;
        &lt;div class="formRow"&gt;
            &lt;span class="formLabel"&gt;&lt;label for="txtZip"&gt;Zip:&lt;/label&gt;&lt;/span&gt;
            &lt;span class="formControl"&gt;&lt;input id="txtZip" name="txtZip" type="text" size="25" maxlength="20" class="focusable" /&gt;&lt;/span&gt;
        &lt;/div&gt;
        &lt;div class="formRow"&gt;
            &lt;span class="formLabel"&gt;&lt;input  id="cbOptIn" name="cbOptIn" type="checkbox" value="true" checked="checked" class="focusable" /&gt;&lt;/span&gt;
            &lt;span class="formControl"&gt;
                &lt;label for="cbOptIn"&gt;I would like to be contacted periodically to receive more information.&lt;/label&gt;
            &lt;/span&gt;
        &lt;/div&gt;
        &lt;div class="formRow"&gt;
            &lt;span class="formLabel"&gt;&amp;nbsp;&lt;/span&gt;
            &lt;span class="formControl"&gt;
                &lt;input class="formButton" id="btnSubmit" name="btnSubmit" type="submit" value="Submit" /&gt;
            &lt;/span&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/form&gt;
&lt;/pre&gt;


&lt;p&gt;Next we'll use some CSS to float the labels and form fields next to each other and give them a simple background color.&lt;/p&gt;


&lt;pre class="brush: css;"&gt;
div.formRow { width: 550px; overflow: hidden; clear: both; margin: 0 0 3px 0; padding: 5px 0; font-size: 12px; background: #efefef; }
	div.formRow span.formLabel { width: 125px; font-weight: bold; text-align: right; float: left; }
	div.formRow span.formControl { width: 405px; text-align: left; float: right;  } 
	div.formRow textarea { width: 300px; height: 120px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
	div.formRow input.formButton { background: #666; font-weight: bold; color: #fff; }
	div.formRow label { display: inline !important; }
	.currentRow { background: #ffc !important; }

&lt;/pre&gt;

&lt;p&gt;Lastly, we'll use a simple &lt;a href="http://www.jquery.com/"&gt;jQuery&lt;/a&gt; function to highlight the row of the form field you're in.  This works by applying/removing a CSS class when you click in/out of form elements.  I use a class of "focusable" on the form field itself as the selector for jQuery to find and apply the function.&lt;/p&gt;

&lt;pre class="brush: javascript;"&gt;
	$(function(){
		$('.form .focusable').focus(function(){
			$(this).parents('.formRow').addClass("currentRow");
		}).blur(function(){
			$(this).parents('.formRow').removeClass("currentRow");
		});
	});
&lt;/pre&gt;

&lt;p&gt;That's it.  Note that this is a pretty simple example.  It doesn't include any validation or tooltip descriptors of form fields and certainly isn't meant to be the definitive guide on CSS forms.  It's just some simple code that you can use a starting point to get a nice looking form up very very quickly.&lt;/p&gt;

&lt;p&gt;&lt;a target="_blank" href="http://www.codescene.com/demo/demo-css-form.htm"&gt;See a demo of this CSS form code in action.&lt;/a&gt;&lt;/p&gt;

        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=TT9DzDwN97c:PrW9vHoJwdM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=TT9DzDwN97c:PrW9vHoJwdM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2009/06/basic-css-forms-with-row-highlighting.php</feedburner:origLink></entry>

<entry>
    <title>Xenocode Browser Sandbox - Run any browser from the web</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/5OCT_3PTpO4/xenocode-browser-sandbox.php" />
    <id>tag:www.codescene.com,2009://1.99</id>

    <published>2009-06-16T20:11:24Z</published>
    <updated>2009-06-16T20:28:31Z</updated>

    <summary type="html">I've blogged before about services such as BrowserCam which you can use to test your websites across browsers and platforms. Screen capture services are increasingly hard to use since many websites these days rely on JavaScript and AJAX functionality which...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="3rdpartytools" label="3rd Party Tools" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="browsertesting" label="Browser Testing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="chrome" label="Chrome" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="firefox" label="Firefox" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="internetexplorer" label="Internet Explorer" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="opera" label="Opera" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="safari" label="Safari" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;I've blogged before about services such as &lt;a href="http://www.codescene.com/2006/10/browsercam.php"&gt;BrowserCam&lt;/a&gt; which you can use to test your websites across browsers and platforms. Screen capture services are increasingly hard to use since many websites these days rely on JavaScript and AJAX functionality which can't be tested by a screenshot. Remote access solves that problem but that can often be time consuming and tedious. Wouldn't it be great if you could just run the browser on your machine?&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href="http://www.xenocode.com/Browsers/"&gt;Xenocode's browser sandbox&lt;/a&gt; you can do just that. &lt;a href="http://www.xenocode.com/"&gt;Xenocode&lt;/a&gt; is an application virtualization system that allows developers to make their applications available in virtual executables that can be deployed pretty much anywhere, such as via the web or on a USB key. It's pretty cool technology and as a showcase, they currently have a browser area where you can run multiple browsers simultaneously without having to install them on your machine.&lt;/p&gt;
&lt;p&gt;This browser sandbox doesn't have the myriad of browser/platform combinations that BrowserCam offers but let's face facts... most of us developers spend the majority of our time trying to make sure that our sites and apps work in IE6. Xencode will let you open IE6 (as well as 7 and 8) right on your desktop so that you can easily test, tweak, and troubleshoot your code. It's a great asset to any developer's toolbox.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.xenocode.com/Browsers/"&gt;Visit the Xenocode Browser Sandbox&lt;/a&gt;&lt;/p&gt; 
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=5OCT_3PTpO4:aZg9da34W0g:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=5OCT_3PTpO4:aZg9da34W0g:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2009/06/xenocode-browser-sandbox.php</feedburner:origLink></entry>

<entry>
    <title>Code Scene gets a facelift</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/-RgbCZd9FyQ/code-scene-gets-a-facelift.php" />
    <id>tag:www.codescene.com,2009://1.97</id>

    <published>2009-05-02T13:21:41Z</published>
    <updated>2009-05-04T01:00:39Z</updated>

    <summary type="html">It's hard to believe that I started this blog way back in 2005. Several years later I decided it was time to give Code Scene it's first ever "redesign". I use the term redesign lightly since A) I am definitely...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="internetexplorer" label="Internet Explorer" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="jquery" label="jQuery" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mobile" label="Mobile" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mofuse" label="MoFuse" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="socialnetworking" label="Social Networking" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;It's hard to believe that I started this blog way back in 2005. Several years later I decided it was time to give Code Scene it's first ever "redesign". I use the term redesign lightly since A) I am definitely not a designer and B) it doesn't look radically different than before.&lt;/p&gt;
&lt;p&gt;Here are a few of the changes on the site:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;The site is now wider to support a more standard 1024x768 resolution&lt;/li&gt;&lt;li&gt;I've added an &lt;a href="http://www.addthis.com/"&gt;addthis.com&lt;/a&gt; widget and links to my social networking profiles.&lt;/li&gt;&lt;li&gt;I've joined the &lt;a href="http://www.free-the-web.com/"&gt;Free The Web&lt;/a&gt; movement in boycotting IE6.&amp;nbsp; There may be a few IE6 problems with the new templates but I've stopped caring.&amp;nbsp; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;I'm using &lt;a href="http://www.jqueryui.com/"&gt;jQuery UI&lt;/a&gt; for the accordion and tabbed panels in the templates.&lt;/li&gt;&lt;li&gt;Added search keyword highlighting using the &lt;a href="http://mt-hacks.com/fastsearch.html"&gt;FastSearch plugin for Movable Type&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Moved hosting companies once again, this time to &lt;a href="http://mediatemple.net/"&gt;Media Temple&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Added code highlighting for any code samples on the site, courtesy of &lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter"&gt;SyntaxHighlighter by Alex Gorbatchev&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Created a mobile version of the site at &lt;a href="http://m.codescene.com/"&gt;m.codescene.com&lt;/a&gt; using &lt;a href="http://www.mofuse.com/"&gt;MoFuse&lt;/a&gt; and a &lt;a href="http://detectmobilebrowsers.mobi/"&gt;mobile redirection script&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I'm still making some tweaks and adjustments to the site but let me know what you think or if you find something wrong.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=-RgbCZd9FyQ:pHIXhjZkUGg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=-RgbCZd9FyQ:pHIXhjZkUGg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2009/05/code-scene-gets-a-facelift.php</feedburner:origLink></entry>

<entry>
    <title>Aptana Studio makes jQuery so much easier</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/BALmH7CVcq4/aptana-studio-makes-jquery-so.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2009://1.95</id>

    <published>2009-04-17T01:15:54Z</published>
    <updated>2009-05-01T17:25:35Z</updated>

    <summary type="html">I use Dreamweaver for XHTML/CSS work and Visual Studio for ASP.NET.&amp;nbsp; You can say what you want about either of them or about the purity of hand-coding in Notepad, but the reason I use programs like that is primarily because...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="aptanastudio" label="Aptana Studio" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="developertools" label="Developer Tools" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dreamweaver" label="Dreamweaver" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="javascript" label="JavaScript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="jquery" label="jQuery" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="visualstudio" label="Visual Studio" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="webdevelopment" label="Web Development" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;I use Dreamweaver for XHTML/CSS work and Visual Studio for  ASP.NET.&amp;nbsp; You can say what you want about  either of them or about the purity of hand-coding in Notepad, but the reason I  use programs like that is primarily because of their &amp;quot;intellisense&amp;quot; and  code-complete features.&amp;nbsp; I still  hand-code all my XHTML &amp;amp; CSS but using Dreamweaver allows me to type the  code exponentially faster.&amp;nbsp; I type &amp;quot;m&amp;quot;  and it fills in &amp;quot;argin&amp;quot; for me.&amp;nbsp; This  might seem trivial but when you spend your life at the computer this adds up to  thousands of saved keystrokes a week.&amp;nbsp;  Code completion features can also be a great learning tool for junior developers  and developers getting used to a new language.&lt;/p&gt; &lt;p&gt;Pretty much every web project I've done recently has  involved some sort of jQuery coding.&amp;nbsp;&amp;nbsp;  There are some plugins available for Dreamweaver and Visual Studio to  add code-complete for jQuery but as of this writing I haven't found any that I  love.&amp;nbsp; Enter &lt;a href="http://www.aptana.com/"&gt;Aptana Studio&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Aptana Studio is full-featured IDE with a vast array of  features for coding in XHTML/CSS, PHP, Ruby on Rails, Python, and more.&amp;nbsp; It also features integrated FTP, JavaScript  debugging with Firebug, a DOM navigator, and complete set of database  tools.&amp;nbsp; &amp;nbsp;It's a fantastic program, it runs on Windows,  Mac, and Linux, and best of all&amp;hellip; it's free.&amp;nbsp;  (There is a $99 &amp;quot;Pro&amp;quot; version for hardcore users but the free version  has an incredible feature set)&lt;/p&gt; &lt;p&gt;So while there are dozens of reasons to give Aptana a  download, the reason I love it right now though is because it has an awesome  code assist function for jQuery.&amp;nbsp;&amp;nbsp; For  those of you not using jQuery it also supports and/or has plug-ins for Prototype  &amp;amp; Script.aculo.us, Dojo, Ext JS, YUI, MooTools, and pretty much anything  else you can imagine.&lt;/p&gt; &lt;p&gt;Here's how to enable code assist for jQuery in Aptana Studio&lt;/p&gt; &lt;ul&gt;   &lt;li&gt;Open Aptana Studio&lt;/li&gt;   &lt;li&gt;Click Window &amp;gt; Preferences&lt;/li&gt;   &lt;li&gt;Expand the Aptana node, then the Editors node,  then the JavaScript node&lt;/li&gt;   &lt;li&gt;Click on Code Assist&lt;/li&gt;   &lt;li&gt;Check the boxes for libraries you wish to use&lt;/li&gt;   &lt;li&gt;Click Okay and restart the program&lt;/li&gt; &lt;/ul&gt;&lt;p&gt;Overall Aptana Studio is a great program and a viable alternative for other development environments, especially if you don't want to shell out hundreds of dollars to Adobe or Microsoft.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.aptana.com/studio/download"&gt;Download Aptana Studio here&lt;/a&gt;.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=BALmH7CVcq4:7GImpVg5Oa0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=BALmH7CVcq4:7GImpVg5Oa0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2009/04/aptana-studio-makes-jquery-so.php</feedburner:origLink></entry>

<entry>
    <title>Prepping Photoshop Files for Development</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/I2eYXU3yJUs/prepping-photoshop-files-for-development.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2009://1.94</id>

    <published>2009-04-08T22:31:41Z</published>
    <updated>2009-05-01T17:25:35Z</updated>

    <summary type="html">As a developer I work with many different designers.&amp;nbsp; Often times I'll just be given a zip file full of Photoshop PSD files to cut up and turn into XHTML/CSS/JavaScript templates.&amp;nbsp; How the PSDs were created will determine how long...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="bestpractices" label="Best Practices" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="photoshop" label="Photoshop" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="webdevelopment" label="Web Development" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;As a developer I work with many different designers.&amp;nbsp; Often times I'll just be given a zip file full of Photoshop PSD files to cut up and turn into XHTML/CSS/JavaScript templates.&amp;nbsp; How the PSDs were created will determine how long it will take to build them.&amp;nbsp; If you're a designer and you're handing Photoshop files off to a development team, here are six quick tips that will make the production easier.&amp;nbsp; This should in turn save you money since it will take the developer less time.&lt;/p&gt; &lt;ul&gt;     &lt;li&gt;&lt;b&gt;Use multiple layers&lt;/b&gt; - Much of web development involves turning elements on/off to export transparent images and background graphics.&amp;nbsp; Having multiple items all on the same layer makes this process more difficult and more time consuming.&lt;/li&gt;     &lt;li&gt;&lt;b&gt;Name and group your layers&lt;/b&gt; - When creating new layers be sure to give them proper names. If your logo consists of twelve different layers named things like &amp;quot;Layer 4 copy&amp;quot; and &amp;quot;Shape 16&amp;quot; this will make things much harder than if you combine them all into one layer or group named &amp;quot;logo&amp;quot;.&lt;/li&gt;     &lt;li&gt;&lt;b&gt;Delete unused layers&lt;/b&gt; - Often times during the design process a designer will try different techniques before settling on a final design.&amp;nbsp; By making sure that you remove all unused layers before sending the PSD to the developer you can ensure there will be no confusion over the final design.&lt;/li&gt;     &lt;li&gt;&lt;b&gt;Create all rollover and active states&lt;/b&gt; - If your design has different states for nav buttons, include all of them for each and every item in the nav, preferrably in named layer groups.&amp;nbsp; If you only include one nav item to illustrate the idea then you force the developer to create the other states.&amp;nbsp; Depending on the design and the developer's Photoshop skills this will often take longer than creating them yourself.&lt;/li&gt;     &lt;li&gt;&lt;b&gt;Include any non-standard fonts&lt;/b&gt; - If you're using a non-web font for things like headers or nav items, include those font files with your PSDs. It's likely that your developers will need them to create additional graphics and/or to include in &lt;a href="http://wiki.novemberborn.net/sifr/"&gt;sIFR&lt;/a&gt; files.&amp;nbsp; OpenType fonts will help ensure that they can be opened on Macs or PCs&lt;/li&gt;     &lt;li&gt;&lt;b&gt;Use the notes feature&lt;/b&gt; - If you have JavaScript functionality in mind for things like rotating promos or an accordion nav you can annotate your Photoshop file by adding notes. These can help eliminate confusion and ensure you get what you want without wasted hours.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;By following those rules and cleaning up your PSD files before you send them on to development you'll make sure that the development process goes as smoothly as possible.&amp;nbsp; This saves time, money, and keeps your development team happy.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=I2eYXU3yJUs:p8qY4q8Hpm8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=I2eYXU3yJUs:p8qY4q8Hpm8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2009/04/prepping-photoshop-files-for-development.php</feedburner:origLink></entry>

<entry>
    <title>A Better Movable Type Search Feature</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/vtEaTqQ-Kdc/a-better-movable-type-search-f.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2009://1.93</id>

    <published>2009-01-27T00:53:14Z</published>
    <updated>2009-05-01T17:25:35Z</updated>

    <summary type="html">I love Movable Type and have used it for dozens of sites and blogs over the last several years.&amp;nbsp; With each release the platform gets better and better but one thing that's always bugged me is that while the majority...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="3rdpartytools" label="3rd Party Tools" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="blogging" label="Blogging" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="Movable Type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;I love Movable Type and have used it for dozens of sites and blogs over the last several years.&amp;nbsp; With each release the platform gets better and better but one thing that's always bugged me is that while the majority of the code is now PHP-based the search feature still relies on a Perl script.&lt;/p&gt;&lt;p&gt;[EDIT: As a Twitter follower pointed out... MT is NOT mostly PHP-based which is true.&amp;nbsp; What I meant to say was that the front-end can be &lt;b&gt;published&lt;/b&gt; to a mostly PHP-based site, except for certain things like the serach feature]&lt;/p&gt;&lt;p&gt;While this probably isn't an issue for most users, advanced users will find this somewhat limiting.&amp;nbsp; Most of the templates I develop include various bits of PHP code in them.&amp;nbsp; Since the search feature runs as .cgi none of my PHP code will execute.&amp;nbsp; In order for my site to function I have to have a separate (often stripped-down) template just for the search feature.&lt;/p&gt;&lt;p&gt;&lt;a href="http://mt-hacks.com/fastsearch.html"&gt;Fast Search from MT-Hacks.com&lt;/a&gt; is the solution to this problem.&amp;nbsp; It's an easy to use plug-in that will allow you to use PHP in your search template. That alone is reason enough for me to use it. It does however, provide a whole bunch of other features such as faster searches, pagination, and search term highlighting.&amp;nbsp; You can use the plugin for free provided that you include a message noting that your search results are powered by Fast Search.&amp;nbsp; Otherwise, non-commercial licenses are $33 and commercial licenses are $97 for up to 5 blogs... a steal for a plug-in that solves one of Movable Type's biggest issues.&amp;nbsp; &lt;a href="http://mt-hacks.com/fastsearch.html"&gt;Find out more or download the plug-in at the MT-Hacks Fast Search page&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Movable Type veterans will note that commenting is also done via a Perl script and suffers from this annoyance as well.&amp;nbsp; &lt;a href="http://www.havocinspired.co.uk/blog/movable_type/work_around_for_mt_comments_cgi_with_php.php"&gt;Ryan Taylor at Havoc Inspired has a simple but brilliant solution for this problem&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Being able to include custom PHP code into ALL of your Movable Type templates opens up some new doors for developers making Movable Type and even more robust platform.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=vtEaTqQ-Kdc:h0wenjURRc4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=vtEaTqQ-Kdc:h0wenjURRc4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2009/01/a-better-movable-type-search-f.php</feedburner:origLink></entry>

<entry>
    <title>Z-Index problem with drop down menus in Firefox 2</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/8FW2e53ClWw/z-index-problem-drop-down-menus-firefox-2.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2009://1.92</id>

    <published>2009-01-11T20:10:24Z</published>
    <updated>2009-05-01T17:25:35Z</updated>

    <summary type="html">I spent several hours this week troubleshooting an obscure Firefox 2 issue so I'm posting it here in case anyone else has the same problem. Like many people I use the Suckerfish method for creating dropdown menus in my web...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="browsertesting" label="Browser Testing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dropdownmenus" label="Dropdown Menus" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="firefox" label="Firefox" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;I spent several hours this week troubleshooting an obscure Firefox 2 issue so I'm posting it here in case anyone else has the same problem.&lt;/p&gt; &lt;p&gt;Like many people I use the &lt;a href="http://htmldog.com/articles/suckerfish/"&gt;Suckerfish&lt;/a&gt; method for creating dropdown menus in my web projects.&amp;nbsp; I've used it on dozens of sites over the last couple of years without any problems until a few days ago.&amp;nbsp; I had a new site, setup the way I normally do.&amp;nbsp; The site worked fine in every browser I tested in except for Firefox 2, even IE6 worked fine.&amp;nbsp; The problem in Firefox 2 was that my dropdown menus would appear underneath and obscured by all of the content below them.&lt;/p&gt;&lt;p&gt;My first thought was to check the position and z-index attributes on all of the elements but that did nothing to solve the problem. After several hours of Google searching and some good old trial and error I finally nailed the issue down.&amp;nbsp; On the &amp;quot;header&amp;quot; div tag, which contained the dropdown nav, there was an extraneous &amp;quot;overflow: hidden;&amp;quot; attribute.&amp;nbsp; I use overflow: hidden on container elements to clear floats but in this case I didn't actually need it.&amp;nbsp; Removing that attribute instantly fixed the problem.&lt;/p&gt;&lt;p&gt;I'm not entirely sure why Firefox 2 choked on this attribute when every other browser rendered things just fine... but if you run into a similar issue check the overflow elements first.&amp;nbsp; You may find the problem there.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=8FW2e53ClWw:4tqqdkHtrC0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=8FW2e53ClWw:4tqqdkHtrC0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2009/01/z-index-problem-drop-down-menus-firefox-2.php</feedburner:origLink></entry>

<entry>
    <title>Microsoft Releases ASP.NET Charting Control</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/4et82_KK6HM/aspnet-charting-control.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2008://1.91</id>

    <published>2008-12-06T16:37:10Z</published>
    <updated>2009-05-01T17:25:35Z</updated>

    <summary type="html">I missed this a week or so ago when it happened so it may be old news by now but... Microsoft has recently released a free set of charting controls for ASP.NET 3.5. While ASP.NET has long had a wide...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="aspnet" label="ASP.NET" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="charting" label="Charting" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;I missed this a week or so ago when it happened so it may be old news by now but... Microsoft has recently released a free set of charting controls for ASP.NET 3.5.&lt;/p&gt; &lt;p&gt;While ASP.NET has long had a wide variety of excellent charting options from 3rd-party vendors such as &lt;a href="http://www.componentart.com/charting/"&gt;ComponentArt &lt;/a&gt;and &lt;a href="http://www.telerik.com/products/aspnet-ajax/chart.aspx"&gt;Telerik&lt;/a&gt;, this is the first robust suite of charts available directly from Microsoft.&amp;nbsp; To sweeten the deal, these controls are completely free while 3rd-party tools are typically expensive and may be cost-prohibitive for smaller projects.&lt;/p&gt; &lt;p&gt;The controls support pretty much what you'd expect from a charting suite...from regular pie and bar charts to more complex charts like candlestick displays for financial data and AJAX-enabled interactive charts.&amp;nbsp; The controls dynamically render cachable image files to display the charts in 2D and 3D formats which look clean and professional.&amp;nbsp; They also support&amp;nbsp; both static data defined in the control itself as well as databinding syntax for creating charts dynamically from data within your database.&lt;/p&gt;&lt;p&gt;It's nice to see Microsoft continue to build upon the ASP.NET platform by continuing to release new features and controls like this.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&amp;amp;DisplayLang=en"&gt;Download the Microsoft Chart Controls&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=1D69CE13-E1E5-4315-825C-F14D33A303E9&amp;amp;displaylang=en"&gt;Download the Chart Controls Add-on for Visual Studio 2008&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/mschart/Release/ProjectReleases.aspx?ReleaseId=1591"&gt;Download the Chart Controls Samples&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=EE8F6F35-B087-4324-9DBA-6DD5E844FD9F&amp;amp;displaylang=en"&gt;Download the Chart Controls Documentation&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/threads/"&gt;Check out the Microsoft Chart Control Forum&lt;/a&gt;&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=4et82_KK6HM:MBuFHEdu3hk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=4et82_KK6HM:MBuFHEdu3hk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2008/12/aspnet-charting-control.php</feedburner:origLink></entry>

<entry>
    <title>Microsoft TechDays - Day 1</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/rUTLCuvxVaM/microsoft-techdays-day-1.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2008://1.90</id>

    <published>2008-10-28T18:28:54Z</published>
    <updated>2009-05-01T17:25:34Z</updated>

    <summary type="html">Today I attended Microsoft's TechDays in Northern Virginia, an event designed to promote awareness and adoption of some of Microsoft's newer technologies.&amp;nbsp; I sat through the developer track which consisted of three sessions. Part 1 - Introduction to ASP.NET AJAX...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="ajax" label="AJAX" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="aspnet" label="ASP.NET" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="iis" label="IIS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="jquery" label="jQuery" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="silverlight" label="Silverlight" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;Today I attended Microsoft's TechDays in Northern Virginia, an event designed to promote awareness and adoption of some of Microsoft's newer technologies.&amp;nbsp; I sat through the developer track which consisted of three sessions.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Part 1 - Introduction to ASP.NET AJAX&lt;/b&gt;&lt;/p&gt; &lt;p&gt;While I was most excited for this session it was, as the name implies, very introductory.&amp;nbsp; The fact that AJAX.NET has been out for so long and they're still doing &amp;quot;What is AJAX?&amp;quot; presentations perhaps speaks to the lack of adoption in the Microsoft community.&amp;nbsp;&lt;/p&gt;&lt;p&gt;They did talk briefly about some of the new features such as AJAX History which can allow for bookmarking and/or use of the back button in the middle of AJAX processes and script combining which can compile your .js files together on the server to decrease download time.&lt;/p&gt; &lt;p&gt;The most exciting topic of discussion however, revolved around Microsoft's recent decision to ship jQuery with Visual Studio.&amp;nbsp; While this is somewhat old news, I did learn that there is an intellisense plugin for jQuery in Visual Studio that was released just yesterday.&lt;/p&gt; &lt;p&gt;Just download &lt;a href="http://jqueryjs.googlecode.com/files/jquery-1.2.6-vsdoc.js" title="jquery-1.2.6-vsdoc.js"&gt;jquery-1.2.6-vsdoc.js&lt;/a&gt; and then add a reference to it by placing the following line at the top of your jQuery JavaScript file:&lt;/p&gt; &lt;div class="code"&gt;&lt;p&gt;/// &amp;lt;reference path=&amp;quot;jquery-1.2.6-vsdoc.js&amp;quot; /&amp;gt;&lt;/p&gt;&lt;/div&gt; &lt;p&gt;&lt;b&gt;Part 2 - Introduction to Silverlight 2&lt;/b&gt;&lt;/p&gt;&lt;p&gt;I've never been sold on Silverlight and today's presentation really didn't do much to change that opinion.&amp;nbsp; If you're not familiar with Silverlight, it's a plugin from Microsoft, somewhat similar to Adobe's Flash plugin, except that it's built on the .NET framework.&amp;nbsp; In theory this seems like&amp;nbsp; a great idea but in practical application I'm not sure it's a viable solution just yet.&amp;nbsp; For starters, many people still don't have the plugin.&amp;nbsp; Secondly, the learning curve for designers and developers is much higher than Microsoft would like us to believe.&amp;nbsp; Lastly, most of what Silverlight does can be accomplished through other means like AJAX or Flash.&lt;/p&gt;&lt;p&gt;Overall it's an interesting concept and it's definitely come a long way since it's release last year but I'm still on the fence as to whether I'd acutally use it for a project.&lt;/p&gt;&lt;p&gt;To find out more and to keep tabs on this new technology, visit &lt;a href="http://silverlight.net"&gt;Silverlight.net&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Part 3 - Servers and Services&lt;/b&gt;&lt;/p&gt;&lt;p&gt;This talk was largely about the enhancements made in IIS7.&amp;nbsp;&amp;nbsp; This looks to be a complete overhaul of the server environment with ASP.NET baked in directly this time, making it a &amp;quot;first class citizen&amp;quot; as the Microsoft team put it.&amp;nbsp; This will lead to better performance and easier customization.&amp;nbsp; (Never fear, there is a &amp;quot;Classic Mode&amp;quot; to the pipeline for backwards compatibility)&lt;/p&gt;&lt;p&gt;All of the configuration is now XML-driven as well so it's not only easy to update but also easy to move or share configuration options between servers.&lt;/p&gt;&lt;p&gt;Lastly, the new integrated approach to ASP.NET means that all modules can now provide services for all content types since everything runs through the .NET process.&amp;nbsp; So for example, if you enable forms authentication, all of your images, videos, and other non-aspx files will also now be protected.&lt;/p&gt;&lt;p&gt;&amp;nbsp;-----&lt;/p&gt;&lt;p&gt;Overall it was a decent event.&amp;nbsp; The Thursday session has talks about REST services and the new MVC framework so I'm looking forward to that as well.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=rUTLCuvxVaM:Tb-_Hx34bBc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=rUTLCuvxVaM:Tb-_Hx34bBc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2008/10/microsoft-techdays-day-1.php</feedburner:origLink></entry>

<entry>
    <title>Using the Constant Contact API with ASP.NET</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/HSkNN_EJAO4/using-the-constant-contact-api.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2008://1.89</id>

    <published>2008-09-25T22:06:12Z</published>
    <updated>2009-05-01T18:18:05Z</updated>

    <summary type="html">Several of my clients use Constant Contact to manage their email newsletter subscription lists.&amp;nbsp; It's a cost-effective solution to handle user signups, send and track emails, and manage unsubscribe requests.&amp;nbsp; The default web form that Constant Contact gives you however,...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="3rdpartytools" label="3rd Party Tools" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="aspnet" label="ASP.NET" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="constantcontact" label="Constant Contact" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;Several of my clients use &lt;a href="http://www.constantcontact.com/"&gt;Constant Contact&lt;/a&gt; to manage their email newsletter subscription lists.&amp;nbsp; It's a cost-effective solution to handle user signups, send and track emails, and manage unsubscribe requests.&amp;nbsp; The default web form that Constant Contact gives you however, leaves a lot to be desired in the design department.&amp;nbsp; For direct integration into your website you need to leverage their API which, at the time of this writing, is somewhat poorly documented and doesn't include any code samples for ASP.NET.&lt;/p&gt;
&lt;p&gt;Below is a simple code example of how you can use the API to embed a simple form on your site that will submit a request to Constant Contact and add a user to your list.&amp;nbsp; I'm sure there is much more you can do with the API but this is the basic requirement for most implementations.&lt;/p&gt;
&lt;p&gt;Step one is to request an API key from Constant Contact.&amp;nbsp; Go to &lt;a href="http://developer.constantcontact.com/apikey/login"&gt;http://developer.constantcontact.com/apikey/login&lt;/a&gt; and input your username and password to generate the key that you'll need for API access.&lt;/p&gt;
&lt;p&gt;We can now use this authentication to make an HTTP POST to the Constant Contact server and submit our user's form data.&lt;/p&gt;
&lt;p&gt;Step two will be to setup a form with validation controls that will allow a user to enter their first name, last name, email address, and other fields that you may want to capture (like their company name).&amp;nbsp; If you're reading this post I'm assuming you know how to setup an ASP.NET web form. If not, buy &lt;a href="http://www.codescene.com/2008/03/book-review-aspnet-35-unleashed.php"&gt;Stephen Walther's book&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Step three is the actual code you need to transmit the data that the user entered into the form.&lt;/p&gt;
&lt;pre class="brush: vbnet;"&gt;
Imports System.Net
Imports System.IO

'Setup your variables
Dim sUsername As String = &amp;quot;CONSTANT_CONTACT_USERNAME&amp;quot;
Dim sPassword As String = &amp;quot;CONSTANT_CONTACT_PASSWORD&amp;quot;
Dim sUri As String = &amp;quot;http://api.constantcontact.com/ws/customers/&amp;quot; &amp;amp; sUsername &amp;amp; &amp;quot;/activities&amp;quot;

Dim sListUri As String = &amp;quot;http://api.constantcontact.com/ws/customers/&amp;quot; &amp;amp; sUsername &amp;amp; &amp;quot;/lists/1&amp;quot; 'If you have more than one list, change this number to whichever list you're targeting
Dim sAPIKey As String = &amp;quot;CONSTANT_CONTACT_API_KEY&amp;quot;

'Setup an HttpWebRequest to send the data
Dim address As New Uri(sUri)

Dim request As HttpWebRequest = TryCast(WebRequest.Create(address), HttpWebRequest)
request.Credentials = New NetworkCredential((sAPIKey &amp;amp; &amp;quot;%&amp;quot; &amp;amp; sUsername), sPassword)
request.Method = &amp;quot;POST&amp;quot;
request.ContentType = &amp;quot;application/x-www-form-urlencoded&amp;quot;

'Build an encoded string of the data to pass to Constant Contact

'More info on this can be found at http://developer.constantcontact.com/doc/activities
Dim data As New StringBuilder()
data.Append(&amp;quot;activityType=&amp;quot; + HttpUtility.UrlEncode(&amp;quot;SV_ADD&amp;quot;, Encoding.UTF8))
data.Append(&amp;quot;&amp;amp;data=&amp;quot; + HttpUtility.UrlEncode((&amp;quot;Email Address,Email Type,First Name,Last Name,Company Name&amp;quot; &amp;amp; Chr(10)), Encoding.UTF8))

data.Append(HttpUtility.UrlEncode((txtEmail.Text &amp;amp; &amp;quot;,HTML,&amp;quot; &amp;amp; txtFirstName.Text &amp;amp; &amp;quot;,&amp;quot; &amp;amp; txtLastName.Text &amp;amp; &amp;quot;,&amp;quot; &amp;amp; txtOrganization.Text), Encoding.UTF8))

data.Append(&amp;quot;&amp;amp;lists=&amp;quot; + HttpUtility.UrlEncode(sListUri)

'The &amp;quot;guts&amp;quot; of the code to execute the request and return a response
'The response (returned as 'strResponse') will be XML.&amp;nbsp; You can parse this for status messages if you like, or just ignore it.
Dim byteData As Byte() = UTF8Encoding.UTF8.GetBytes(data.ToString())

Dim st As String = String.Empty

request.ContentLength = byteData.Length
Using postStream As Stream = request.GetRequestStream()
	postStream.Write(byteData, 0, byteData.Length)
End Using

Using response As HttpWebResponse = TryCast(request.GetResponse(), HttpWebResponse)
	Dim reader As New StreamReader(response.GetResponseStream())
	st = reader.ReadToEnd()
End Using
&lt;/pre&gt;
&lt;p&gt;Step four would be to provide the user with some sort of confirmation.&amp;nbsp; Perhaps redirect them to a "thank you page" or turn some panels on and off to signal completion of the process.&lt;/p&gt;
&lt;p&gt;That's it!&amp;nbsp; I'm sure there are other ways to do this, probably more elegant ones, and I'd love to hear from anyone who's done more Constant Contact integration work with .NET.&amp;nbsp; If you're just looking to quickly and easily integrate a sign-up form on your site though, this should get you started.&lt;/p&gt;
&lt;p&gt;Special thanks to "&lt;span class="submitted"&gt;cbaugh" on the Constant Contact forums who provided a C# example which was the baseline for this VB code example that I've documented here.&lt;/span&gt;&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=HSkNN_EJAO4:EWqJvU5ro6I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=HSkNN_EJAO4:EWqJvU5ro6I:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2008/09/using-the-constant-contact-api.php</feedburner:origLink></entry>

<entry>
    <title>The 5 hidden costs of running a CMS</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/UmvzLSK-kBQ/hidden-cms-costs.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2008://1.88</id>

    <published>2008-08-13T22:18:29Z</published>
    <updated>2009-05-01T17:25:33Z</updated>

    <summary type="html">Just a quick post to highlight Paul Boag's great article over on ThinkVitamin entitled The 5 hidden costs of running a CMS.&amp;nbsp; I've blogged about problems with content management systems before so it's good to know that I'm not the...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="business" label="Business" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="contentmanagementsystems" label="Content Management Systems" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;Just a quick post to highlight Paul Boag's great article over on ThinkVitamin entitled &lt;a href="http://www.thinkvitamin.com/features/biz/the-5-hidden-costs-of-running-a-cms"&gt;The 5 hidden costs of running a CMS&lt;/a&gt;.&amp;nbsp; I've blogged about &lt;a href="http://www.codescene.com/2006/05/the-problem-with-content-manag-1.php"&gt;problems with content management systems&lt;/a&gt; before so it's good to know that I'm not the only one who feels this way.&amp;nbsp; I won't say that CMSs are always a bad idea but I do think business managers should read this article before making snap decisions and thinking that a CMS will solve all their problems.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=UmvzLSK-kBQ:QGYeS9Y7TGE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=UmvzLSK-kBQ:QGYeS9Y7TGE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2008/08/hidden-cms-costs.php</feedburner:origLink></entry>

<entry>
    <title>Review: Telerik RadControls for ASP.NET AJAX</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/gH5fBkwpA3Y/review-telerik-radcontrols.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2008://1.87</id>

    <published>2008-08-05T03:30:39Z</published>
    <updated>2009-05-01T17:25:33Z</updated>

    <summary type="html">While the number of 3rd-party components built on the .NET framework seems to rise by the day, Telerik continues to remain an industry leader, delivering a very comprehensive set of tools at a reasonable price. As the owner of a...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="3rdpartytools" label="3rd Party Tools" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ajax" label="AJAX" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="aspnet" label="ASP.NET" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="telerik" label="Telerik" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;While the number of 3rd-party components built on the .NET framework seems to rise by the day, &lt;a href="http://www.telerik.com/"&gt;Telerik&lt;/a&gt; continues to remain an industry leader, delivering a very comprehensive set of tools at a reasonable price. As the owner of a small web business I'm constantly looking for ways to get complicated tasks done quicker and easier thereby providing excellent solutions for my clients at affordable rates.&amp;nbsp; The Telerik RadControls suite allows me to do precisely that.&lt;/p&gt;&lt;p&gt;I'd played around with Telerik's controls in the past and had been impressed so when a recent client project called for a custom ASP.NET CMS setup, I decided that it was time to see what the updated RadControls toolset was all about.&amp;nbsp; In a word... awesome. While the old RadControls for ASP.NET is still a great product, the new RadControls for ASP.NET AJAX versions are just amazing.&lt;/p&gt;&lt;p&gt;The &lt;a href="http://www.telerik.com/DEMOS/ASPNET/Prometheus/Controls/Examples/Default/DefaultCS.aspx"&gt;online demos&lt;/a&gt; really speak for themselves and say more about the product than this blog post ever could but I'll give it a shot.&amp;nbsp; The Editor control is the best I've seen with it's easily customizable interface and built in asset management and image editing dialogs.&amp;nbsp; The Grid control is everything the .NET GridView control should be with it's almost limitless features.&amp;nbsp; The Dock and Window tools enable you to effortlessly create portal sites with drag and drop windows... and on and on and on.&amp;nbsp; Hit the demo site and see for yourself.&lt;/p&gt;&lt;p&gt;$999 for a license (plus subscription and source code) isn't exactly pocket change but consider what you get for that money.&amp;nbsp; With 22 controls in the suite, that works out to less than 50 bucks per control.&amp;nbsp; Similar components sell for hundreds of dollars apiece.&amp;nbsp; The best part though, in my opinion, is that the license is per developer.&amp;nbsp; So once I buy the toolset, I can use any or all of the controls in as many projects as I want.&amp;nbsp; I can use them across multiple servers and domains and for various different clients.&lt;/p&gt;&lt;p&gt;Lastly, as you would expect there is a slight learning curve to being able to effectively utilize the product.&amp;nbsp; Telerik's immensely detailed documentation, vast library of training videos, and online forums and knowledge base will all help you get up and running as soon as possible however.&amp;nbsp; The few hours you'll spend learning the controls will save you countless hours down the road.&lt;/p&gt;&lt;p&gt;If you're an ASP.NET developer, you owe it to yourself to check out &lt;a href="http://www.telerik.com/products/aspnet-ajax/overview.aspx"&gt;Telerik RadControls&lt;/a&gt;.&amp;nbsp; Once you start using them, you'll wonder how you ever got by without them.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=gH5fBkwpA3Y:fMRB9idXYp4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=gH5fBkwpA3Y:fMRB9idXYp4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2008/08/review-telerik-radcontrols.php</feedburner:origLink></entry>

<entry>
    <title>Running your own web development business</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/nF0_HjT9HvM/running-your-own-web-business.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2008://1.86</id>

    <published>2008-07-25T20:45:02Z</published>
    <updated>2009-05-01T17:25:33Z</updated>

    <summary type="html">I few months ago I left my full-time job to start a small web development business of my own... so far so good.&amp;nbsp; Things are going well and I'm learning a lot about business aspects that were foreign to me...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="business" label="Business" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="webdevelopment" label="Web Development" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;I few months ago I left my full-time job to start a small web development business of my own... so far so good.&amp;nbsp; Things are going well and I'm learning a lot about business aspects that were foreign to me just a short time ago.&lt;/p&gt;&lt;p&gt;Along the way I've met a lot of folks interested in becoming more serious about their freelancing gigs and/or starting small companies of their own.&amp;nbsp; This post is intended to be a quick resource list for people like that.&amp;nbsp; I quickly learned that I couldn't do everything on my own but thankfully there are lots of websites out there that will help you get the ball rolling quickly.&lt;/p&gt;&lt;p&gt;&lt;a href="http://freelanceswitch.com/"&gt;Freelance Switch&lt;/a&gt;&lt;br /&gt;Blog, forum, podcasts, job board, etc.&amp;nbsp; A veritable one-stop-shop for all sorts of information related to getting serious about freelancing.&amp;nbsp; Add it to your &lt;a href="http://www.netvibes.com/"&gt;Netvibes&lt;/a&gt; account today.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.mycorporation.com"&gt;MyCorporation.com&lt;/a&gt;&lt;br /&gt;When it's time to file the paperwork to register your business as an LLC, get an EIN number, apply for a trademark, etc., these guys can help you sort through all the legal jargon much cheaper than hiring an actual lawyer.&lt;/p&gt;&lt;p&gt;&lt;a href="https://www.freshbooks.com/subscribe.php?ref=ccb5def420162-1"&gt;Freshbooks&lt;/a&gt;&lt;br /&gt;Once the work comes in you'll need a way to log your hours, track your expenses, and most importantly, invoice your clients. Freshbooks provides an amazing web based service that allows you to do all that and more for a very affordable price.&amp;nbsp; I would be lost without them.&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;a href="http://mozy.com/pro"&gt;Mozy&lt;/a&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt; If your  computer crashes and you lose a client's files they will NOT be  happy&lt;/span&gt;&lt;/font&gt;.&amp;nbsp; Make sure you have a backup plan in place.&amp;nbsp; Mozy is a robust, secure solution that also happens to be cheap and simple to setup.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.getdropbox.com/"&gt;DropBox&lt;/a&gt;&lt;br /&gt;Still in BETA at the time of this post but DropBox looks to be one of the most easy-to-use ways to synchronize files between computers.&lt;/p&gt;&lt;p&gt;&lt;a href="http://docs.google.com"&gt;Google Docs&lt;/a&gt;&lt;br /&gt;An incredibly simple way to share and collaborate on documents with your partners, employees, or clients. It also happens to be free.&amp;nbsp; Watch a great &lt;a href="http://www.youtube.com/watch?v=eRqUE6IHTEA"&gt;video on Google Docs&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;a href="http://www.freeconference.com"&gt;FreeConference.com&lt;/a&gt;&lt;br /&gt;Love them or hate them, conference calls are unavoidable in this business.&amp;nbsp; FreeConference.com lets you setup professional conference call lines for free.&amp;nbsp; No need to buy an expensive phone system.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://partner.microsoft.com"&gt;Microsoft Partner Program&lt;/a&gt;&lt;br /&gt;If you're an ASP.NET shop, consider becoming a Microsoft partner.&amp;nbsp; You'll get access to news, training materials, and discounted software like the Microsoft Action Pack.&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;a href="http://www.zazzle.com"&gt;Zazzle&lt;/a&gt;&lt;br /&gt;Easily print your new company's logo on a t-shirt, mousepad, coffe cup, etc.&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;   &lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;a href="http://www.filetaxes.com"&gt;FileTaxes.com&lt;/a&gt;&lt;br /&gt;Already so big that you're hiring freelancers of your own?&amp;nbsp; FileTaxes.com can take care of sending the 1099 forms you'll need for tax purposes.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;-----&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;Those are some good resources to get you started.&amp;nbsp; As I become more involved in &lt;/font&gt;&lt;/font&gt;all things business related I may post a follow-up with anything new I've learned.&amp;nbsp; If you feel I've missed an obvious resource, place it in the comments below.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=nF0_HjT9HvM:r0r7sTE_TJI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=nF0_HjT9HvM:r0r7sTE_TJI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2008/07/running-your-own-web-business.php</feedburner:origLink></entry>

<entry>
    <title>Compressing Prototype and Script.aculo.us</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/FIKWCNInDUY/compressing-prototype-scriptaculous.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2008://1.85</id>

    <published>2008-07-08T14:46:46Z</published>
    <updated>2009-05-01T17:25:32Z</updated>

    <summary type="html">&amp;nbsp;If you're doing web development these days there's a good chance you've used the Prototype and Script.aculo.us JavaScript libraries.&amp;nbsp; They're both excellent and free libraries which make time-consuming JavaScript tasks much much simpler.The only problem with them is that they're...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="apis" label="APIs" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="javascript" label="JavaScript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="prototype" label="Prototype" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="scriptaculous" label="script.aculo.us" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;&amp;nbsp;If you're doing web development these days there's a good chance you've used the &lt;a href="http://www.prototypejs.org/"&gt;Prototype&lt;/a&gt; and &lt;a href="http://script.aculo.us/"&gt;Script.aculo.us&lt;/a&gt; JavaScript libraries.&amp;nbsp; They're both excellent and free libraries which make time-consuming JavaScript tasks much much simpler.&lt;/p&gt;&lt;p&gt;The only problem with them is that they're not exactly small.&amp;nbsp; If you just want to add some simple scrolling or fading effects to a page, you're looking at adding 160KB of JavaScript files... ouch.&lt;/p&gt;&lt;p&gt;Enter Protoaculous, a version of the scripts combined and compressed to minimize load times.&amp;nbsp; The compressed version now adds only 39KB to your site.&amp;nbsp; If all you need is the Script.aculo.us effects library you could use a version which weighs in at only 27KB.&lt;/p&gt;&lt;p&gt;I used it on a site I recently built and everything seems to work great.&amp;nbsp; I highly recommend using this tactic to minimize the load times on your sites.&lt;/p&gt;&lt;p&gt;&lt;a href="http://groups.google.com/group/prototype-core/files"&gt;Download the Protopack zip file here&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Side note:&amp;nbsp; A recent post of the &lt;a href="http://www.bewebdriven.com/blog/whats-hot/google-offers-hosted-ajax.php"&gt;WebDriven Blog&lt;/a&gt; alerted me to another option to solving this problem in &lt;a href="http://code.google.com/apis/ajaxlibs/"&gt;Google's new AJAX library API&lt;/a&gt;.&amp;nbsp; With this, you can let Google host the prototype (or jQuery, mooTools, and dojo) libraries for you.&amp;nbsp; In theory since these scripts will be pulled from Google's ultra-fast servers, it should help speed up your load times as well.&amp;nbsp; I've yet to try this approach but would be interested in hearing from anyone who does.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=FIKWCNInDUY:IiOXuUlkjbI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=FIKWCNInDUY:IiOXuUlkjbI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2008/07/compressing-prototype-scriptaculous.php</feedburner:origLink></entry>

<entry>
    <title>Dreamweaver CS3 - InsertRecord.js Bug</title>
    <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeScene/~3/HwQz81y_ksc/dreamweaver-cs3-insertrecordjs.php" />
    <id>tag:codescene.com.s62295.gridserver.com,2008://1.84</id>

    <published>2008-07-01T00:24:00Z</published>
    <updated>2009-05-01T17:25:32Z</updated>

    <summary type="html">Another day, another random mind-boggling Dreamweaver crash.A few days ago, I was working on a PHP/MySQL project.  The project was simple and the timeline was short so I opted to use Dreamweaver's built-in functions to connect to my database and...</summary>
    <author>
        <name>Jay Buys</name>
        
    </author>
    
    <category term="dreamweaver" label="Dreamweaver" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codescene.com/">
        &lt;p&gt;Another day, another random mind-boggling Dreamweaver crash.&lt;/p&gt;&lt;p&gt;A few days ago, I was working on a PHP/MySQL project.&amp;#160; The project was simple and the timeline was short so I opted to use Dreamweaver's built-in functions to connect to my database and insert values from my form when a user clicked the submit button.&amp;#160; I'd done this before and it's simple enough, but this time when I tried to do it Dreamweaver gave me this lovely error message:&lt;/p&gt;&lt;p&gt;&lt;i&gt;While executing onChange in InsertRecord.htm, the following JavaScript error(s) occurred:&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;At line 646 of file "C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration\ServerBehaviors\PHP_MySQL\InsertRecord.js": TypeError: name has no properties&lt;/i&gt;&lt;/p&gt;&lt;p&gt;An hour of searching Google didn't help me find a solution so I finally opened this JavaScript file and decided to figure it out myself.&lt;/p&gt;&lt;p&gt;The answer is surprisingly simple.&amp;#160; It turns out that the problem was due to my form elements not having a &lt;b&gt;name&lt;/b&gt; attribute.&amp;#160; I typically write all my XHTML from scratch and generally just give all my form elements an &lt;b&gt;ID&lt;/b&gt; attribute.&amp;#160;&amp;#160; The JavaScript that Dreamweaver uses to identify the form elements (and match them with their database fields) relies solely on the &lt;b&gt;name&lt;/b&gt; attribute.&amp;#160; Without it, Dreamweaver throws this not so graceful error message.&lt;/p&gt;
							 &lt;p&gt;So there you have it.&amp;#160; If you get this error message, double check that all of your form fields have proper names.&lt;/p&gt;
        
    &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=HwQz81y_ksc:kIQORCAZAQ0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/CodeScene?a=HwQz81y_ksc:kIQORCAZAQ0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/CodeScene?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
<feedburner:origLink>http://www.codescene.com/2008/06/dreamweaver-cs3-insertrecordjs.php</feedburner:origLink></entry>

</feed>
