Your Ad Here
 
Samay Live
 
Web Tutorials » How to create and use classes
Submitted By: Ccucu
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.

 

 
Related Ebooks/Softwares
You must login or register to make submit comments.
Comments
 
Username:
Password:
 
Sign Up | Lost Password
 
 

Execution time : 0.0133240222931