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

browse by tag: advanced tutorials

sort by

newest, oldest, most popular


category icon

Squeezing code with xdebug

in PHP added by goodphptutorials, on 23/10/2007 advanced tutorials optimisation profiling

Every time we prepare to ship a new major version of phpLens (eg. 1.0, 2.0, 3.0 and soon 4.0), the PHP forms generator and app server we sell, we take pride in speeding things up. This is the time we all go into intensive code optimization sessions to find all the slow pieces of gunk we accidentally left in the code.

comment save report
category icon

Dynamic XML document construction with the PHP DOM

in PHP added by goodphptutorials, on 26/10/2007 advanced tutorials dom xml

When working with XML-based applications, developers often find themselves facing the requirement to generate XML-encoded data structures on the fly. Examples of this include an XML order template based on user input in a Web form, or an XML representation of a server request or client response based on run-time parameters.

comment save report
category icon

Joomla 1.5 Advanced Registration

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

This tutorial shows you how to build a custom registration component with more fields and custom validation in Joomla 1.5 that you can use to override the default one.

comment save report
category icon

How to write a PDF from PHP with a custom font and encoding

in PHP added by prodevtips, on 5/11/2007 advanced tutorials php

This is a description of how to go about writing PDF documents from PHP in any font and language.

comment save report
category icon

Registration form with Flex and AMFPHP

in PHP added by prodevtips, on 5/11/2007 advanced tutorials

An example of how to make a working registration form complete with validation in Flex. Database communication is handled through AMFPHP and PHP.

comment save report
category icon

Marrying the Zend Framework and HTML Ajax

in PHP added by prodevtips, on 6/11/2007 AJAX advanced tutorials php5 zend framework

This tutorial describes what to do in order to be able to instantiate controllers in the Zend Framework, the goal is to be able to make instances of them in order to handle Ajax requests.

comment save report
category icon

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

in PHP added by prodevtips, on 7/11/2007 advanced tutorials php5 zend framework

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

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

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

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

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

Application-level Logging with the Zend Framework

in PHP added by goodphptutorials, on 28/11/2007 Zend advanced tutorials framework

There are different reasons for logging information, different strategies for what and how to log, and of course different ways of implementing it. This article will look at why you would want to log, what you want to log and how to do it.

comment save report
category icon

Introduction to PHPUnit

in PHP added by goodphptutorials, on 29/11/2007 advanced tutorials unit testing

In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale, business-critical Web systems. Financial institutions such as banks and insurance companies use PHP, for instance, to develop and maintain solutions for Basel II Credit Rating. Critical business logic like this needs to work correctly. But how do you ensure that it does? You test it, of course.

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

The Singleton Pattern with PHP

in PHP added by goodphptutorials, on 3/12/2007 advanced tutorials oop pattern

The Singleton Pattern is often mistakenly referred to as the OOP nuts "Global variable".
Classes that utilise the Singleton Pattern aims to have a single instance throughout the lifetime of the request/process.

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

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

Zend_Gdata for Picasa, YouTube, Google Documents List

in PHP added by CalEvans, on 19/12/2007 GData advanced tutorials google php5 zend framework

The Zend_Gdata component of Zend Framework offers PHP 5 classes to access services supported by the Google Data APIs. The recent Zend Framework 1.0.3 release includes new support for some great services, including Picasa Web Albums, YouTube, and Google Documents List.

comment save report
category icon

The state of functional programming in PHP

in PHP added by goodphptutorials, on 20/12/2007 advanced tutorials functional programming

With the rise of Javascript, and languages like Python and Ruby, functional programming is becoming more mainstream. Even Java seems to be getting closures in the next version, so does this leave PHP lacking behind or is there an unrealised potential hidden within?

comment save report
category icon

Auto Loading Classes in PHP 5

in PHP added by goodphptutorials, on 23/12/2007 advanced tutorials autoloading php5

Undoubtedly, the release of PHP 5 has had a remarkable impact on the way that object-oriented applications are developed nowadays. This highly-improved model has provided PHP programmers with features that were only present in mature object-based languages, like Java and C++, but now, fortunately for you and me, they are generously offered by this powerful server-side scripting language.

comment save report
category icon

Creating a three dimensional pie chart using Google's Chart API

in PHP added by goodphptutorials, on 26/12/2007 Chart advanced tutorials google api

I ran across this great, easy but very useful API a few days ago. Now for the tutorial.. let's assume we make a website for the TalkPHP soccerteam. They've played 10 matches (6 won, 3 draw, 1 lost). We'll be making a nice three dimensional pie chart of those stats! Let me point out one little disadvantage before we start: This API has a limit to 50,000 queries per 24 hours. But futhermore nothing fency!

comment save report
category icon

PHP Captcha Tutorial (in-depth)

in PHP added by techusky, on 2/1/2008 advanced tutorials captcha php5 security verification

This CAPTCHA script allows a user to easily customize things such as the string length, minimum and maximum font size, image size, the font used, and even the characters used, etc... Unlike most CAPTCHA scripts that generate the random text based on an md5 hash of the time, this one lets the user input specific numbers, uppercase, and lowercase characters they want used (or don't want used) in the creation of the CAPTCHA image. It also assures, regardless of the length of the string, that there is at least both 1 random upper and lowercase character in the string, thus making it more difficult for bots. Another feature in this script is that it randomly rotates each character on the image.

comment save report