that sounds okay
a class is good mainly when dealing with one specific kind of objects/operations
I almost never use Classes, myself
and if i can avoid it, i dont use functions() either
.. because it makes script slower and to get any major advantage
you would have to use same advanced long function/class 2 times or more
in same script execution
there is nothing you cant do as good or better
with use of normal code or functions
Class on the other hand, is practical
if you want to write many different aplications that are in same category.
Class is a way to re-use code, and do not have to write same sub script again.
Class - Object programming
it is really only a bunch of functions that deals with same sort of things
and can share
....same variables, data
....and same subroutines
Usually all php applications need an user interface
.... user submits data, usually <FORM>
.... user gets results .. output, most often as a Display
- so you could add a Form Class, for input
- and a template Class .. a Page class, for output
-------------------
there are many such Form and Templates classes around
for free download
I am not a member at http://www.phpclasses.org/
but I often endup there when searching google for some class application
Right now for example http://www.phpclasses.org/browse/
has got classes in category: Templates(110)
and I am sure has got even more Form Classes than 110