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

browse by tag: advanced tutorials

sort by

newest, oldest, most popular


category icon

A pluggable compiler and virtual machine in Php. Dogfood yourself with your own plugins!

in PHP added by eriksank, on 30/4/2012 advanced tutorials framework oo programming php

If you think compiler construction in a scripting language, such as Php, is indeed more fun than doing it in traditional C, you will like the following article too! We keep building our little compiler and virtual machine in Php. It now built entirely from plugins. Now you can take 5 minutes to create your own small plugin, to extend and improve the compiler and virtual machine. This has never been done before.

comment save report
category icon

Architecture Patterns: Domain Model and Friends

in PHP added by lornajane, on 24/6/2012 advanced tutorials design patterns oo programming oop php php5 techportal

An experienced developer gives us this great article with insight into a collection of patterns we can use to design our systems at a high level. This includes code for the patterns, and practical advice on choosing which is a good fit for your application

comment save report
category icon

Create an advanced PHP membership system,

in PHP added by thetitan, on 23/4/2011 advanced tutorials beginner tutorials content management general oo programming

Develop an advanced and extendable PHP MySQL membership system for use on your website.

comment save report
category icon

Alternatives to MySQL

in PHP added by lornajane, on 8/6/2012 advanced tutorials drizzle mariadb mysql percona

Post covering the origins, intentions, features and possible pitfalls with replacing MySQL in your application with drizzle, mariadb or percona server. A very thorough overview of the options, by someone who has used them for real.

comment save report
category icon

Detailed Guide to fwrite() Operations

in PHP added by BrandonEnr7, on 24/3/2011 advanced tutorials file handling php5

In this tutorial I will be deeply explaining in detail the many modes of the PHP function fwrite(). Yes, fwrite() is used to write data to files, however the way it is written to the file changes with each mode. In each mode, I will explain its purpose, provide an example, and then explain the code within the example.

comment save report
category icon

BDD in PHP with Behat

in PHP added by lornajane, on 7/8/2011 PHPUnit advanced tutorials bdd behat php5 tdd techportal unit testing

Great article showing how BDD can be more intuitive than TDD, and showing you how to get started. The author, Marcello Duarte, is the lead developer of PHPSpec and an experienced software project lead and trainer

comment save report
category icon

Getting Web Scale with Memcached

in PHP added by goodphptutorials, on 10/2/2011 advanced tutorials memcache php5

The web is huge, and there are a lot of people on it. Day and night, millions upon millions of people are on the web surfing, commenting, and contributing. Normally your blog gets a few hundred visitors a day ( a few thousand on a good day ), but what happens when that number increases? Can your database server handle all that load? Will Apache come screeching to a halt due to all of the requests? The answer is probably yes, unless you implement some form of caching. Many years ago this wasn’t a huge problem, but as the web and it’s user base has grown, so has the problem of "web scale"

comment save report
category icon

How to Syndicate an RSS Feed On Your Site

in PHP added by Walkere, on 11/2/2008 advanced tutorials feed php5 rss xml

This quick tutorial shows you how to use Simple XML to read and manipulate an RSS feed. The end result is a few lines of code that you can use to syndicate a site's feed on your own page - adding links to relevant content for your users.

comment save report
category icon

Accessing Amazon Product Advertising API

in PHP added by goodphptutorials, on 26/5/2010 Amazon advanced tutorials oo programming php5 web service

In this post we will see how to access the Amazon Product Advertising API from PHP. Amazon has recently changed (from 15th Aug '09) the authentication mechanism for accessing their API which must now be signed with your Amazon keys

comment save report
category icon

Migrating a Legacy Forum to vBulletin 4.0.3

in PHP added by prodevtips, on 22/7/2010 advanced tutorials content management mysql php5

How to switch from a legacy forum to vBulletin, and customizing vBulletin.

comment save report
category icon

PHP / Ajax Upload Form

in PHP added by finalwebsites, on 19/10/2008 AJAX advanced tutorials forms jquery upload

In this quick tutorial we will show how-to create such an Ajax upload form using the jQuery Form plug-in and our easy upload class.

comment save report
category icon

How to Use PHP To Dynamically Resize an Image

in PHP added by Walkere, on 6/2/2008 advanced tutorials image php5

Sometimes you want to display an image - but it's not stored in the right size. If you allow the browser to resize the image, it will get distorted and waste bandwidth. Instead, you can use the PHP GD library to resize the image on the fly. This tutorial will show you how to use the GD library to read an image, resize it, and output it as part of an HTML page.

comment save report
category icon

User authentication with a secure cookie protocol in PHP

in PHP added by goodphptutorials, on 14/2/2010 advanced tutorials authentication cookie hmac security

The use of cookies introduces a few security issues. The data in the cookie is stored in plain text and can easily be modified or hijacked. Liu et al. (2005) propose a secure cookie protocol which we will use as a guideline in this example.

comment save report
category icon

Creating and Consuming Web Services With PHP

in PHP added by goodphptutorials, on 6/2/2006 advanced tutorials web services xml xml rpc

Web services allow you to share data across many platforms and hardware configurations. For example, you can create a Java web service and someone else can consume it using a .NET client without having to learn one line of Java code.

comment save report
category icon

Complete advanced login member system

in PHP added by ineedtutorials, on 17/1/2008 advanced tutorials content management database login mysql security

This tutorial will show you how to create an advanced member login system with PHP, users can register, change password, email activation is included.

comment save report
category icon

CodeIgniter and jQuery - Real Live Search with Pagination

in PHP added by goodphptutorials, on 22/10/2009 AJAX advanced tutorials codeigniter framework jquery pagination

In this tutorial, we will create a search page with CodeIgniter and jQuery. We’re not gonna create only a default search page using CodeIgniter framework, but also a real time search with jQuery’s support. And one more, enable GET method in CodeIginter that was stupidly disable by default.

comment save report
category icon

PHP Thumbnail Generation Script

in PHP added by clearnetwork, on 18/7/2008 advanced tutorials gd images

This tutorial focuses on a thumbnail generation script. Rather than generating a smaller representation of the image, it cuts out a section of the photograph to create an obscure snapshot of the photo itself.

comment save report
category icon

PHP Design Patterns Reference and Examples

in PHP added by goodphptutorials, on 30/4/2010 advanced tutorials design pattern oo programming php5

Quite a comprehensive list of programming design patterns illustrated with code examples in PHP5

comment save report
category icon

Unit Testing Databases with Zend Framework

in PHP added by lornajane, on 7/12/2010 PHPUnit advanced tutorials database database testing php5 unit testing

A detailed tutorial on using PHPUnit and Zend Framework to test operations produce the expected database results. The post gives a great background to the technique, walks you through it piece-by-piece, and offers the full code to download from github which you can use for yourself - nicely done!

comment save report
category icon

The EAV data model

in PHP added by lornajane, on 23/11/2010 advanced tutorials architecture databases modelling mysql

Clear and approachable post showing the use of the entity-attribute-value model to represent data. Includes great examples, tips on when this model is a good choice and when to use alternatives, and a real-world example examining how magento e-commerce uses this pattern.

comment save report
category icon

Mixins in PHP

in PHP added by goodphptutorials, on 5/6/2010 advanced tutorials mixin php5

One of the concepts I like in Ruby is the concept of "mixins". Mixins are a way of 'mixing in' functionality of other classes. A kind of 'multiple inheritance' like approach, only without actual inheritance. It is similar to interfaces, but interfaces only tell you that an object must implement certain methods, whereas mixins also provide an implementation.

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

Image watermark with PHP

in PHP added by webmonitore, on 22/5/2009 advanced tutorials beginner tutorials content management general php5 security

To prevent quality images being stolen, we can use PHP to watermark web-images in popular formats like GIF/PNG/JPEG. We print a transparent gif-image on a jpeg-photo in this tutorial.

comment save report
category icon

How to use curl_multi() without blocking

in PHP added by goodphptutorials, on 15/6/2010 advanced tutorials curl

curl_multi is a great way to process multiple HTTP requests in parallel in PHP. curl_multi is particularly handy when working with large data sets (like fetching thousands of RSS feeds at one time). Unfortunately there is very little documentation on the best way to implement curl_multi. As a result, most of the examples around the web are either inefficient or fail entirely when asked to handle more than a few hundred requests.

comment save report
category icon

PHP Dark Arts: Shared Memory Segments (IPC)

in PHP added by goodphptutorials, on 23/10/2010 advanced tutorials ipc

In my previous articles on using PHP for multi-process programming, we kept it very simple. By simple, I mean we didn’t have any inter-process communication (IPC). IPC is a set of techniques for the exchange of data amongst separate processes and/or threads. There are many different ways to set up IPC, such as files, signals, sockets, pipes, semaphores, shared memory, and message passing. This time around, we’re going to cover PHP’s implementation of shared memory segments.

comment save report