jQuery Mobile Form Validation

Note: I've updated the following post to work with jQuery Mobile 1.0+. After the beta version they deprecated the Orientation Classes that this post originally used to handle the layout of the error messages. jQuery Mobile recommends using CSS3 Media Queries instead. If you need support for older browsers then respond.js is a nice polyfill for this.
Read More »

jQuery Conference Boston 2010 Video: Intro to jQuery UI

The presentations from last year’s jQuery Conference Boston 2010 are now online for you to view. You can click the above picture to watch my introduction to jQuery UI. The material is targeted to someone who hasn’t seen jQuery UI at all or knows very little about it.


I have hosted my slides from the presentation if you are interested.

Other Presentations

In addition you can check out most of the other sessions from the jQuery Conference Videos page.

Some of talks the talks that I found particularly interesting were…

<ul><li>Mobile UI by Filament Group</li><li>OOCSS for JavaScript Pirates by John Hann & Brian Cavalier</li><li>Inaugural State of HTML 5 by Paul Irish</li><li>Beyond the DOM: Functionality-Focused Code Organization by Rebecca Murphey</li><li>Contextual jQuery by Doug Neiner</li><li>jQuery’s Best Friends by Alex Sexton</li><li>jQuery Effects: Beyond the basics by Karl Swedberg</li><li>Theming jQuery UI like an Aristocrat by Chris Bannon</li><li>Building Extensible Widgets by Scott González</li><li>Getting Involved by Ralph Whitbeck</li></ul><div>

Read More »

Video: Good C# Habits Can Encourage Bad JavaScript Habits

Today I recorded a Webinar with DevExpress entitled “Good C# Habits Can Encourage Bad JavaScript Habits”. The webinar is embedded below.

The talk was spurred by a recent Fornt-end Architecture Review I performed where the background of the developers was primarily C#. The project was almost entirely written in JavaScript and I noticed a common set of bad JavaScript practices that appeared to have their influence in good C# techniques.

<div><div>These thoughts turned into a series of articles that I posted several months ago on Enterprise jQuery and I have recently pooled the articles into the following presentation.</div></div>
I hope that this presentation will help you prevent some of these mistakes in your projects and to let you know, I’ve made all these mistakes myself :)

<h3> Resources</h3><div>
</div>At the end of the presentation I list several resources that you might want to dig into and research for yourself.

Slides and Articles
<ul><li>I have hosted the slides from the video. I utilized an HTML5 Presentation tool and the slides are best viewed using either Google Chrome or Firefox. </li><li>The article series this video was based on can be found on Enterprise jQuery</li></ul>Tools
<ul><li>JSLint.com by Douglas Crockford</li></ul>Books
<ul><li>JavaScript: The Good Parts by Douglas Crockford</li><li>JavaScript Patterns by Stoyan Stefanov</li></ul>Articles
<ul><li>Prototypes and Inheritance in JavaScript by Scott Allen</li><li>Use Cases for JavaScript Closures by Juriy Zaytsev</li><li>JavaScript for C# Programmers series by Julian Bucknall</li></ul>Video
<ul><li>Crockford on JavaScript video series on Yahoo!</li></ul>
Mix 11 Conference

If you like this topic, then please consider voting for it to be included in the Microsoft Mix 11 conference by clicking the following tweet. Voting ends on Feb 4th. Thanks!

Read More »

Bedroom Closet to Work Office Transformation

As many of you are aware late last year the company I worked for went belly up over some shady business they were doing. My job ended the day the FBI and IRS raided our building.

That was my last day working in an office building for me. Since then, I’ve joined the fine team at appendTo as a Senior Architect doing Front-end Architecture Reviews, JavaScript and jQuery consulting, writing for Enterprise jQuery, etc… The funny thing about appendTo is that we are all spread across the United States, which means that there is no real office!

The fact that I have 3 kids makes finding a quiet place around the house a tad difficult. I didn’t really want to pay for an office space somewhere, so I tried to be creative in where I worked. First I tried family or neighbors close by that worked during the day. Then one day my wife suggested converting half of our Master Bedroom Closet into an office…  and that is where I am right now :)

Thankfully the closet already had an air vent otherwise I’d probably suffocate. I did need electricity and an internet connection so, my Father-in-Law wired the electricity and DSL through the Bedroom wall.

The beginnings of my Closet Office were uncomfortable and cumbersome as you can see in this first photo. The computer I had worked on previously was owned by my work and… well, the FBI confiscated that ;) So, I was left with my netbook until I could order my next computer. I bought a picnic table from Wal-Mart as a stop gap solution, but it proved to be too tall and wasted a lot of precious desk space. Also, the fold up chain didn’t cut it. I was drooping in my seat by the end of the day.

My Father-in-Law saw my working conditions and took me to Staples to buy me an appropriate office chair. It is amazing how much a comfortable chain can change your whole day! Ohh and and you can see, my MacBook Pro arrived :)

Next my Father-in-Law said that he could build me a custom desk to fit the small space. He had a bunch of wood left over from a desk he built himself a year or two ago. We took out the bottom clothes rack in half of the closet to install the desk. He used a ledger and a couple of braces to keep it strong without having table legs in the way.

The next step of my Closet Office was to build huge cabinets that stretched to the ceiling with lights underneath. This project took the longest and was a chore to install, but now I have tons of room to store books, pictures, coffee, bills, etc. At this stage of the project we removed the top clothes rack in half the closet.

Note: The MacBook you see below wasn’t mine. A client I worked for was really particular about security and I had to use one of their computers and work over VPN. Thankfully the project is over and I’m able to use my MacBook Pro again.

So, there you have it! As you can tell I own a HUGE thanks to my Father-in-Law for all his hard work.

And if you were wondering…
<ul><li>My office space takes up 5’ 2’’ x 4’ 5’’ of our total 11’ 11’’ x 4’ 5’’ closet space. We keep our clothes in the remaining part. </li><li>I like to call my working space as the “Man Cave” </li><li>And yes, I do come out of the closet every day LOL. As you could probably guess, I get that joke a lot :)</li></ul>

Read More »

JavaScript DevExpress Webinar on 2-Feb-2011

The fine people at DevExpress are letting me present a Webinar covering the Good C# Habits can Encourage Bad JavaScript Habits series that I wrote on the Enterprise jQuery website.

The Webinar will take place on Wednesday February 2nd, 2011 at 12:00pm CST (other time zones).
<blockquote>This happens to be the same talk that I submitted as a proposed topic to the Mix11 conference. I would appreciate if you could vote for my session to be included in the conference line-up. Thanks!</blockquote>The session is considered beginning as it covered introduction level JavaScript concepts that may not be known by a typical C# developer. The talk will last about an hour, but it may go a little over with questions and answers.

Register Now

Read More »