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

browse by tag: oo programming

sort by

newest, oldest, most popular


category icon

A pluggable compiler and virtual machine in Php. Dogfood yourself with your own plugins!

in PHP added by eriksank, on 30/4/2012 advanced tutorials framework oo programming php

If you think compiler construction in a scripting language, such as Php, is indeed more fun than doing it in traditional C, you will like the following article too! We keep building our little compiler and virtual machine in Php. It now built entirely from plugins. Now you can take 5 minutes to create your own small plugin, to extend and improve the compiler and virtual machine. This has never been done before.

comment save report
category icon

Architecture Patterns: Domain Model and Friends

in PHP added by lornajane, on 24/6/2012 advanced tutorials design patterns oo programming oop php php5 techportal

An experienced developer gives us this great article with insight into a collection of patterns we can use to design our systems at a high level. This includes code for the patterns, and practical advice on choosing which is a good fit for your application

comment save report
category icon

Create an advanced PHP membership system,

in PHP added by thetitan, on 23/4/2011 advanced tutorials beginner tutorials content management general oo programming

Develop an advanced and extendable PHP MySQL membership system for use on your website.

comment save report
category icon

Accessing Amazon Product Advertising API

in PHP added by goodphptutorials, on 26/5/2010 Amazon advanced tutorials oo programming php5 web service

In this post we will see how to access the Amazon Product Advertising API from PHP. Amazon has recently changed (from 15th Aug '09) the authentication mechanism for accessing their API which must now be signed with your Amazon keys

comment save report
category icon

Writing an OAuth Provider Service

in PHP added by goodphptutorials, on 23/5/2010 oauth oo programming php5

Last year I showed how to use pecl/oauth to write a Twitter OAuth Consumer. But what about writing the other end of that? What if you need to provide OAuth access to an API for your site? How do you do it?

comment save report
category icon

Zend Framework on a shared host

in PHP added by goodphptutorials, on 10/1/2010 framework oo programming php5 zend framework

When you deploy a Zend Framework website to a shared host, you usually cannot change the DocumentRoot to point at the public/ folder of the website. As a result the URL to the website is now http://www.example.com/public/. This doesn't look very professional, so we'd like to remove it. The easiest way, given a ZF project created using Zend_Tool.

comment save report
category icon

Doctrine MongoDB Object Document Mapper

in PHP added by goodphptutorials, on 15/5/2010 doctrine oo programming orm php5

A question asked to me many times by many different people over the last year is, "will Doctrine ever have any support for MongoDB?". I have never really had an answer because we haven't had any official plans to support it as it was so new to the database world and php so nobody really knew much about it yet.

comment save report
category icon

PHP Design Patterns Reference and Examples

in PHP added by goodphptutorials, on 30/4/2010 advanced tutorials design pattern oo programming php5

Quite a comprehensive list of programming design patterns illustrated with code examples in PHP5

comment save report
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

Custom RSS 2.0 Content Feeds using OOP

in PHP added by aaronson, on 10/6/2008 content management oo programming rss xml

With WEB 2.0 fast approaching we are scurrying to make our sites ready for the change. Adding syndicated content to get a deeper reach in to this web is one way to get started. In this tutorial i will show you how to make your own RSS 2.0 content Feed using Object Orientated Programming for your website. At the end of the tutorial there will also be the full script for you to learn by example or just cut out the middle man and use it.

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

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

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

Facebook style photo tagging with jQuery, Ajax and Joomla

in PHP added by prodevtips, on 28/11/2009 AJAX advanced tutorials oo programming php5

Facebook style photo tagging with jQuery, Ajax and Joomla

comment save report
category icon

MySql Prepared Statement in PHP

in PHP added by cyberhitesh, on 10/7/2009 advanced tutorials oo programming php5

I was wondering whether PHP also give a feature of Prepared Statement as you have in Java JDBC Connection. Prepared Statements are always better than normal statements as it prevent SQL Injection etc.

comment save report
category icon

Multiple select lists with jQuery, JSON and PHP

in PHP added by prodevtips, on 25/2/2010 AJAX json oo programming php5

Tutorial on how to prepopulate and save a multi select list selection by way of Ajax, JSON and jQuery.

comment save report
category icon

Zend Framework: File upload using Zend_Form_Element_File

in PHP added by goodphptutorials, on 20/8/2009 Zend framework oo programming php5

This post will be helpful for all people who are wishing to get some practicle example for using Zend_Form_Element_File of Zend framework's Zend_Form.

comment save report
category icon

State of the Zend Framework 2.0

in PHP added by goodphptutorials, on 10/6/2010 oo programming php5 zend framework

The past few months have kept myself and my team quite busy, as we've turned our attentions from maintenance of the Zend Framework 1.X series to Zend Framework 2.0. I've been fielding questions regularly about ZF2 lately, and felt it was time to talk about the roadmap for ZF2, what we've done so far, and how the community can help.

comment save report
category icon

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

The MVC pattern

in PHP added by goodphptutorials, on 14/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 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

Design Patterns Quick Reference

in PHP added by goodphptutorials, on 31/12/2008 design patterns oo programming php5

So every time I am designing something new I find myself either searching Google or opening up a gang of four (GoF) book to aid me. I searched for a bit trying to find a handy-dandy flash card showing class diagrams and purposes for the basic GoF patterns but was unable to locate a good one (for free). So I made my own.If you see any mistakes or improvements please post here and I will update the docs.

comment save report
category icon

PHP Advent 2010: Localization

in PHP added by goodphptutorials, on 3/12/2010 localization oo programming php5

When creating a web site, it is important to consider the audience. Regardless of whether the web site is selling goods, providing a service, or making information available, one should consider how the site will be displayed to a visitor from another country. If visitors want to buy something, use the service, or read the information provided, will the web site be able to accommodate them? Should it? Localization allows the user interface to accommodate a user’s expectations for the display of dates, currency, and text specific to their locale.

comment save report
category icon

A Lesson In Static Methods And Late Static Binding

in PHP added by goodphptutorials, on 21/4/2010 framework oo programming php5 zend framework

Until last week, I had never experienced what must have been incredibly frustrating to most developers: the fact that the self keyword in PHP refers to the class it is located in, and not necessarily a class that extends it. I personally ran into this problem when trying to extend Zend_Auth.

comment save report
category icon

Adding Ajax with jQuery to Joomla 1.5

in PHP added by prodevtips, on 3/8/2009 advanced tutorials content management mysql oo programming php5

How to quickly add Ajax anywhere in Joomla 1.5 using jQuery.

comment save report