PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu May 28, 2020 1:20 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Design Patters - use em?
PostPosted: Fri May 23, 2003 3:42 pm 
Offline
Forum Regular

Joined: Thu Aug 01, 2002 5:42 pm
Posts: 819
Location: Los Angeles, CA


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 23, 2003 4:26 pm 
Offline
DevNet Resident
User avatar

Joined: Sat Jun 08, 2002 1:24 pm
Posts: 1207
Location: Florida
I don't really think that way personally, but there is good in it if it helps you. Harry Fuecks and Jason are doing great stuff with PHP in this area. Check out PHPpatterns.com much?

Something else you may wish to keep in mind is that there are a lot of general programming sites out there that have tons of great interviews and articles. No, they may not be PHP specific, but it's really good to start thinking of problems at a higher level, as opposed to just wearing "your favorite language" colored glasses. Artima.com (a java/python shop) has some fantastic articles and interviews. Joel Spolsky is another one.

Anyways, I get a kick out of the anti pattern thing. As much as being funny, it's as much a guide as regular patters are.

Cheers,
BDKR


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 24, 2003 12:49 am 
Offline
DevNet Resident
User avatar

Joined: Fri Aug 16, 2002 8:57 am
Posts: 1834
Location: Watertown, MA
I almost always design before I write. After coming up with a design (database schema, class structure, page-flow, page layout, etc) each part goes through some "what-if" testing and "rigorization".

Database schema gets normalized to 5NF (I'm a database stickler) and triggers/rules/db functions, UDTs are spec'd out.

Class structure gets compared to the Gang of Four's patterns. I decide if I want to restructure my first pass to orient along the "standard patterns" at this point. I'm much less a stickler here than I am on database design -- probably because code is 100-1000 times easier to change than the schema. I find the GoF's book to be a wonderful reference, as it goes into a great deal of input for when they feel the different patterns are useful and when they are not.

Page Flow/layout for is more fluid and I don't "rigorize" it much at this point. I find I need beta-user input for this. However, I do spend a great deal of time decided what type of security mechanism is required -- probably as much time is spent on this as in the database.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 24, 2003 7:03 am 
Offline
DevNet Resident
User avatar

Joined: Sat Jun 08, 2002 1:24 pm
Posts: 1207
Location: Florida


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 24, 2003 11:50 am 
Offline
DevNet Resident
User avatar

Joined: Fri Aug 16, 2002 8:57 am
Posts: 1834
Location: Watertown, MA


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 24, 2003 1:35 pm 
Offline
DevNet Resident
User avatar

Joined: Sat Jun 08, 2002 1:24 pm
Posts: 1207
Location: Florida


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2003 9:20 am 
Offline
Site Admin

Joined: Thu Apr 18, 2002 3:14 pm
Posts: 1767
Location: Montreal, CA


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group