browse by tag: oop
sort by
PHP5 and OOP
in PHP added by Jordan, on 10/4/2008 Object Oriented Programming oop php5
Object oriented programming was introduced for the first time in PHP 3. But the subjects is extremely actual again in PHP 5, because the entire concept of the OOP(Object Oriented Programming) was in fact redesigned from scratch for the new version of the language (PHP 5). Hence, this tutorial would be interesting for the advanced user familiar with PHP 4 and as well for the beginners, since we will try to use more "understandable" words and examples comprehensive enough to express the real power of the object oriented programming.
comment save reportStay 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 reportThe Singleton Pattern with PHP
in PHP added by goodphptutorials, on 3/12/2007 advanced tutorials oop pattern
The Singleton Pattern is often mistakenly referred to as the OOP nuts "Global variable".
Classes that utilise the Singleton Pattern aims to have a single instance throughout the lifetime of the request/process.
Sending SMS from your website
in PHP added by Junyor, on 20/10/2007 advanced tutorials class php oop open-source send sms sms
An article about how to send SMS from your website using the ClickATell API.
comment save reportThe Practicality of OO PHP
in PHP added by goodphptutorials, on 18/10/2006 design object oo programming oop php
There seems to be a common pitfall among some PHP developers--especially those just beginning PHP programming--and that is their lack of object-oriented (OO) PHP use. This article's purpose is to inform developers about the practicality of OO PHP; fully understanding the benefits of using OO PHP should be a requirement in the PHP learning process.
comment save reportCake Tutorial: Building A Simple Blog - Part 1
in PHP added by goodphptutorials, on 4/9/2006 cake cakephp content management framework oop
This tutorial introduces CakePHP, by walking you through setting up a simple blog and, later, adding advanced blogging features. You will learn how to make Cake map data from database records into data structures which you can present in your application.
comment save reportFive common PHP design patterns
in PHP added by goodphptutorials, on 12/8/2006 architecture oo programming oop patterns
Design patterns are just for Java? architects -- at least that's what you may have been led to believe. In fact, design patterns are useful for everyone. If these tools aren't exclusive to architecture astronauts, what are they, and why are they useful in PHP applications? This article explains.
comment save reportImplementing MVC in PHP: The Controller
in PHP added by goodphptutorials, on 5/2/2006 controller mvc oo programming oop patterns
Quite simply, the controller handles incoming requests. It uses input, in this case from the URI, to load a module and refresh/render the presentation layer. The controller for the aptly named Framework 1.0 uses a few GET arguments to figure out which module to load.
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 reportThe MVC pattern
in PHP added by goodphptutorials, on 13/1/2006 controller mvc n-tier oo programming oop pattern view
The MVC pattern very commonly used in constructing web applications. The principle allows us to construct 3-tier applications, allowing us useful layers of seperation in our code, and helping both designers and developers to cooperate as well enhancing our ability to maintain and expand on existing applications.
comment save reportBuilding Database Interfaces
in PHP added by goodphptutorials, on 11/1/2006 database databases dml interface mysql objects oop query
This article is about using and building Database Interfaces (DB interfaces). DB interfaces make application development faster and easier. This is accomplished by relocating scattered DML (Insert, Update, Delete) statements into a single shared tool, the Class. A Class encapsulates data post processing, integrity, and security into a single tool that can be accessed throughout the application.
comment save reportWhy PHP 5 Rocks!
in PHP added by goodphptutorials, on 22/12/2005 object orientation oo programming oop php5
The title really says it all!
comment save reportObject Oriented Programming in PHP: The Way to Large PHP Projects
in PHP added by goodphptutorials, on 12/12/2005 beginner introduction objects oo programming oop
This arcticle introduces Object Oriented Programming (OOP) in PHP. I will show you how to code less and better by using some OOP concepts and PHP tricks. Good luck!
comment save report