File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes How important it is to apply a design pattern? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How important it is to apply a design pattern?" Watch "How important it is to apply a design pattern?" New topic

How important it is to apply a design pattern?

Praful Gupta
Ranch Hand

Joined: May 01, 2006
Posts: 70
Hi ... i am a newbie to Web 2.0 stuff and have just picked up designing applications using CSS, JavaScript etc. How important it is to apply design patterns to a web application? And does it depend on how complex or available the we application is?
[ October 09, 2007: Message edited by: Bear Bibeault ]
Katrina Owen

Joined: Nov 03, 2006
Posts: 1367
It really depends on what you are trying to achieve, to my mind.

A pattern isn't a template, and it isn't a solution in itself. It is a way of approaching a certain type of issue in a cleaner or easier way than many of the "solutions" one comes up with right off the bat.

I think that a good grasp of the types of problems that you run into along with a good overview of the various patterns that successfully address those problems will allow you the flexibility to apply a pattern or not when it is needed.

Having patterns at your fingertips will allow you to recognize that you are about to get yourself into a mess, or it might help you once you realize what sort of mess you are in, to re-approach your design in a new way.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63839

How imp it is to apply a design pattern?
Please use real words when posting to the forums. Abbreviations such as "imp" in place of "important" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

JavaRanch sheriff

[Asking smart questions] [About Bear] [Books by Bear]
Mike Bowers
Ranch Hand

Joined: Oct 08, 2007
Posts: 42
The design patterns in my book, CSS and HTML Design Patterns, are important because they dramatically increase your productivity. It doesn't matter how complex or simple your application is. Patterns make your job easier.

They are building blocks that can be combined to create any design you can imagine. They are similar to templates and recipes, but they go deeper � they are the patterns behind templates and recipes.

In my book, I bring each pattern to life by showing you many examples of how to implement the pattern using CSS and XHTML. These patterns and examples show you the most effective way to design web pages that are accessible, flexible, semantic, and reliable.

The examples I give for each pattern remove all the guesswork and trial-and-error out of building web pages. They make it easy for you to imagine what you want and then build it using proven patterns that work in every major browser.

Using these design patterns, you will be able to create web pages many times faster than can without them.
I agree. Here's the link:
subject: How important it is to apply a design pattern?
It's not a secret anymore!