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

browse by tag: advanced tutorials

sort by

newest, oldest, most popular


category icon

LAMP performance for dummies

in PHP added by goodphptutorials, on 15/1/2008 advanced tutorials blog caching database mysql performance

I've spent the last six months combing Google for 'slow mysql' results. It was enlightening. Now in the spirit of giving back to the community I give you:

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

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

How to Authenticate Users With Facebook Connect

in PHP added by goodphptutorials, on 13/6/2010 advanced tutorials facebook php5

Lately, there’s been quite a fuzz about lazy registration. It turns out that the less the user has to think, the higher the conversion rates are! What a thought! If everybody seems to have a Facebook profile, why not add a one-click user registration? I’ll show you how to do that today.

comment save report
category icon

PHP HTTPRequest Class

in PHP added by rvdavid, on 11/1/2008 advanced tutorials oo programming php5 request handling

By default, request data in PHP is handled by using Super Globals ($_POST, $_GET, $_COOKIES). Globals are bad for several reasons (outside the scope of this example google here). In an effort to remedy this, we need a way to encapsulate the request data into an object. By doing this, we are centralising access to request data through the one channel - the HTTP Request object.

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

How to Create an RSS Feed for Your Site in PHP

in PHP added by Walkere, on 1/3/2008 advanced tutorials feed file handling mysql php5 xml

An RSS feed is a great way to serve up your content to users. However, if you're not using a standard CMS or blogging platform you may not have an RSS feed generated for you automatically. This tutorial will show you how to create an RSS feed in a few simple steps. If you can query your database to get information about your articles, you can complete this tutorial and build a custom feed.

comment save report
category icon

Use Windows Login (Active Directory) For your PHP applications

in PHP added by Alpho011, on 10/4/2009 advanced tutorials database ldap php5

Use the username and password schemes that are already in place for logging in to your applications or websites. Great for intranet site work.

comment save report
category icon

PHP Web Services Without SOAP

in PHP added by goodphptutorials, on 28/9/2006 advanced tutorials delete get post put rest soap web services

REST, unlike SOAP, doesn't require you to install a separate tool kit to send and receive data. Instead, the idea is that everything you need to use Web services is already available if you know where to look. HTTP lets you communicate your intentions through GET, POST, PUT, and DELETE requests.

comment save report
category icon

Currying in PHP

in PHP added by goodphptutorials, on 13/7/2009 advanced tutorials curry

What happens if you don't have all the arguments handy for a function, but you want to give whatever arguments you do have now and then provide the rest of them to the function later? This is called currying, and is a core concept in functional programming. It's messy, but possible to curry functions in PHP now that closures have been added.

comment save report
category icon

Web Services for PHP Developers

in PHP added by goodphptutorials, on 1/6/2010 advanced tutorials php5 rest soap web service xml-rpc

In this world of sharing data, increasing numbers of sites and applications are making information available over web services. Whether we are building a service as a feature of our own development, or pulling in the information published by others, we will need to understand the different service types and how to work with them in PHP. This article aims to give you the tools to do just that.

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

Facebook style photo tagging with jQuery, Ajax and Joomla

in PHP added by prodevtips, on 28/11/2009 AJAX advanced tutorials oo programming php5

Facebook style photo tagging with jQuery, Ajax and Joomla

comment save report
category icon

MySql Prepared Statement in PHP

in PHP added by cyberhitesh, on 10/7/2009 advanced tutorials oo programming php5

I was wondering whether PHP also give a feature of Prepared Statement as you have in Java JDBC Connection. Prepared Statements are always better than normal statements as it prevent SQL Injection etc.

comment save report
category icon

Modular PHP Development with FastTemplate

in PHP added by goodphptutorials, on 5/2/2006 advanced advanced tutorials content logic modular mvc presentation seperation

This article will demonstrate how to divide logic from presentation and presentation from content. In the end, a web page will consist of three files: one PHP file with all page logic, one HTML file containing the presentation, and one or more language files that will hold the texts for the page.

comment save report
category icon

Understanding APC (techPortal)

in PHP added by lornajane, on 3/11/2010 APC advanced tutorials caching performance php5

This tutorial explains the installation and usage of APC as an opcode cache for PHP. It also goes on to discuss the use of APC as a data cache, and the circumstances under which this is relevant and useful. Useful for developers, administrators and architects alike, this in-depth tutorial gives clear detail on using APC

comment save report
category icon

Twitter: send message from a PHP page using Twitter API

in PHP added by goodphptutorials, on 4/1/2008 advanced tutorials api twitter webservice

This is a very simple tutorial (really just some line of code!) that explains how to post a message using Twitter API from a PHP page.

comment save report
category icon

Combining jQuery with the Zend Framework and Smarty

in PHP added by prodevtips, on 25/6/2008 AJAX advanced tutorials php5

Showcasing how jQuery can be used in combination with the most popular templating engines for PHP and a popular PHP framework with a simple example.

comment save report
category icon

Input Validation: Using filter_var() Over Regular Expressions

in PHP added by Mojah, on 8/2/2009 advanced tutorials filter_var php5 regex

The biggest time-sink on any project, is the amount of input validation that needs to be done. You _have_ to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.

comment save report
category icon

Writing a Custom Magento Module

in PHP added by lornajane, on 2/5/2010 advanced tutorials customisation ecommerce magento open source php zend framework

Magento module-building tutorial with example code shown and to download. Magento is an open source PHP ecommerce tool built on Zend Framework, this tutorial is a must-read for developers using this package

comment save report
category icon

Hide of Change .php extension with url rewriting using .htaccess

in PHP added by phphungry, on 29/4/2008 advanced tutorials htaccess url rewriting

This tutorial explains you how to hide or change the .php extension in browser's address bar using .htaccess file.

comment save report
category icon

User Proofing Ajax

in PHP added by goodphptutorials, on 25/12/2006 AJAX JavaScript advanced tutorials

We've all felt the clean slickness of a well-oiled Ajax app. But think back to the last time something went wrong while you were using an Ajax app: how did it feel?

comment save report
category icon

5 Helpful Tips for Creating Secure PHP Applications

in PHP added by goodphptutorials, on 3/1/2009 advanced tutorials security

PHP is one of the most popular programming languages for the web. Sometimes a feature-friendly language can help the programmer too much, and security holes can creep in, creating roadblocks in the development path. In this tutorial, we will take a look at 5 tips to help you avoid some common PHP security pitfalls and development glitches.

comment save report
category icon

CI for PHP with Hudson

in PHP added by lornajane, on 26/9/2010 advanced tutorials best practice continuous integration php

A step-by-step tutorial for setting up Hudson as a build and continuous integration server for a PHP project. The author, Ben Longden, has great experience with this and it shows in this clear and approachable post

comment save report
category icon

AJAX Chat Tutorial

in PHP added by goodphptutorials, on 17/2/2006 advanced tutorials

This tutorial will show you how to create a simple AJAX Driven web chat application that is easily extensible.

comment save report