Browsing Author

Dan Wellman

Dan Wellman has been writing web-design and scripting tutorials for approximately 7 years. His new book, jQuery UI 1.7: The User Interface library for jQuery, was released at the end of 2009.
Author Feed

.htaccess Files for the Rest of Us

.htaccess Files for the Rest of Us

.htaccess files are used to configure Apache, as well a range of other web servers. Despite the .htaccess file type extension, they are simply text files that can be edited using any text-editor. In this article, we’ll review what they are, and how you can use them in your projects.

Create a Scalable Widget Using YUI3: Part 4

Create a Scalable Widget Using YUI3: Part 4

Welcome to the last part in the YUI3 widget tutorial; although we’ve actually finished building the widget, we’re going to look at how easy it is to add extra functionality to a widget without having to re-write it.

Let’s get started right away!

Create a Scalable Widget Using YUI3: Part 3

Create a Scalable Widget Using YUI3: Part 3

In the last part of this series, we looked at the life-cycle methods, automatic methods and the custom methods that our widget requires or can make use of. In this part, we’re going to finish defining the widget’s class by adding the attribute change-handling methods that we attached in the bindUI() life-cycle method.

Let’s get started right away!

Create a Scalable Widget Using YUI3: Part 2

Create a Scalable Widget Using YUI3: Part 2

In part one of this series, we reviewed some of the necessary constructs to use when creating a widget with YUI3. We looked at the static properties we needed to set, the class constructor and namespacing, and briefly looked at the extend() method.

In this part of the tutorial, we’ll review the prototype methods we can override or create in order to make our widget function.

Create a Scalable Widget Using YUI3: Part 1

Create a Scalable Widget Using YUI3: Part 1

In this tutorial, we’re going to look at how easy it is to create scalable, robust and portable widgets using the latest version of the Yahoo User Interface library. YUI3 provides a Widget class for us to extend in order to create widgets in a consistent way that leverage the power of the library.

The widget that we’ll create today is a Twitter search client that will query Twitter’s search API and consume the JSON response in order to display tweets that contain the configured search term. We can also add additional functionality such as allowing the visitor to choose another term and do a new search, and viewing paged results. Join me after the jump!

What you Should be Excited About in jQuery UI 1.9

What you Should be Excited About in jQuery UI 1.9

jQuery UI 1.8 has been around for a little while now. In fact, it’s currently on version 1.8.16. jQuery UI 1.9 is under active development and brings a number of new widgets to the table, along with the usual improvements in stability and performance.

The biggest changes are, of course, the new widgets themselves, but there have also been modifications to some of the existing widgets. We’ll look at the new widgets first. The widgets are in the advanced stages of development, but you should be aware that the widget’s APIs are still subject to change until they are fully finalized.

Into the Ring with Knockout.js: The Title Fight

Into the Ring with Knockout.js: The Title Fight

In this final part in our knockout mini-series, we’ll add a couple more feature to the simple contacts app that we’ve built over the course of the last two tutorials. We’ve already covered the core fundamentals of the library – data-binding, templating, observables and dependant observables – so this part will consolidate what we’ve learned so far.


This entry is part 3 of 3 in the Into the Ring with Knockout.js Session
Into the Ring with Knockout.js

Into the Ring with Knockout.js

In the red corner, weighing in at just 29Kb (uncompressed), is knockout.js; a pure JavaScript library that simplifies the creation of dynamic user interfaces. Knockout is library agnostic, so it can easily be used with any of the most popular JavaScript libraries already available, but it works particularly well with jQuery, and uses jQuery.tmpl as its default templating engine.

Into the Ring with knockout.js: Part 2 – the Rematch

Into the Ring with knockout.js: Part 2 – the Rematch

In the first part of this tutorial, we put together a basic example of a list of contacts. The view (the visible representation of the data on the page) was created using a template, along with some other elements bound to methods and properties of the viewModel using data-bind attributes. Some of the values in the viewModel were observable and were monitored for changes which were then propagated to our view automatically.

In this part, we’ll continue building on the example to add additional functionality. For example, if there were a lot of contacts in our model, a useful feature to add would be paging, to break the view up into more manageable sections.


This entry is part 2 of 3 in the Into the Ring with Knockout.js Session
Into the Ring with knockout.js

Into the Ring with knockout.js

In the red corner, weighing in at just 29Kb (uncompressed), is knockout.js; a pure JavaScript library that simplifies the creation of dynamic user interfaces. Knockout is library agnostic, so it can easily be used with any of the most popular JavaScript libraries already available, but it works particularly well with jQuery, and uses jQuery.tmpl as its default templating engine.


This entry is part 1 of 3 in the Into the Ring with Knockout.js Session
Page 1 of 41234