Where can I get high-level design tips?
Posted: Wed May 14, 2003 10:46 am
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
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