Where can I get high-level design tips?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wad
Forum Newbie
Posts: 8
Joined: Wed May 14, 2003 10:26 am
Location: Tucson, AZ
Contact:

Where can I get high-level design tips?

Post by wad »

I'm new to PHP (but not new to object-oriented software development) and I need to design a remote administration tool that will be talk to a custom server via sockets.

I've got the socket connection to work great, so I've verified that it can work, but now I need to design the overall structure of the application.

After looking through several tuturials and websites, I have found little or no information on how to set something like this up.

For example, should I make it all one file, that dynamically generates the forms? That way my classes can all exist in the one file. Or, since there will be 4 main pages for the user to interact with, should I do it in 4 different .php files? I could use require() to link in the common shared objects I'll write, such as the NetworkConnection class.

The ideal would be a sample PHP-enabled website, where I could dig around in the code, and see how it works.

Let me know of any resources I might find useful.

Thanks! --- Eric
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Post Reply