browse by tag: class
sort by
Stay away from Bloated Class Methods, actually, bloated ANYTHING!
in PHP added by rvdavid, on 22/3/2008 classes methods oop php5 principles tips
Why are there so many examples of bloated PHP methods out there?! I see a lot of bloated methods being used in examples through sites like phpclasses.org and a very large chunk of a project I’ve recently picked up which a few developers have worked on. Guys! remember! There is no good reason to bloat your methods to over 10-20 lines long and on the rare occasions that you do exceed 10 - 20 lines it would be more the exception to the rule as opposed to being the rule itself!
comment save reportCreating Your Own Exception Classes
in PHP added by tutorialhelpdesk, on 3/2/2008 class exception php5
Learn to get control over how (or if) error messages are displayed to users, even though you're using several third-party libraries that each have their own views on handling errors.
comment save reportTutorial: Create a zip file from folders on the fly
in PHP added by finalwebsites, on 24/9/2007 classes file handling scripts zip
Creating zip files on a web server is a feature which could be very useful for backups or just for offering an unknown number of dynamic files or folder inside of a directory. This tutorial shows us how handle that with only a few rows of PHP code!
comment save reportHow to make a Line Chart Class with gdLibrary
in PHP added by PartDigital, on 2/6/2007 Chart Graph advanced tutorials class dynamic gdLibrary image php5
Learn how to make a Line Chart Class that you can use over and over again!
comment save reportUsing Objects to Create an Application
in PHP added by goodphptutorials, on 16/1/2006 class design objects oo programming oop software design
This tutorial is the second in a series dealing with using objects to create an application -- building the application up from smaller parts -- and teaching important software engineering and design concepts that will be useful writing not only in PHP, but in other languages as well.
comment save report