Page 1 of 1

OOP Planning Book

Posted: Fri Sep 30, 2005 11:33 pm
by d3ad1ysp0rk
Alright, I've got a slight problem. I'm a decent programmer, I can solve problems, I can rewrite code to run better or look nicer, I can do a lot, and I've even been learning some advanced OOP techniques lately, but there is one thing I just can't seem to do: plan.
No matter how much brain power or paper I use, my planning ends up revolving more around what pages will exist and what functionality the site will have (register, login, post pictures, etc) instead of what the actual classes will be doing and how they will be set up (inheritance, etc).

Does anyone have any suggestions for books along the lines of "OOP Planning" or "Applied OOP"?

Thanks.

Posted: Sat Oct 01, 2005 8:51 am
by alvinphp
I would learn UML. Before I write one line of code I first plan it out in UML. This saves me a lot of time in the long run as I can find problems before I start coding. This coupled with some prototyping / mockup pages and you should be set to go.

Posted: Sat Oct 01, 2005 10:10 am
by Maugrim_The_Reaper
Anything mentioning PHP Design Patterns...

Thinking in pages is fine - that's the top level of what you want. But to construct a page you may to do a lot more, like what data will you be handling, what tasks will be done, etc. It's this lower level stuff you should look at when planning OOP from the ground up.