want to join us? register, it's easy | help

browse by tag: object

sort by

newest, oldest, most popular


category icon

The PHP Anthology Volume 1, Chapter 2 - Object Oriented PHP

in PHP added by goodphptutorials, on 12/12/2005 beginner database mysql objects oo programming

The object oriented paradigm is an approach to programming that?s intended to encourage the development of maintainable and well structured applications

comment save report
category icon

Object 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
category icon

Building Database Interfaces

in PHP added by goodphptutorials, on 12/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 report
category icon

Using 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
category icon

Getting your head around PHP objects

in PHP added by goodphptutorials, on 11/8/2006 model objects oo programming

You get object-oriented languages like Java and Smalltalk, and function-oriented languages like PHP. Well that was the theory, until PHP introduced its objects model in PHP 3, and it's been getting progressively better at it since then. Yet still the practice of using objects in PHP remains a bit of a lost art ? you're more likely to find an application with a bunch of functions than objects. PHP just lends itself to function-like thinking.

comment save report
category icon

PHP DataObjects: Simplifying Business Logic without SQL

in PHP added by goodphptutorials, on 23/9/2006 data access databases dataobjects object relational mapping objects orm sql

The goal of this tutorial is to demonstrate a system for manipulating a database without writing SQL queries. I introduce a number of concepts including the DataObject and DataAccessObject which together allow developers focus on manipulating data without needing to write, or even know SQL. This kind of system can be referred to as Object Relational Mapping (ORM)

comment save report
category icon

The 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 report
category icon

Little reminder about PHP references

in PHP added by goodphptutorials, on 28/2/2007 advanced tutorials objects php5 references

If you're among the crowd who have migrated an OOP based application from PHP4 to PHP5, then I'm sure you've heard the expression "Objects are copied by reference by default in PHP5". Whoever told you that, was lying.

comment save report
category icon

PHP/MySQL Paging System

in PHP added by AKnife, on 18/5/2007 class database databases mysql object oo paging

A simple class with just a few easy to use functions makes PHP/MySQL paging easier than ever before

comment save report
category icon

Freezing and Thawing PHP Objects

in PHP added by goodphptutorials, on 2/12/2008 SPL objects patch php5

One of the many new features that have been added for PHP 5.3 is the setAccessible() method of the ReflectionProperty class that is part of PHP's Reflection API. This method makes protected and private attributes (unfortunately, the class is called ReflectionProperty instead of ReflectionAttribute) of a class or object accessible for the ReflectionProperty::getValue() and ReflectionProperty::setValue() methods, thus making protected and private attributes "open" for full read and write access from the outside.

comment save report