browse by tag: oo programming
sort by
Parsing with Zend HTTP Client
in PHP added by prodevtips, on 28/3/2009 oo programming parsing php5 zend framework
Example of how Zend HTTP Client is used when parsing statistics, logging in to sites and handling cookies.
3 comments save reportCreating a MySQL Database Class Using the Singleton Design Pattern
in PHP added by thatspoppycock, on 24/3/2009 design patterns mysql oo programming php5 singleton
Using the Singleton Pattern is a simple way to limit the number of instances of an object to just one, helps keep database connections organized, and saves memory. This tutorial will help you create a MySQL database class using this popular design pattern.
1 comment save reportMVC, XML and other animals
in PHP added by nou, on 22/3/2009 oo programming php5
This article will briefly expose the basics of the MVC pattern and put forward a template management system based on the duo XML/XSLT.
comment save reportBasic CRUD scaffolding with PHP Doctrine + Smarty
in PHP added by prodevtips, on 15/2/2009 advanced tutorials oo programming php5
Example of how a simple system for creating a CRUD interface from the information in the model classes.
1 comment save reportDesign 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.
1 comment save reportFive common PHP design patterns
in PHP added by goodphptutorials, on 16/12/2008 advanced tutorials oo programming patterns php5
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 reportPHP Doctrine DQL recipes
in PHP added by prodevtips, on 31/10/2008 advanced tutorials oo programming php5
A list of examples using DQL and PHP Doctrine instead of SQL.
comment save reportExtending PHP Doctrine Record
in PHP added by prodevtips, on 15/10/2008 advanced tutorials database oo programming php5
Here we extend PHP Doctrine records fromArray function to allow for check box group relations to be inserted in a straight forward way.
comment save reportUsing an autoload function to make your life easier
in PHP added by clearnetwork, on 11/10/2008 advanced tutorials general oo programming php5
In PHP 5 you can make your life a lot easier by writing an autoload function. This function will automatically load your classes, so you do not need to repeatedly include classes on every page.
comment save reportTrackbacks with Google Blog Search and Zend Feed
in PHP added by prodevtips, on 21/9/2008 oo programming php5 rss zend feed zend framework
Tutorial on how to fetch the external links to any given article through Google Blog Search's Atom feature and displaying them as a list of trackbacks. With this implemented your blog readers will get the complete picture of the off-site discussion.
comment save reportFile Uploads with PHP Doctrine
in PHP added by prodevtips, on 12/9/2008 advanced tutorials databases oo programming php5
An example of how to integrate uploads into the Doctrine validation process.
comment save reportCRUD with PHP Doctrine
in PHP added by prodevtips, on 2/9/2008 advanced tutorials database oo programming php5
Implementing reusable Create Remove Update and Delete logic with PHP Doctrine.
comment save reportMarrying Smarty and PHP Doctrine
in PHP added by prodevtips, on 20/8/2008 advanced tutorials mvc oo programming php5
Tutorial with source code describing how to create a small MVC framework where PHP doctrine is responsible for the models and Smarty for the views. The controller we make ourselves.
comment save reportPHP Doctrine introduction for dummies
in PHP added by prodevtips, on 18/8/2008 database oo programming php5
Short tutorial on how to create tables in a database and fetch information from said database with the Doctrine Object Relational Mapper.
comment save reportExtending Zend DB Table
in PHP added by prodevtips, on 19/6/2008 advanced tutorials oo programming php5
Shows how you can extend the Zend DB Table which is an important part of the popular PHP framework, in order to do less database coding.
comment save reportCustom 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 reportDesktop 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 reportAdvanced 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 reportPHP 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 reportDisplay 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 reportUsing 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 reportWriting 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 reportTemplate 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 reportWidgets 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 reportAjax, 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