Skip to content

Web Builder Zone Web design, css, html, usability & a touch of Ajax
Syndicate content
Updated: 1 hour 26 min ago

Practical PHP Refactoring: Tease Apart Inheritance

3 hours 6 min ago
We are entering into the final part of this series, on large scale refactorings: this kind of operations is less predictable and less immediate. However, it is important to be able to perform them with small steps whenever necessary, if we don't want to get stuck in a situation with dozens of broken classes and no clear further step to take. Preview Text:  ...
Categories: Communities

Refreshing AppFuse's UI with Twitter Bootstrap

7 hours 3 min ago
The last time AppFuse had an update done to its look and feel was in way back in 2006. I've done a lot of consulting since then, which has included a fair bit of page speed optimization, HTML5 development and integrating smarter CSS. It was way back in '05 when we first started looking at adding a CSS Framework to AppFuse. Preview Text:  ...
Categories: Communities

wxPython: Showing 2 Filetypes in wx.FileDialog

7 hours 38 min ago
The other day on the wxPython IRC channel on freenode, one of the members there asked if there was a way to make the wx.FileDialog display more than one file type at a time. In the back of mind, I thought I had seen a Microsoft product that could do it, but I’d never seen any wxPython examples. In this short tutorial, you will learn how to do this handy trick! Preview Text:  ...
Categories: Communities

jQuery "Pinify" Plugin Tutorial for Building App-Like Sites

Sun, 02/05/2012 - 19:39
Preview Text:  IE9 lets you integrate sites with the Windows 7 desktop easily, using the jQuery 'Pinify' plugin. This article explains how to use Pinify to break the boundaries of the browser and push your sites to Windows users more directly.
Categories: Communities

Limit your abstractions: Analyzing a DDD application

Sun, 02/05/2012 - 07:48
Abstractions have a cost. You should limit them. That seems like an obvious statement, but in a recent discussion I had, I realized that I didn’t articulate things in quite the proper way before. Let me see if I can explain better now. One of the problems in typical applications is that we don’t really think before we introduce abstractions. For the purpose of this discussion, an...
Categories: Communities

Model Templates in Django without Denormalization

Sun, 02/05/2012 - 07:01
I came across an interesting problem recently, while trying to model the structure of a university course in Django. The model needed to represent the notion of a university module, which can be taught over a number of semesters and/or years, by different people, and with different students each time round. Some information remained common to each of these modules however, such as the code,...
Categories: Communities

Number- New HTML5 Input type

Sat, 02/04/2012 - 20:20
I have been writing few series of new HTML5 input types and this is another post on same series. In this post I am going to explain Number input types. The number type is for numeric values. When you use number input type it will have spinner with up and down arrow and with the help of this you can increase or decrease of value. Attributes of Number Input type: There are four attributes of...
Categories: Communities

Browsing Blobs within a container using the Windows Azure Node SDK

Sat, 02/04/2012 - 08:42
The last couple of weeks we were working on a new, exciting project: a collaborative, real-time markdown editor that runs on a NodeJS server, hosted on Windows Azure (you'll hear more about this soon). One of the features that this app will have is the ability to store the .markdown files in either your local disk or Azure Blob Storage. To achieve this, we investigated the best way to list...
Categories: Communities

Video Tutorials for Azure on Cloud9

Sat, 02/04/2012 - 08:32
Today Cloud9 announced the availability of Windows Azure in order to better serve the Node.js community.  Cloud9 claims to be the "best environment for importing, developing, and testing your node.js applications."  The Cloud9 team has also posted the videos below to help you get started. Preview Text:  The Cloud9 team has also posted...
Categories: Communities

Venn Diagram entirely in CSS

Sat, 02/04/2012 - 07:00
A friend of mine alerted me this weekend to just how much I have a weird fascination with Venn diagrams. I decided to roll with it. So yeah, I have an irrational love of Venn diagrams. But that begs the question, can I make a Venn diagram with just CSS? I found a couple of examples out there: Preview Text:  A friend of mine alerted me this...
Categories: Communities

Backbone.js vs Ember.js

Fri, 02/03/2012 - 22:02
In the #documentcloud IRC channel on January 31, 2012, Jeremy Ashkenas (jashkenas) and Yehuda Katz (wycats) were asked by Travis Swicegood to contrast Backbone.js and Ember.js. (I have removed some IRC noise and unrelated conversations for clarity.) Preview Text:  A little discussion came up on IRC about Ember.js vs. Backbone.js. Jeremy Ashkena...
Categories: Communities

DZone's Different!

Fri, 02/03/2012 - 20:00
Hello DZoners!My name is Austin Kowitz and I’m a graphic designer at DZone. And you can mostly blame (praise?) me and DZone developer, Ross Jernigan, for what you see currently at DZone. We still have tons of ideas we haven't implemented yet -- but we're doing the agile thing, releasing early, releasing often. So we'd love hear your feedback, whatever it may be. I’m bracing myself for the...
Categories: Communities

Running Sentry on DotCloud

Fri, 02/03/2012 - 19:01
Sentry is a realtime event logging and aggregation platform. At it’s core it specializes in monitoring errors and extracting all the information needed to do a proper post-mortum without any of the hassle of the standard user feedback loop. Preview Text:  Ken Cochrane has a great step by step post on how to run Sentry on DotCloud. ...
Categories: Communities

Local Directory vs. Local Guide

Fri, 02/03/2012 - 17:08
When I started working with the CityGrid Places API I needed a project to help me learning about how to use the API, and wrap my head around whats possible when building local web applications. Preview Text:  Kin's work with CityGrid places led him to the conclusion that user-centered local direction provides search mechanisms for finding...
Categories: Communities

Servo: A Vision for the Future of Firefox

Fri, 02/03/2012 - 17:05
Recently, Mozilla stopped the Electrolysis project [1] that was to give Firefox per-tab processes. Hence, I was relieved when David Bruant pointed out to me that Mozilla haven’t given up on a parallel browser. They are working on a project called Servo which is being implemented in the Rust programming language. Servo – the next Firefox Preview Text:  ...
Categories: Communities

The Class System in Sencha Touch 2

Fri, 02/03/2012 - 16:39
Sencha Touch 1 used the class system from Ext JS 3, which provides a simple but powerful inheritance system that makes it easier to write big complex things like applications and frameworks. With Sencha Touch 2 we’ve taken Ext JS 4’s much more advanced class system and used it to create a leaner, cleaner and more beautiful framework. This post takes you through what has changed and how to...
Categories: Communities

MongoDB on Windows in 5 Minutes

Fri, 02/03/2012 - 08:36
In this 5 minute post, we will describe a quick start for MongoDB on Windows. I will show you how to connect to MongoDB Server and to start the administrative shell. Preview Text:  Dhananjay Kumar offers a quick and dirty rundown of MongoDB on windows, with useful images. Eric Genesky ...
Categories: Communities

Mocking Generator Methods in Python

Fri, 02/03/2012 - 07:01
Another mock recipe, this one for mocking generator methods. Preview Text:  A Python generator is a function or method that uses the yield statement to return a series of values when iterated over. Michael Foord gives a brief explanation of mocking this process in Python using MagicMock. ...
Categories: Communities

Multiprocessing Goodness Part 1: Use Case

Fri, 02/03/2012 - 07:01
The advantage of multiprocessing is to have multiple processes working on a problem.  If we break a big problem into small, concurrent steps, we can often get results in less elapsed time by making more effective use of the CPU.  Specifically, we want to make use of non-user time where our process might be waiting for something on the network or waiting for physical I/O to finish. ...
Categories: Communities

Converting the World to Python: Debian Packaging

Thu, 02/02/2012 - 23:37
Time for another installment of my ongoing mission to convert the world to Python 3!  This time, a little Debian packaging-fu for modifying an existing Python 2 package to include support for Python 3 from the same source package. Preview Text:  Barry Warsaw demonstrates some 'packaging-fu' for modifying existing Python 2 packages to...
Categories: Communities