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

news


CodeLovely.com starts beta testing

Hi folks, I've launched a new website called codelovely where developers and web designers can get together and share links. It's like goodphptutorials, but users get to vote up or down links that are posted. So, sign up posts some links, snapshots, code or ask questions.

 

tutorials


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

Integrating WordPress with Your Website

in PHP added by goodphptutorials, on 15/6/2010 beginner tutorials wordpress

By nature, WordPress is very powerful. It can be as complex or as simple as you wish. With that in mind, how much you want to use WordPress with your existing website is totally up to you. There may be only a few features of WordPress you want to use when integrating it with your site, or you may want your entire site run with WordPress.

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 Optimization Mistakes [pdf]

in PHP added by goodphptutorials, on 12/6/2010 beginner tutorials optimization php5

Presentation from the Dutch PHP conference 2010 about common optimizations mistakes in php

comment save report
category icon

State of the Zend Framework 2.0

in PHP added by goodphptutorials, on 10/6/2010 oo programming php5 zend framework

The past few months have kept myself and my team quite busy, as we've turned our attentions from maintenance of the Zend Framework 1.X series to Zend Framework 2.0. I've been fielding questions regularly about ZF2 lately, and felt it was time to talk about the roadmap for ZF2, what we've done so far, and how the community can help.

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

2 comments save report
category icon

Writing an OAuth Provider Service

in PHP added by goodphptutorials, on 23/5/2010 oauth oo programming php5

Last year I showed how to use pecl/oauth to write a Twitter OAuth Consumer. But what about writing the other end of that? What if you need to provide OAuth access to an API for your site? How do you do it?

2 comments save report
category icon

Organize Your Project like a Pro with PHP Namespaces

in PHP added by goodphptutorials, on 20/5/2010 namespace oo programming php5

PHP took a huge step forward in June 2009 with the release of version 5.3. It wasn't quite as big of a change as version 5.0, but the release did introduce a number of new language features including namespaces — an addition that can dramatically improve the way you organize your PHP in an object oriented paradigm.

2 comments save report
category icon

PHP Integration with Salesforce CRM

in PHP added by goodphptutorials, on 19/5/2010 crm integration salesforce

If your primary clientele is small to medium business owners, as I imagine is the case for most professional developers these days, chances are you have developed custom applications that interact with Salesforce CRM. For those of you that have not had the delight of integrating with Salesforce, let's walk through the most common integration techniques.

comment save report
category icon

Get Flickr Images Using SimpleXML

in PHP added by iFadey, on 17/5/2010 css flickr images simplexml xml

In this article you will learn two main things: 1. How to parse XML using SimpleXML? 2. How to get Flickr images from RSS feed and display them on your web page?

comment save report
category icon

Doctrine MongoDB Object Document Mapper

in PHP added by goodphptutorials, on 15/5/2010 doctrine oo programming orm php5

A question asked to me many times by many different people over the last year is, "will Doctrine ever have any support for MongoDB?". I have never really had an answer because we haven't had any official plans to support it as it was so new to the database world and php so nobody really knew much about it yet.

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