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

browse by tag: oo programming

sort by

newest, oldest, most popular


category icon

Desktop Application Development with PHP-GTK

in PHP added by gpt, on 31/3/2008 advanced tutorials desktop applications gui oo programming php5

PHP-GTK 2 is out, and with it, a fantastic means for PHP developers to build useful, reliable cross-platform desktop applications. In this tutorial, I'll show you how to get up and running with PHP-GTK in no time and build your first desktop application.

comment save report
category icon

Advanced Zend Feed usage

in PHP added by prodevtips, on 9/3/2008 advanced tutorials oo programming php5

Parsing an item in multiple categories can be tricky, this tutorial shows you how.

comment save report
category icon

PHP HTTPRequest Class

in PHP added by rvdavid, on 11/1/2008 advanced tutorials oo programming php5 request handling

By default, request data in PHP is handled by using Super Globals ($_POST, $_GET, $_COOKIES). Globals are bad for several reasons (outside the scope of this example google here). In an effort to remedy this, we need a way to encapsulate the request data into an object. By doing this, we are centralising access to request data through the one channel - the HTTP Request object.

comment save report
category icon

Display how many visitors online

in PHP added by ineedtutorials, on 3/1/2008 beginner tutorials database general oo programming php5

Ever wonderd how to display how many visitors you have online. In this tutorial i will show you an easy but effective way to display the amount of online visitor’s.

comment save report
category icon

Using Stored Procedures & MySQLI in PHP 5

in PHP added by rvdavid, on 11/12/2007 beginner tutorials database mysql oo programming php5

For the occasions that you want to use a stored procedure you've written in MySQL 5 through PHP , the semantic tool to use is PHP's built in mysqli objects/package.

comment save report
category icon

Writing a CMS/Community with Smarty and the Zend Framework Part 6

in PHP added by prodevtips, on 7/12/2007 AJAX advanced tutorials content management oo programming php5

Shows how to setup a gallery with multiple uploads through a Shockwave made with the Flex SDK, also shows how to extend Zend Session to setup custom session ids.

comment save report
category icon

Template View and View Helper Design Patterns in PHP

in PHP added by rvdavid, on 6/12/2007 advanced tutorials oo programming php5

The Template View and View Helper patterns lend themselves nicely when it comes to developing a View Layer solution for PHP, or so I found out with the recent refactoring of Cubix (dubbed Cubix II). This View layer duo is very much a great candidate for a 'tag team'. Each component performs a role and together make up a big part of the View Layer.

comment save report
category icon

Widgets with the Zend Framework and Smarty

in PHP added by prodevtips, on 1/12/2007 advanced tutorials oo programming php5

Brief how to on making widgets with the Smarty insert function.

comment save report
category icon

Ajax, ZF and Smarty feed reader: part 3

in PHP added by prodevtips, on 24/11/2007 AJAX advanced tutorials oo programming php5

We take a look at the list feeds window and manage feeds window. Last part in the series.

comment save report
category icon

Advanced PHP: Working with Interfaces

in PHP added by goodphptutorials, on 16/11/2007 advanced tutorials oo programming

When you create an interface, you're basically creating a prototype/blueprint of functions that classes using the interface must implement in order to be valid. It's usually easier to learn from example, so here's a basic interface that represents a Page.

comment save report
category icon

Ajax, ZF and Smarty feed reader: part 2

in PHP added by prodevtips, on 15/11/2007 AJAX advanced tutorials oo programming php5

How to on building a feed reader with the Zend Framework, Smarty and HTML Ajax: The registration form window.

comment save report
category icon

Ajax, ZF and Smarty feed reader: part 1

in PHP added by prodevtips, on 13/11/2007 advanced tutorials oo programming php5 zend framework

How to on building a feed reader with the Zend Framework, Smarty and HTML Ajax.

comment save report
category icon

Writing a CMS/Community with Smarty and the Zend Framework Part 4

in PHP added by prodevtips, on 13/11/2007 advanced tutorials oo programming php5

In this part we take a look at user registration, login and validation.

comment save report
category icon

Writing a CMS/Community with Smarty and the Zend Framework Part 3

in PHP added by prodevtips, on 11/11/2007 advanced tutorials content management oo programming php5

The third part in a series on how to write a combination of a CMS and community with the Zend Framework and the Smarty templating system.

comment save report
category icon

Writing a CMS/Community with Smarty and the Zend Framework Part 2

in PHP added by prodevtips, on 10/11/2007 advanced tutorials content management oo programming php5

The second part in a series on how to write a combination of a CMS and community with the Zend Framework and the Smarty templating system.

comment save report
category icon

AJAX Chat Tutorial Part 5: The Javascript, Sending Chat Messages, Screen Name Changes

in PHP added by CalEvans, on 13/1/2007 AJAX JavaScript mysql oo programming zend framework

Part 5 of our 7 part tutorial on creating an Ajax based Chat application.

comment save report
category icon

AJAX Chat Tutorial Part 3:Storage Medium, XML and the Message Process

in PHP added by CalEvans, on 30/12/2006 AJAX chat oo programming php5

As our chat application gathers pace we return to the server side of the application. At this point we have setup the Zend Framework with an IndexController class to handle server requests.

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

Building a simple MVC system with PHP5

in PHP added by goodphptutorials, on 28/8/2006 controller model mvc oo programming php5 router view

In this tutorial you will learn how to build a simple Model-View-Controller system with PHP 5.1 and some of SPL's (Standard PHP Library) features.

comment save report
category icon

Five 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 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

Creating a PHP Settings Class

in PHP added by goodphptutorials, on 26/6/2006 oo programming php5

In this tutorial you will be shown how to create a settings class which can handle different formats (PHP, INI, XML and YAML), using polymorphism

comment save report
category icon

PHP Patterns: The Observer Pattern Continued

in PHP added by goodphptutorials, on 15/3/2006 observer pattern oo programming

Continued from part 1 of PHP Patterns: The Observer Pattern

comment save report
category icon

PHP Patterns: The Observer pattern

in PHP added by goodphptutorials, on 7/3/2006 observer pattern oo programming php5

The Observer pattern is perhaps most often encountered in traditional graphical user interface desktop applications. It is an excellent way of ensuring that disparate display components reflect changes at a system's core. As we shall see, though, it remains a powerful technique in a Web-oriented environment.

comment save report
category icon

PHP Patterns: Introduction

in PHP added by goodphptutorials, on 5/3/2006 introduction oo programming patterns php5

Even if you have never set eyes on a pattern catalog in your life, you have probably come across the phrase design patterns in recent years. You may even have assumed that patterns were yet another fad. After the turn of the century it suddenly seemed that patterns were everywhere, and PHP was not immune.

comment save report