tag : jQuery

New Project Page: JZ Parse URL

It’s taken too long, but it’s finally completed. The project page for JZ Parse URL is up with full documentation. You can also find it listed on the projects page. Along with this new project comes a few minor changes to the way the project pages are done: files will no longer be directly downloadable from the site, but instead everything is done on GitHub. Also, I’ve decided to make the documentation in the JavaScript files more minimal and instead just link to the project pages. This update will happen soon and will not bring a new version number.

Walking Through jQuery Plugin Boilerplate

Building jQuery plugins can be very fun and is done by many, many people today. The jQuery team has made it pretty darn easy to get up and running creating jQuery plugins, so much so that many JavaScript developers who don’t really know what they are doing jump onto the bandwagon too. This leads to horrible code floating around all over the internet. Thankfully, some very smart people came up with jQuery plugin boilerplates. Today I’ll walk you through one and show you how they make jQuery plugin coding simpler and more organized.

New Project Released: JZ Parse URL jQuery Plugin

In the advent of the recent URL Parsing tutorials (DOM URL Parsing and Query String Parsing) I’ve decided that we put the knowledge we’ve gained – plus some compatibility fixes – into practice and create a lightweight jQuery plugin that quickly and simply handles all of your URL Parsing needs. Now, rather than using regular expressions (that so few understand) or using the techniques I’ve taught to you yourself, I’ve made it simple to use a single utility function attached to jQuery.

3 Ways to Parse a Query String in a URL

It’s not too often that a query string needs to be parsed with JavaScript, but that’s definitely not to say that it never happens. For those rare occurrences when you do need to parse the query string on the front end, there are numerous ways to parse a query string into an object with each parameter being a property of that object. In this article, I’ll show you three of those techniques and let you in on a secret of how I’m using these techniques in my own projects.

requestAnimationFrame: Video Introduction to New Animation Techniques

The arrival of requestAnimationFrame gives browsers the ability to throttle animations to save them from devouring system resources, especially when they aren’t actually being shown on the screen. Knowing this, we need to learn how to use it and then actually start utilizing this new tool for the benefit of our users. For this very reason, I decided to make this short video tutorial explaining how requestAnimationFrame can be used in the animations on your applications.

jQuery in Action Book Review

jQuery is without a doubt one of the most widely used JavaScript libraries available today, and for good reason. It’s very good at what it does, but with the great power it offers comes great responsibility. Someone using jQuery incorrectly can wreak havoc across the internet (or at least on their own site). You must learn how to use jQuery properly. This is where a great book comes in very handy, and jQuery In Action is one of those great books.

Introduction to Backbone.js Part 5: AJAX – Video Tutorial

Everyone loves AJAX. A few years back it was probably the biggest buzz word in all of web development. Now HTML5 and CSS3 have stolen the show, but AJAX has now taken its place as a first-class citizen among web development - and specifically JavaScript - tools. And to make things even better, Backbone.js has built in support for AJAX and makes it dead simple for you to use it to synchronize your models with a database, as I show in this video tutorial.

Introduction to Backbone.js Part 3: Routers – Video Tutorial

We’re on to part 3 in the Backbone.js video tutorials series. This week we feature another important piece of the Backbone puzzle: Routers. You could conceivably create your JavaScript apps without Routers, but the ingenious technique behind routers allows your users to bookmark the app at a particular state or even use the back and forward buttons to traverse through the history of your applications state. Watch the video to learn more!

Introduction to Backbone.js Part 2: Views - Video Tutorial

Last week you saw a video tutorial on using Models in Backbone.js. This week we’ve moved right along to part 2: learning about Views in Backbone.js. As usual, Backbone.js has made things super simple, yet you get a lot for how little code you write. You’ll see how to attach events (super easy) and utilize models (also super easy) to give your views some data to work with.

JZ Publish/Subscribe jQuery Plugin Version 1.3 Released

It’s been a little while since I’ve taken a look at JZ Publish/Subscribe, but recently I had a great idea to fix a problem I was having trouble solving. Mix that in with a few more bits of context capability and you have the version 1.3 release of JZ Publish/Subscribe. Go ahead and read a little more to get the scoop on this great idea and how it will make using JZ Publish/Subscribe more stable.