Sometimes, even jQuery can’t save you from yourself

General, jQuery By Dave Ward on July 8th, 2010

I recently encountered what appeared to be a cross-browser issue with jQuery, which was both surprising and frustrating. After all, eliminating those cross-browser inconsistencies is no small part of jQuery’s fundamental appeal.

After some investigation, the source of the trouble actually stemmed from an oversight on my part. I doubt that many of you will have to deal with exactly the same situation, but the lessons I learned may apply to cross-browser jQuery problems you encounter in the future.

Click here to read the rest of this post »

I’m giving away 10 free months of TekPub this week

General By Dave Ward on May 17th, 2010

If you follow me on Twitter, this stack of free TekPub trials may look familiar:

A stack of TekPub free monthly trial cards

Each card is redeemable for a one-month membership at TekPub, which allows free, unrestricted access to all of the videos on the site. Of course, that also includes access to my TekPub series, Mastering jQuery.

I’ve given many of them away at events like MIX10 and ReMIX Atlanta 2010, but made sure to reserve some of them for you. After all, there would be no Mastering jQuery series without you.

Click here to read the rest of this post »

A few thoughts on jQuery templating with jQuery.tmpl

General, JavaScript, UI, jQuery By Dave Ward on May 3rd, 2010

I spent some quality time with Dave Reed’s latest revision of John Resig’s jQuery.tmpl plugin recently, migrating a small project from jTemplates. Since both the jQuery team and Microsoft team have requested feedback on jQuery.tmpl, I decided to write about my experience using it (as I am wont to do with these templating proposals).

Overall, jQuery.tmpl is a great step in the right direction. It’s small, it’s simple, and it’s fast. Overloading append() to allow the append(Template, Data) syntax is phenomenal. That approach feels more like idiomatic jQuery than anything else I’ve used, including jTemplates.

However, if this template rendering engine is going to succeed broadly, I feel there’s one important feature still missing. Additionally, there are a couple ancillary features that are present in the current proposal, but should be protected.

Click here to read the rest of this post »

How 30 seconds dropped my bounce rate by 78%

General By Dave Ward on April 23rd, 2010

Blogging about blogging alert!

This post is a bit off-topic, but I thought it was interesting. Since many of you have asked me metablogging questions, I thought you might be interested too.

An overwhelming majority of people who end up on my site only view a single page per visit. In fact, you’ll probably do the same. As I’ve come to realize: that’s okay.

I didn’t always think it was okay though. Throughout most of 2007, that caused me a great deal of concern. I’d been reading too many blogs about blogging, was convinced that persuading you to click through multiple pages was essential to the site’s success, but wasn’t able to make that happen here

Ultimately, the number of pageviews wasn’t very worrisome, because the site continued to grow. What did frustrate me was the impact that single-view visits have on a more important metric.

Click here to read the rest of this post »

3 years of Encosia, the best of 2009, and my gratitude

General By Dave Ward on December 21st, 2009

On this day in 2006, I wrote and published a short post here about something that had eluded my attempts at searching for an answer. I thought that archiving the information online might help if I needed to find it again later, and that it might help anyone else who had been similarly unable to track down the answer.

Three years later, the site has served over one million page views to JavaScript enabled browsers in the last year alone, and thousands of you keep tabs on the site’s updates through RSS, email, and/or Twitter.

One step at a time, it’s astonishing just how far this thing has come.

Click here to read the rest of this post »

Is Silverlight the new WebForms?

General By Dave Ward on September 14th, 2009

WebForms to Silverlight - Just when I thought I was out... they pull me back in!

While there’s no question that HTML, CSS, and JavaScript form the foundation of modern web development, achieving fluency hasn’t been easy for everyone. In particular, the transition from stateful development with pixel-precise layout – such as VB6 offered – has proven to be especially difficult. HTTP’s stateless nature and HTML’s relatively imprecise layout present a new, different set of challenges.

WebForms aspired to insulate us from those inconveniences. Promising rapid, drag ‘n drop layout and event-driven programming, WebForms was an attractive choice for anyone struggling with web development closer to the metal. Unfortunately, it has become apparent over the years that the WebForms abstraction, while convenient, can easily cause more problems than it solves.

More recently, Silverlight’s WYSIWYG layout and choice of familiar CLR languages have made it a similarly enticing alternative to HTML, CSS, and JavaScript among some .NET developers, but is history repeating itself? Are we leveraging Silverlight to move the platform forward or is it being used as another crutch?

Specifically, I want you to consider three areas that are negatively impacted by overzealous use of Silverlight: Usability, accessibility, and maintainability.

Click here to read the rest of this post »

Design the new Encosia logo. Win $350.

General By Dave Ward on January 28th, 2009

The time for this is long past due. The current logo does not make the sort of first impression that it needs to. It’s a good reminder that we should usually stick to our core competencies (i.e. I shouldn’t pretend to be a graphic designer).

I know at least a handful of you are design focused. So, if you want to take a shot at the contest, head on over to the contest page at Logo Tournament and show me what you’ve got.

Update: The contest is over. I want to thank everyone who participated, especially the winner: Anica Soleva.

Best of 2008: 5 most popular posts

General By Dave Ward on December 23rd, 2008

Reviewing my stats for the year, you might think the only topic I write about is jQuery. Of the posts I’ve written in 2008, 80% of the most popular posts have been jQuery related.

That’s okay with me though. I’m happy to see so many of you embracing jQuery in your ASP.NET applications.

With Microsoft’s surprise announcement that jQuery will be bundled with future versions of Visual Studio, I think the jQuery tangent that ASP.NET developers such as myself, Rick Strahl, and Matt Berseth have explored this year has definitely proven worthwhile.

Click here to read the rest of this post »

Username Availability Validator v1.0 released

General, Reading By Dave Ward on October 2nd, 2008

I am happy to announce that the first release of Username Availability Validator is available on CodePlex today: http://www.codeplex.com/UsernameAvailability.

Username Availability Validator is an ASP.NET server control which provides indication of username availability, for use in new user registration functionality.

Features include:

  • Choice of automatic validation of the username’s availability as the user types it or validation when the user changes form fields.
  • Derived from BaseValidator, so Page.IsValid and the ValidationSummary control function correctly.
  • Flexibility of validating against an ASP.NET MembershipProvider or a custom authentication store, through a user supplied web service or page method.

Click here to read the rest of this post »

Username Availability Validator is nearing… availability

AJAX, ASP.NET, General By Dave Ward on September 18th, 2008

After about a week of great discussion and development over at CodePlex, the Username Availability Validator control is nearing readiness for an initial release.

While there are still a few outstanding bug fixes up for grabs and ample room for enhancement, most of the control’s base functionality has been implemented. If you intend to enter the Advanced ASP.NET AJAX Server Controls book giveaway contest via code contribution, time is running out, so don’t delay.

Click here to read the rest of this post »