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

browse by tag: advanced tutorials

sort by

newest, oldest, most popular


category icon

Migrating a Legacy Forum to vBulletin 4.0.3

in PHP added by prodevtips, 1 week ago advanced tutorials content management mysql php5

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

1 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

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

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

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.

1 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

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

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

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

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

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

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

Single Sign-On with OpenID and Google Part 1

in PHP added by jlaing, on 15/4/2010 advanced tutorials openid single sign-on

Add "Login with Google" to your web application. This tutorial goes through the basics of OpenID. And talks specifically about Google's implementation.

comment save report
category icon

Rediska and Sesh: Minimizing RAM usage in your session.

in PHP added by goodphptutorials, on 31/3/2010 advanced tutorials key-value nosql redis rediska

As I begin writing this, I realize I am in some way contributing to all the noise and novelty around "NoSQL". As tempting as rewriting your website to use Cassandra may be, the chances that an objective cost-benefit analysis will support your opinion are pretty small when your project is out to make money.

comment save report
category icon

PHP Buzz Stream Reader

in PHP added by goodphptutorials, on 29/3/2010 advanced tutorials google buzz web service

I'm on to the next shiny thing: Google Buzz. It provides the instant gratification of Twitter, along with a system for commenting, liking, geolocation, sharing links, and more. It's sort of like Facebook, except that it's embedded into GMail and there's no Mafia Wars yet.

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

2 comments save report
category icon

Tips for working with Zend_Search_Lucene

in PHP added by goodphptutorials, on 10/3/2010 Zend advanced tutorials framework lucene search

A common misstep for a developer who is implementing Lucene for the first time is to stuff an overabundance of data inside it, reducing performance. For someone who doesn't have a background in natural language processing or information retrieval, some data normalization steps may not come naturally. This post specifically regards Zend_Search_Lucene, but much of my advice can be abstracted across various languages to other Lucene ports, such as Lucene.NET.

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

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

Advanced CouchDb (techPortal Podcast)

in PHP added by lornajane, on 22/1/2010 advanced tutorials conference couchdb database podcast

Learn how to use CouchDB replication for load-balancing, fault tolerance, offline work and backup. We are showing how to set up each and what you need to look out for. Finally, this talk is sprinkled with neat tricks and best practices for deploying CouchDB. Which load balancers are people using, how to make the best use of caching, etc

comment save report
category icon

Howto Publish a Pear Package on Pearhub

in PHP added by goodphptutorials, on 17/1/2010 PEAR advanced tutorials pearhub

First of all you may be wondering what is Pear? From the Pear Documentation - "PEAR is short for "PHP Extension and Application Repository" and is pronounced just like the fruit". It is an umbrella-term that encompasses a package management system, an official package repository, a coding standard and a command-line tool.

1 comment save report
category icon

Transforming XML with PHP and XSL

in PHP added by lornajane, on 13/1/2010 advanced tutorials php5 xml xsl

Advanced tutorial on using XSL with PHP - including examples, tips and links to resources. A must-read for anyone needing to transform XML.

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

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.

1 comment save report