Before I begin I just want to say:
I always thought classes were hard, they are not hard at all.
They are actuatly VERY easy to use and to learn.
They can also add alot more security to your site, they can help
optimize code for faster loading times and so on.
How do they add security?
Instead of connecting to a database for example, and querying the
database with the default functions, you can pass them through a class,
have it evaluate the query, see if its valid, check to see if it is
unaltered and make sure no one is trying to inject sql.
Comments