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

browse by tag: advanced tutorials

sort by

newest, oldest, most popular


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

PHP Continuous Integration with Atlassian Bamboo

in PHP added by goodphptutorials, on 9/3/2010 advanced tutorials continous integration unit tests

Continuous integration is all the rage these days; you are unit testing your code are you not? During some consulting in January with the help of Sebastian Bergmann, from thePHP.cc, we setup continuous integration utilizing Atlassian Bamboo and received training on PHPUnit.

comment save report
category icon

Profiling with XHGui

in PHP added by goodphptutorials, on 6/12/2010 advanced tutorials xhgui

Everyone wants a fast web site. Making one is a bit more difficult. Profiling code during development is easy, thanks to the excellent Xdebug extension (which also provides handy debugging tools), but this still leaves us blind in production, where we care the most. It’s also frequently more than a little different than the development machine.

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

Adding Ajax with jQuery to Joomla 1.5

in PHP added by prodevtips, on 3/8/2009 advanced tutorials content management mysql oo programming php5

How to quickly add Ajax anywhere in Joomla 1.5 using jQuery.

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

Setting up your Git repositories for open source projects at GitHub

in PHP added by goodphptutorials, on 15/12/2009 advanced tutorials git github version control

Like a lot of projects in the Ruby on Rails world, the Insoshi social networking platform uses Git and GitHub to manage its open source development and contributions. In setting up the repositories for Insoshi, I've applied the version control experience I gained at Discover, where I was technical lead for the software configuration management (SCM) team. Since some aspects of our setup aren’t obvious if you haven't managed large projects before, we at Insoshi decided to share the details so that other GitHub projects might benefit as well.

comment save report
category icon

Facebook style chat with jQuery and Joomla

in PHP added by prodevtips, on 29/3/2010 AJAX advanced tutorials oo programming php5

Tutorial on how to create a Facebook style chat with the help of jQuery and PHP.

comment save report
category icon

Monte Carlo Simulations

in PHP added by goodphptutorials, on 2/7/2010 advanced tutorials modelling monte-carlo

Monte Carlo simulations are a handy tool for looking at situations that have some aspect of uncertainty, by modelling them with a pseudo-random element and conducting a large number of trials. There isn’t a hard and fast Monte Carlo algorithm, but the process generally goes: start with a situation you wish to model, write a program to describe it that includes a random input, run that program many times, and look at the results.

comment save report
category icon

The Truth about Sessions

in PHP added by goodphptutorials, on 22/10/2008 advanced tutorials security session

Nearly every PHP application uses sessions. This article takes a detailed look at implementing a secure session management mechanism with PHP. Following a fundamental introduction to HTTP, the challenge of maintaining state, and the basic operation of cookies, I will step through simple and effective methods that can be used to increase the security and reliability of your stateful PHP applications.

comment save report
category icon

Understanding MVC in PHP

in PHP added by goodphptutorials, on 30/12/2009 advanced tutorials mvc oo programming

This article series (continued in Implementing MVC in PHP: The Controller, Implementing MVC in PHP: The View, and Implementing MVC in PHP: The Model) demonstrates how to build an MVC web framework using PHP 5. This article covers the basics of MVC web frameworks, building the foundation classes for a framework that the other three articles in this series will build.

comment save report
category icon

Desktop Application Development with PHP-GTK

in PHP added by gpt, on 31/3/2008 advanced tutorials desktop applications gui oo programming php5

PHP-GTK 2 is out, and with it, a fantastic means for PHP developers to build useful, reliable cross-platform desktop applications. In this tutorial, I'll show you how to get up and running with PHP-GTK in no time and build your first desktop application.

comment save report
category icon

Process Forking with PHP

in PHP added by goodphptutorials, on 16/6/2010 advanced tutorials daemon linux php5

Unix supports the process of forking which allows a parent process to spawn a subprocess and continue running both processes concurrently. It is possible to do this in PHP using the PHP Process Control Functions. Note that you should never attempt to use these process control forking functions when using a webserver; you should only fork applications when using the PHP command line client.

comment save report
category icon

Learning PHP 5.3 by writing your own ORM

in PHP added by goodphptutorials, on 28/4/2010 advanced tutorials orm php5

Creating an ORM for PHP is not an everyday task but writing one is a good way to improve your PHP skills, especially if you use some of the additional features PHP 5.3 adds to the language. There are many excellent ORMs (Object Relational Mappings) already in existence and for a real-world project it would probably better to use one of these, but this tutorial uses the task of creating an ORM as a way to take a look at applications for some PHP 5.3 features.

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

Digg API: How to Get a Random from Digg with PHP and XML

in PHP added by Walkere, on 26/2/2008 advanced tutorials media php5 xml

This tutorial walks you through using the Digg API to fetch a random story from Digg and display it on your own site. Good introduction to using the Digg API for content syndication. Uses PHP 5 and XML.

comment save report
category icon

Collecting Garbage: PHP's take on variables

in PHP added by goodphptutorials, on 16/9/2010 advanced tutorials php5

In this three part column I will explain the merits of the new Garbage Collection (also known as GC) mechanism that is part of PHP 5.3. Before we start with the intricate details of PHP's new GC engine I will explain why it is actually needed. This, combined with an introduction how PHP deals with variables in general is explained in this first part of the column. The second part will cover the solution and some notes on the GC mechanism itself, and the third part covers some implications of the GC mechanism, as well as some benchmarks. But now first on to the introduction.

comment save report
category icon

Writing an easy to use A/B test helper with CakePHP and jQuery

in PHP added by goodphptutorials, on 1/11/2009 ab test advanced tutorials cakephp framework jquery metrics

Knowing what is driving the user experience is key to the success of an application. Subtle changes in the interface can cause dramatic shifts in user behavior. Here, A/B tests display two (or more) language choices or color choices to a user (any HTML). Metrics are measured in two ways - 1) did the user click on the button at all and 2) how long did it take them to find it from the moment the page has started loading?

comment save report
category icon

Design Patterns in PHP [PDF]

in PHP added by nirajam, on 29/7/2009 advanced tutorials beginner tutorials oo programming php5

In this tutorial you learn some of the Design Patterns and how to implement them in PHP. These are an essential part of OOP and make your code more effective, better performing, and easier to maintain. Sometimes we implement these design patterns in our code without knowing that these solutions are defined by design patterns. Proper usage of the correct pattern can make your code perform better; similarly using them improperly could make your code slower and less efficient.

comment save report
category icon

Creating a chat script with PHP and Ajax, Part 2

in PHP added by goodphptutorials, on 6/4/2006 AJAX JavaScript advanced tutorials chat

n this second part of the 'Creating a chat script with PHP and Ajax', we start from scratch and create a PHP-based chatroom, using Ajax, the Prototype JS library and JSON. Live demo and project files included.

comment save report
category icon

Search without refreshing page using jQuery, Ajax and PHP.

in PHP added by foxscan, on 8/8/2009 AJAX advanced tutorials database jquery mysql

This tutorial about how to display twitter like search results with jQuery and Ajax. When you click the search button the results will display on the same page. This is very interesting and simple.

comment save report
category icon

Basic Plugin/Event Architecture

in PHP added by AKnife, on 15/5/2007 abstraction advanced tutorials events php plugins

Any complicated application will require some level of abstraction on top of the programming language itself; a strong plugin and event architecture can make for strong reusable components, as well as clean, easy to manage code.

comment save report
category icon

Tips for Working with DateTime in PHP

in PHP added by lornajane, on 9/5/2010 advanced tutorials date oo programming time tips

A few quick tips for working with PHP's DateTime classes, including instantiating the objects, outputting in various formats, and storing dates and times an an accurate and easy-to-use way

comment save report
category icon

Three-Tier Development with PHP 5

in PHP added by goodphptutorials, on 21/3/2006 advanced tutorials mysql php5 smarty tier

This article will demonstrate the power of three-tier development in PHP 5, using PEAR::DB_DataObject for the business logic and Smarty for display logic. I assume that you have some familiarity with HTML, Smarty, PEAR::DB_DataObject, MySQL, and PHP 5

comment save report
category icon

Decoding a User Space Encoded PHP Script

in PHP added by goodphptutorials, on 14/5/2010 advanced tutorials encryption security

Every once in a while a new PHP encryption tool/service pops up and offers PHP “encryption”. Therefore the idea behind php-crypt that was announced today in the PHP Development forum of Xing is nothing new. Infact there are two types of PHP encryption systems source code obfuscators/encryptors/encoders and bytecode obfuscators/encryptors/encoders.

comment save report