|
hi there,
ive been working with php a little while now and have written some small basic CMS systems myself which have done their job as needed.
i use a certain amount of functions within the site (i.e. resizing images that have been uploaded, checking a valid admin user is logged in etc) but feel that i could be using them a lot more. especially with regards to areas of the CMS where i add/edit/delete mysql records as i am currently writing code for this several times over within the CMS.
i also see that people recommend using the use of classes wherever possible, such as to connect to the database and even some sites that say to use them when adding/editing/deleting mysql records too?
which is the route i should be taking? and if so, any suggestions or links to sites that show me or have samples of codes for class/functions how to do this?
many thanks
|