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

browse by tag: advanced tutorials

sort by

newest, oldest, most popular


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

BackType Tweetcount 1.2 with su.pr Short URL Support

in PHP added by appdev, on 27/7/2009 advanced tutorials api su.pr

The new BackType Tweetcount just launched last night. With a little work, it’ll support your very own custom shortened URL in the re-tweet. This isn't just limited to su.pr.

comment save report
category icon

The Standard PHP Library (SPL)

in PHP added by CalEvans, on 1/10/2007 SPL Zend advanced tutorials

As its name implies, the goal of the Standard PHP Library-or SPL, for short-is to provide a standard library of interfaces that allows developers to take full advantage of object-oriented programming in PHP 5.
This library of interfaces creates a standard API for certain kinds of built-in functionality, allowing your classes to interact with the PHP engine in a much more seamless manner. The functionality it provides includes, for example, the ability to define how your objects will react when iterated over with foreach, advanced array access, file and directory access, and advanced SimpleXML object handling. The largest chunk of functionality that the SPL provides comes in the form of iterators.

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

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

The 10 mistakes you should avoid with PHP

in PHP added by regindk, on 10/1/2007 advanced tutorials mysql php security

A list of the 10 most common mistakes done by PHP developers and how to avoid them.

comment save report
category icon

PHP and RSS: Getting it together

in PHP added by goodphptutorials, on 8/12/2006 advanced tutorials rss syndication xml

RSS Syndication is virtually ubiquitous these days, so it's imperative that a PHP developer at least understand RSS and how it works. This article explains the basics of RSS, some of its many uses, how to use PHP to create an RSS feed from a database, and how to use the XML_RSS module to read an existing RSS feed and translate it into HTML.

comment save report
category icon

How to Create a Mashup by Combining 3 Different APIs

in PHP added by goodphptutorials, on 4/11/2008 advanced tutorials google maps mashup

This tutorial will show you how to create a mashup of three different APIs including integration with Google Maps. This idea came about when I was searching through ProgrammableWeb's API directory for a couple APIs that complimented each other enough that I could use one to provide the other with data. What I came up with will be known as the "Beer Mashup".

comment save report
category icon

How To Use cURL (in PHP) For Authentication And SSL Communication

in PHP added by goodphptutorials, on 29/9/2008 advanced tutorials curl ssl

Using cURL (in PHP) to access https url is often not as simple as using the proper url. Using it for authentication is also not very clearly documented. This is a mini tutorial for both accessing https url's as well as for http authentication.

comment save report
category icon

.htaccess Tutorial

in PHP added by goodphptutorials, on 26/10/2006 advanced tutorials

In this tutorial you will find out about the .htaccess file and the power it has to improve your website.

comment save report
category icon

How to Create CAPTCHA Protection using PHP and AJAX

in PHP added by goodphptutorials, on 3/12/2006 AJAX advanced tutorials ajax captcha captcha

CAPTCHA is a simple test to determine if a user is a computer or a human. It is used to prevent spam abuse on the websites. The goal of this tutorial is to demonstrate how to make your own simple CAPTCHA protection using PHP and AJAX technologies.

comment save report
category icon

Defining the Core Structure of a PHP Blogger

in PHP added by goodphptutorials, on 15/12/2006 advanced tutorials blog php5

In the first part of this three-part series, we'll examine the basic outlines of creating a blog application with PHP 5. If you're currently working with PHP 4, this program can be adapted to that version of the language.

comment save report
category icon

Getting Started with phpUnderControl

in PHP added by CalEvans, on 8/3/2009 advanced tutorials continious integration phpUnderControl testing

In any decent sized project, the more times you commit code, the bigger the chance is that you will break something. Call it the law of unintended consequences or the butterfly effect, but the fact is that in complex systems, we cannot anticipate all the effects of a change. To deal with this we can either adopt the "release and pray" method of software control, or we can setup systems to help us find the consequences of our actions, so we that can correct them before they become a problem. We usually call these systems Continuous Integration systems.

comment save report
category icon

Port Scanning and Service Status Checking in PHP

in PHP added by ducani, on 26/12/2009 advanced tutorials port scanning service status

While building web applications, it's often important to keep an eye on the other services running on your server. Having access to the current status of public servers can empower your applications to make decisions and respond to problems automatically.

comment save report
category icon

The Truth About PHP Variables

in PHP added by porteightyeight, on 8/7/2008 advanced tutorials internal memory

This article examines how PHP handles passing of variables internally, as well as how this relates to memory usage. This information is can be very useful for any professional PHP developer as it shows how passing variables by reference will normally result in more (not less) memory being used.

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

Precision color searching with Gmagick and Amazon Elastic MapReduce

in PHP added by CalEvans, on 3/11/2009 advanced tutorials cloud gmagick php5

In this article we look at combining Amazon's cloud tools, PHP and Gmagick to perform color searching on photographs.

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

Little reminder about PHP references

in PHP added by goodphptutorials, on 28/2/2007 advanced tutorials objects php5 references

If you're among the crowd who have migrated an OOP based application from PHP4 to PHP5, then I'm sure you've heard the expression "Objects are copied by reference by default in PHP5". Whoever told you that, was lying.

comment save report
category icon

Anti-spam techniques in PHP, Part 2

in PHP added by goodphptutorials, on 7/11/2006 advanced tutorials

This short series of articles provides a few simple techniques for protecting yourself and your web site from spammers.

comment save report
category icon

Understanding the Life of a Session

in PHP added by Wildhoney, on 15/9/2007 advanced tutorials security session sessions

One of the most vast misconceptions in the PHP world is how sessions really do work. I'm fairly confident most of us know how to start sessions, terminate sessions, regenerate session IDs and easily pass data from 1 page to another. But do you really know how they work inside out?

comment save report
category icon

PHP: Dynamic Image Generation

in PHP added by goodphptutorials, on 18/11/2006 advanced tutorials

Creating images on the fly can be a very useful skill. In this tutorial we will show you how to get quite interesting and useful effects using image handling functions. We will review two practical tasks: creating security images (captcha) on the fly and building a bar chart using numerical values retrieved from MySQL database.

comment save report
category icon

PHP on the Command Line - Part 1

in PHP added by goodphptutorials, on 6/9/2007 advanced tutorials command line scripting shell

We all know PHP is a great language for building Web applications with but we all also know there's a lot more to running a serious Website than just the user interface.

comment save report
category icon

.htaccess Cheatsheet

in PHP added by goodphptutorials, on 28/10/2006 advanced tutorials

Here is a simple cheat sheet for the .htaccess file.

comment save report
category icon

PHP on the Command Line - Part 2

in PHP added by goodphptutorials, on 7/9/2007 advanced tutorials command line shell

In Part 1 of this tutorial, we had a look at PHP's command line SAPI (server API). In this article, we'll take things a step further, and see how you can hook up a command line PHP script with existing command line tools provided by your operating system.

comment save report