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.
tag : library
Have you ever needed to parse a URL using regular expressions? It’s not easy to write regular expressions (for a lot of people, including myself) and it’s even tougher to test to see if that regular expression is reliable across every situation. You could, of course, just copy and paste a regular expression (or function or library) that someone else developed and use that, but I propose that there is a simpler and more concise way of parsing URLs that doesn’t require any regular expressions.
I’ve talked about Wijmo here before, discussing the vast array of widgets that they provide to go above and beyond the jQuery UI library and allow you to easily create a rich user interface for your applications. Well, now I have a $299 commercial license that I’ve decided is more likely to be put to good use by one of my loyal followers (or a first-time visitor too I guess). Read on to see how you can win!
Part 4: Backbone.js Collections Video Tutorial is here now. We’ve already discussed models, views, and routers in Backbone.js so far, but now we’re on to collections. Collections are pretty much exactly what their name implies: collections of models. Many times, data is displayed in lists, not just singular items. This is where collections come in - to keep every model in order and synchronized with the database on the back end.
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.
jQuery UI is one of the cooler things to come out with jQuery. It allows you to easily install widgets and simple capabilities onto your site quickly and easily. ThemeRoller makes it even more fun by allowing you to style the widgets in nearly limitless ways. There is one place where jQuery UI is lacking though: the number of widgets it provides. This is where Wijmo comes in.