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

browse by tag: oo programming

sort by

newest, oldest, most popular


category icon

Multiple select lists with jQuery, JSON and PHP

in PHP added by prodevtips, 2 weeks ago 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 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

Understanding MVC in PHP

in PHP added by goodphptutorials, on 30/12/2009 advanced tutorials mvc oo programming

This article series (continued in Implementing MVC in PHP: The Controller, Implementing MVC in PHP: The View, and Implementing MVC in PHP: The Model) demonstrates how to build an MVC web framework using PHP 5. This article covers the basics of MVC web frameworks, building the foundation classes for a framework that the other three articles in this series will build.

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

2 comments save report
category icon

Never write the same code twice: Dependency Injection

in PHP added by goodphptutorials, on 20/11/2009 dependency injection oo programming php5

Is Dependency Injection difficult? Is it hard to do? Certainly it provides value. Particularly in Php, but also in other object-oriented languages, Dependency Injection gives steroids to the process of class reuse, designing components as loosely coupled objects.

2 comments save report
category icon

PHP on the D-Bus

in PHP added by CalEvans, on 10/11/2009 advanced tutorials oo programming php5 podcast

The D-BUS Inter Process Communication mechanism is the basis for many system-related functionality on Linux-based systems. Both GNOME, KDE, as well as the Open Moko Linux computing platform use it extensively for everything related to talking to services and hardware. Skype, as well as other applications, provide D-BUS APIs as well. In this presentation I will be presenting a PHP/D-BUS integration to allow PHP to talk to D-BUS aware applications. I will demonstrate controlling Skype from PHP, as well as the implementation of PHP-GTK based applications on the OpenMoko to talk to, and use the different hardware services it offers, such as GSM and GPS. This talk should show a few things that people don’t really associate PHP with, and thus provide some insight that PHP’s strength is not only on the Web.

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

Why PHP Frameworks Matter

in PHP added by goodphptutorials, on 13/8/2009 frameworks oo programming php5

n a 1998 interview with Dr. Dobb’s Magazine, creator of the Perl programming language Larry Wall concluded his answer to the final question with a tip I’ve never forgotten, remarking, “Take a good look at what you want to do, and try to come up with the long-term lazy way, not the short-term lazy way.” [1] To paraphrase another Larry Wall-ism, in the programming world “laziness is indeed a virtue”, and if you’re not a lazy programmer, then frankly you’re not trying hard enough.

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

Design Patterns in PHP [PDF]

in PHP added by nirajam, on 29/7/2009 advanced tutorials beginner tutorials oo programming php5

In this tutorial you learn some of the Design Patterns and how to implement them in PHP. These are an essential part of OOP and make your code more effective, better performing, and easier to maintain. Sometimes we implement these design patterns in our code without knowing that these solutions are defined by design patterns. Proper usage of the correct pattern can make your code perform better; similarly using them improperly could make your code slower and less efficient.

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.

1 comment save report
category icon

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.

4 comments save report
category icon

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

MVC, 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 report
category icon

Basic 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 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.

1 comment save report
category icon

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

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

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

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

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

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

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

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

PHP 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 report