aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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
Author

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
Sheriff

Joined: Nov 03, 2006
Posts: 1364
    
  17
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.

Katrina
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

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.

thanks,
bear
JavaRanch sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mike Bowers
Author
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: http://aspose.com/file-tools
 
subject: How important it is to apply a design pattern?