OOP

From: Date: Wed, 15 Jan 2003 19:05:21 +0000
Subject: OOP
Groups: php.general 
Request: Send a blank email to php-general+get-131735@lists.php.net to get a copy of this message
Hi, I've been doing a little OOP lately and have a few questions. I want to build an application, there a re lots of elements to the application: Authentication, Database, Presentation, Error Handling etc. Now, I want to code this cleanly and make it reusable. So, a class for each of these elements would be a good idea? Say I have an Authentication class. It has to run on it own. Should I build database, error methods into each of my classes? That seems to defeat the point in the first place? At the moment I seem to struggling with how to do somthing right and well, rather than the actual code :) Thanks for any advice you can give, Jord -- Jordan Elver You don't have to be mad to work here! In fact we ask you to complete a medical questionnaire to ensure that you are not. -- David Brent (The Office)

« previous php.general (#131735) next »