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

browse by tag: php5

sort by

newest, oldest, most popular


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

Facebook style chat with jQuery and Joomla

in PHP added by prodevtips, on 29/3/2010 AJAX advanced tutorials oo programming php5

Tutorial on how to create a Facebook style chat with the help of jQuery and PHP.

comment save report
category icon

How to Generate a Random Password for Users

in PHP added by Walkere, on 10/2/2008 beginner tutorials password php5 security users

This tutorial shows you how to create a random, 8-character password to use in your user-management system.

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

Process Forking with PHP

in PHP added by goodphptutorials, on 16/6/2010 advanced tutorials daemon linux php5

Unix supports the process of forking which allows a parent process to spawn a subprocess and continue running both processes concurrently. It is possible to do this in PHP using the PHP Process Control Functions. Note that you should never attempt to use these process control forking functions when using a webserver; you should only fork applications when using the PHP command line client.

comment save report
category icon

Learning PHP 5.3 by writing your own ORM

in PHP added by goodphptutorials, on 28/4/2010 advanced tutorials orm php5

Creating an ORM for PHP is not an everyday task but writing one is a good way to improve your PHP skills, especially if you use some of the additional features PHP 5.3 adds to the language. There are many excellent ORMs (Object Relational Mappings) already in existence and for a real-world project it would probably better to use one of these, but this tutorial uses the task of creating an ORM as a way to take a look at applications for some PHP 5.3 features.

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

Organize Your Project like a Pro with PHP Namespaces

in PHP added by goodphptutorials, on 20/5/2010 namespace oo programming php5

PHP took a huge step forward in June 2009 with the release of version 5.3. It wasn't quite as big of a change as version 5.0, but the release did introduce a number of new language features including namespaces — an addition that can dramatically improve the way you organize your PHP in an object oriented paradigm.

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

HowTo: Install Firebird/Interbase with PHP on Windows

in PHP added by quipo, on 10/2/2007 configure database databases firebird install php php5 sql

A step-by-step tutorial to install Firebird SQL on Windows and enabling its usage in PHP.

comment save report
category icon

Digg API: How to Get a Random from Digg with PHP and XML

in PHP added by Walkere, on 26/2/2008 advanced tutorials media php5 xml

This tutorial walks you through using the Digg API to fetch a random story from Digg and display it on your own site. Good introduction to using the Digg API for content syndication. Uses PHP 5 and XML.

comment save report
category icon

Find your Files

in PHP added by goodphptutorials, on 22/4/2010 file handling framework oo programming php5 symfony

The best practices for finding files with PHP has evolved a lot in a the last few years. Back in 2004, one of the very first thing I did with PHP was porting the File::Find::Rule Perl module to PHP. File::Find::Rule is a great way to describe the files and directories you want to work with. I used the opendir, readdir, and closedir native PHP functions, and it did the job quite well. The PHP class was named sfFinder, and it can still be found in all symfony versions. Even if the class is bundled with symfony, I know that a few people use it for all kind of stuff, not necessarily related to symfony.

comment save report
category icon

PHP Optimization Mistakes [pdf]

in PHP added by goodphptutorials, on 12/6/2010 beginner tutorials optimization php5

Presentation from the Dutch PHP conference 2010 about common optimizations mistakes in php

comment save report
category icon

Collecting Garbage: PHP's take on variables

in PHP added by goodphptutorials, on 16/9/2010 advanced tutorials php5

In this three part column I will explain the merits of the new Garbage Collection (also known as GC) mechanism that is part of PHP 5.3. Before we start with the intricate details of PHP's new GC engine I will explain why it is actually needed. This, combined with an introduction how PHP deals with variables in general is explained in this first part of the column. The second part will cover the solution and some notes on the GC mechanism itself, and the third part covers some implications of the GC mechanism, as well as some benchmarks. But now first on to the introduction.

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

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.

comment save report
category icon

PHP Tutorial on Classes, Inheritance, Polymorphism, Magic Methods & Exceptions

in PHP added by sunilbhatia79, on 15/4/2009 Inheritance Polymorphism _get _set class exceptions magic methods php5

This link contains links on various PHP5 tutorials. I have spent a lot of time learning PHP5 concepts and wish to share my learnings with you all via my blog

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

Exploiting the Yahoo! APIs in PHP5

in PHP added by draicone, on 20/11/2007 api maps php5 rest search web service yahoo

A look at the various Yahoo APIs, such as those used by the Zend Framework's Yahoo Web Search feature, and how to interact with them directly using PHP.

comment save report
category icon

Three-Tier Development with PHP 5

in PHP added by goodphptutorials, on 21/3/2006 advanced tutorials mysql php5 smarty tier

This article will demonstrate the power of three-tier development in PHP 5, using PEAR::DB_DataObject for the business logic and Smarty for display logic. I assume that you have some familiarity with HTML, Smarty, PEAR::DB_DataObject, MySQL, and PHP 5

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

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

How to Implement Text to Speech in PHP

in PHP added by cyberhitesh, on 10/6/2009 Festival php5 text to speech

One such application is Festival, it allows us to convert Text to Speech(WAV) format. In this article we will learn on how we can convert text to speech from PHP applications.

comment save report
category icon

Zend_Config, a powerful tool!

in PHP added by zftuts, on 17/8/2010 php5 zend framework

In this tutorial I’ll only tell about the Zend_Config_Ini, for sure you can implement this with some changes to the Zend_Config_Xml. I choose for the Ini is that is t a little bit more readable and because I always use the Ini, lol.

comment save report