Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread tedd
At 8:50 PM -0600 2/24/08, Larry Garfield wrote: Design patterns are just that: A formalization of various common patterns that come up over and over in programming. Ever get the feeling wow, I know I've written something kinda like this at least three times now? That means it's probably a

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Matty Sarro
Actually thats exactly what design patterns were created for. You come up with a basic structure and then modify it as needed for other projects. I mean, the objects/structures/whatever may change, but the patterns of logic you use will often be the same or only require minor adjustments. Its a

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Eric Butera
On Mon, Feb 25, 2008 at 9:20 AM, tedd [EMAIL PROTECTED] wrote: At 8:50 PM -0600 2/24/08, Larry Garfield wrote: Design patterns are just that: A formalization of various common patterns that come up over and over in programming. Ever get the feeling wow, I know I've written something

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Nathan Nobbe
On Mon, Feb 25, 2008 at 9:20 AM, tedd [EMAIL PROTECTED] wrote: At 8:50 PM -0600 2/24/08, Larry Garfield wrote: Design patterns are just that: A formalization of various common patterns that come up over and over in programming. Ever get the feeling wow, I know I've written something kinda

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Matty Sarro
I agree, that head first book is fantabulous. Very well written and easy to read for a techie book. It makes the usage of design patterns incredibly easy to understand. But like all things simply understanding the theory doesn't always equal being able to practice it... that only comes with using

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Robert Cummings
My favourite patterns are the following: factory singleton adaptor These also happen to be the most common I come across. Cheers, Rob. On Mon, 2008-02-25 at 10:31 -0500, Matty Sarro wrote: I agree, that head first book is fantabulous. Very well written and easy to read for a

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Nathan Nobbe
On Mon, Feb 25, 2008 at 10:38 AM, Robert Cummings [EMAIL PROTECTED] wrote: My favourite patterns are the following: factory singleton adaptor i dont know about any favorites at this time but as far as common, id say strategy adapter template method (often used in conjunction w/

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Jim Lucas
tedd wrote: At 8:50 PM -0600 2/24/08, Larry Garfield wrote: Design patterns are just that: A formalization of various common patterns that come up over and over in programming. Ever get the feeling wow, I know I've written something kinda like this at least three times now? That means it's

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Eric Butera
On Mon, Feb 25, 2008 at 11:07 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Mon, Feb 25, 2008 at 10:38 AM, Robert Cummings [EMAIL PROTECTED] wrote: My favourite patterns are the following: factory singleton adaptor i dont know about any favorites at this time but as far as

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Nathan Nobbe
On Mon, Feb 25, 2008 at 12:06 PM, Eric Butera [EMAIL PROTECTED] wrote: I'm not going to even say anything. :) Since we're declaring our love for specifics, I really like the observer pattern lately for adding a way to add features without touching the core. ahh yes, observer is key; i

RE: [PHP] Re: When to use design patterns?

2008-02-25 Thread Jay Blanchard
[snip] Design patterns are used to solve common problems to in OOP programming. [/snip] It is just not limited to OOP, design patterns are used to solve common programming problems regardless of methodology. They have come into vogue with OOP and have been leveraged heavily in that case. Design

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread tedd
At 10:31 AM -0500 2/25/08, Matty Sarro wrote: Also maybe look at Head First Design Patterns if you are interested in ever understanding them. Okay -- thanks for the recommendation -- I just bought it. Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread tedd
At 9:51 AM -0500 2/25/08, Eric Butera wrote: To each their own I guess. Just out of curiosity, are you primarily writing entire web applications or one off scripts? If a client can describe it, that's what I do. As compared to some of the others of this list, I'm just a script-kiddy. But, I

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Jason Pruim
On Feb 25, 2008, at 4:18 PM, tedd wrote: At 9:51 AM -0500 2/25/08, Eric Butera wrote: To each their own I guess. Just out of curiosity, are you primarily writing entire web applications or one off scripts? If a client can describe it, that's what I do. As compared to some of the others of

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Michael McGlothlin
Can you do web 2.0? Because it just HAS to be web 2.0... anything else is s last version :) Yuck - I hate overuse of 'web 2.0' stuff. Don't add features that don't benefit your users and if you must do fancy stuff then please make sure your site still works for users without

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Matty Sarro
Dangit, I can only do web1.9.5 :( I guess I've been deprecated... On Mon, Feb 25, 2008 at 4:27 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 25, 2008, at 4:18 PM, tedd wrote: At 9:51 AM -0500 2/25/08, Eric Butera wrote: To each their own I guess. Just out of curiosity, are you

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Greg Donald
On 2/25/08, Michael McGlothlin [EMAIL PROTECTED] wrote: I've been fighting with stupid Joomla lately because it throws Javascript errors making it unusable. The un-usability began for me when I became aware of the 250+ published exploits under it's current Joomla name:

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Stut
Greg Donald wrote: On 2/25/08, Michael McGlothlin [EMAIL PROTECTED] wrote: I've been fighting with stupid Joomla lately because it throws Javascript errors making it unusable. The un-usability began for me when I became aware of the 250+ published exploits under it's current Joomla name:

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Robert Cummings
On Mon, 2008-02-25 at 16:35 -0500, Matty Sarro wrote: Dangit, I can only do web1.9.5 :( I guess I've been deprecated... Loozers... I come from the year 3129 and we do DWeb 80.3 on the Hyperweb! We can link to the past... we found Zelda! *groan :)* Cheers, Rob. --

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread tedd
At 4:27 PM -0500 2/25/08, Jason Pruim wrote: On Feb 25, 2008, at 4:18 PM, tedd wrote: I do everything from basic design to back-end stuff and everything in between -- all with the newest buzz-words applied (i.e., graceful degradation, unobtrusive code, accessible, functional, secure, and it

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread tedd
At 9:58 PM + 2/25/08, Stut wrote: Not disagreeing with you, but just to be clear Joomla is a fork of Mambo. -Stut Oh, I thought everyone was talking about dances and all along it's been silverware. Damn, I'm never going to get this design pattern thing. :-) Cheers, tedd --

[PHP] Re: When to use design patterns?

2008-02-24 Thread Nathan Rixham
carlos wrote: skylark wrote: Design patterns are really hot today. And I am really interested when and how often they are used. It is said that 99% of the projects don't need them. Design patterns are used to solve common problems to in OOP programming. If you use OOP, chances are you

Re: [PHP] Re: When to use design patterns?

2008-02-24 Thread Larry Garfield
On Saturday 23 February 2008, carlos wrote: skylark wrote: Design patterns are really hot today. And I am really interested when and how often they are used. It is said that 99% of the projects don't need them. Design patterns are used to solve common problems to in OOP programming.

[PHP] Re: When to use design patterns?

2008-02-23 Thread carlos
skylark wrote: Design patterns are really hot today. And I am really interested when and how often they are used. It is said that 99% of the projects don't need them. Design patterns are used to solve common problems to in OOP programming. If you use OOP, chances are you have used a design