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

browse by tag: advanced tutorials

sort by

newest, oldest, most popular


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

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

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

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

Sending SMS from your website

in PHP added by Junyor, on 20/10/2007 advanced tutorials class php oop open-source send sms sms

An article about how to send SMS from your website using the ClickATell API.

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

AJAX Email Form

in PHP added by mig35, on 17/9/2007 AJAX Prototype advanced tutorials form

Sending and receiving asynchronous requests through server can done using simple AJAX implementation. The form shows you how to send emails (process form) without loading the page. Source code and demo is included.

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

VPS MySQL and Apache Optimization Guide

in PHP added by goodphptutorials, on 2/9/2007 advanced tutorials apache mysql vps web server

With a considerable number of webmasters switching to Virtual Private Servers (VPS) from shared hosting these days and preferring them over costlier fully dedicated servers, memory and resource optimization has become a burning issue.

comment save report
category icon

How To Build A Link Scraper Using PHP

in PHP added by jlaing, on 12/8/2007 advanced tutorials curl dom scraping user-agent xpath

A basic tutorial on how to build a PHP script that scrapes links from any web page. The article goes over extracting content from a site using cURL, parsing the content with PHP's Dom functions, finding links using XPath queries, and storing the links in a MySQL database. Legal issues associated with scraping content is discussed at the end of the tutorial.

comment save report
category icon

AJAX Edit-in-place Tutorial

in PHP added by mig35, on 11/8/2007 AJAX advanced tutorials edit-in-place

Implement AJAX edit-in-place functionality in your web application. Tutorial demonstrate how to write AJAX edit-in-place feature using Prototype js library.

comment save report
category icon

Uploading, Saving and Downloading Binary Data in a MySQL Database

in PHP added by goodphptutorials, on 10/8/2007 advanced tutorials download mysql upload

This article is aimed at answering one of the most asked questions on the PHP mailing list and discussion forums alike: How to store binary files in a MySQL database.

comment save report
category icon

Integration of Spry and PHP/MySQL

in PHP added by goodphptutorials, on 7/8/2007 AJAX adobe advanced tutorials mysql spry

Adobe have recently released its Spry Ajax framework for public beta-test by developers and I've been playing with this baby for a while. And here's some kind of report of what I have learned.

comment save report
category icon

Developing with the Facebook Platform and PHP

in PHP added by goodphptutorials, on 31/7/2007 advanced tutorials api facebook webservice

At the end of May this year, the Facebook team announced major changes to the package's developer tools, known as the Facebook Platform. Although the platform itself had been available for several months prior to this release, a host of new features were announced at f8, the Facebook developer event in San Francisco. This launch generated a lot of press coverage -- from the Wall Street Journal to TechCrunch. But the important question is: why should you care?

comment save report
category icon

Caching your pages with PHP

in PHP added by Nikolas, on 16/7/2007 advanced tutorials caching mysql web development

Some ways to reduce the overhead in your server, using caching techniques.

comment save report
category icon

Save bandwidth with PHProxy and ip2nation

in PHP added by finalwebsites, on 8/7/2007 advanced tutorials database proxy

If your website becomes a little busy the websites bandwidth becomes very valuable. With the proxy script PHProxy and the data from ip2nation it's very easy to block visitors and safe this way used bandwidth from countries which are not from your target group. In this tutorial you will learn how to add the required code to your proxy website.

comment save report
category icon

Acceptance Testing of Web Applications with PHP

in PHP added by CalEvans, on 6/7/2007 PHPUnit Selenium advanced tutorials unit testing

In this article I introduce the topic of Acceptance Testing (aka Functional Testing), something more PHP programmers should be starting to practice. I'm sure many of us are well aware of Unit Testing and even Integration Testing so where does this third wheel come into play for web applications given our growing obsession with Web 2.0 and AJAX and how does it differ from the former two practices? Below I'll explain this. I will also introduce how to implement Acceptance Testing using the killer combination of PHPUnit and Selenium.

comment save report
category icon

Navigation with Pager and AJAX (or simple Javascript)

in PHP added by quipo, on 3/7/2007 AJAX JavaScript PEAR advanced tutorials pager

An example on how to harness PEAR::Pager to create javascript links, and one showing how to use it with AJAX to fetch only the data for the currently displayed page.

comment save report
category icon

How to efficiently paginate database results

in PHP added by quipo, on 1/7/2007 PEAR advanced tutorials database pager

PEAR::Pager was written with the purpose of paginating arrays. While you can fetch all the records from a database, store them into an array and pass it to Pager, this method isn't particularly efficient. If you have large resultsets, it isn't efficient at all. There's a better solution: please welcome Pager_Wrapper.

comment save report
category icon

Scalability and Responsiveness with Zend Platform's Job Queue

in PHP added by CalEvans, on 26/6/2007 Job Queue Zend Platform advanced tutorials

The Zend Platform Job Queue is used to make applications more responsive by allowing tasks to be performed on other machines (e.g.: dedicated machine), and scheduling tasks to a future time (usually to low-traffic hours). Moreover, Job Queue supports more complex application-level logic such as recurring jobs, job dependencies, job priorities, different scheduling algorithms (by priority, application etc.), easy detection and handling of failed jobs. Job Queue offers both a web-based management UI, and a programmer-oriented rich API, which allows embedding sophisticated logic into applications. This article will demonstrate basic usage of Job Queue.

comment save report
category icon

Gd / FreeType text label generator

in PHP added by AnyExample, on 25/6/2007 advanced tutorials freetype gd ttf

This is an example of using Gd / FreeType to generate image text labels with TTF font. Provided script could be used as "text rasterization service" to generate arbitrarily text-images for a web site. MD5-based authorization is used to avoid image generation by unauthorized users.

comment save report
category icon

Dynamically Creating Compressed Zip Archives With PHP

in PHP added by CalEvans, on 7/6/2007 advanced tutorials compress zip

PHP too has included support for the ZIP format since PHP 4.x but it was only recently when, idly browsing the PHP manual, I realized that PHP 5.2.0 includes a re-engineered version of the ext/zip extension, one based on the zlib library. Bored and not a little intrigued, I decided to try it out. And over the next few pages, I'm going to tell you what I found.

comment save report
category icon

How to make a Line Chart Class with gdLibrary

in PHP added by PartDigital, on 2/6/2007 Chart Graph advanced tutorials class dynamic gdLibrary image php5

Learn how to make a Line Chart Class that you can use over and over again!

comment save report