Posts

Showing posts from July, 2009

Catapult Kids Day

Image
I work for a consulting company which is big on providing a great place to work. Catapult Systems was ranked #2 best place to work in all of Texas last year and also received the same impressive rank in 2006. Examples: Last weekend we had a Catapult kids day when all the employees got to bring their kids into work. My 4 year old son had a blast. Granted, now his impression is that I play mini-golf, watch movies, and shoot Nerf guns all day. My son is the one in front making the funny face. I so proud of my little goofball :).

DIVs not Tables

My brother-in-law is an HTML extraordinaire and has been telling me for years that DIVs are just better than tables. I never believed him. I though this was just inherited open source community hatred towards Microsoft’s server controls that spit out tables everywhere. But I have been convinced! There is actually a simple demonstrable, measurable benefit to using DIVs over tables. A common scenario is displaying two columns of information with the label in the left and the value in the right column. See the code below, the DIV option is definitely cleaner and results in 7 tags while the table version results in 11. The <label> tag is also more descriptive than a <td> tag. Granted, in order to make your DIVs line up correctly, you have to use styles, while tables do this by default. Div version: (7 tags required) < div > < div > < label > scrollTop: </ label > < input type ="text" /> ...

Enable JQuery intellisense in Visual Studio 2008

Steps to Enable jQuery Intellisense in VS 2008 Step 1 : Install VS 2008 SP1 Link: http://msdn.microsoft.com/en-us/vstudio/cc533448.aspx Step 2 : Install VS 2008 Patch KB958502 to Support "-vsdoc.js" Intellisense Files Link: http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736 Step 3 : Download the jQuery-vsdoc.js file Link: http://docs.jquery.com/Downloading_jQuery#Download_jQuery Full story with details can be found here: Scott Guthrie announcement