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

Scaling Web Applications with HMVC

in PHP added by goodphptutorials, on 23/2/2010 framework hmvc kohana mvc php5 scaling

The last decade has been witness to the second iteration of web design and development. Web sites have transformed into web applications and rarely are new projects commissioned that do not involve some element of interactivity. The increasing complexity of the software being developed for the internet fuelled a requirement for structured and considered application design.

comment save report
category icon

The Horrors of C99.php

in PHP added by goodphptutorials, on 22/2/2010 c99 security

If you were a sysadmin a few years ago, and you had php on your servers, you’re probably already familiar with c99.

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 a Basic Template System in PHP

in PHP added by rizwan6feb, on 13/2/2010 beginner tutorials templates

This article shows you how to use the php include function to implement a template system in PHP. It will not be a full fledged template system, it will rather teach you how to setup a basic template system in PHP

comment save report
category icon

XHP: A New Way to Write PHP

in PHP added by goodphptutorials, on 10/2/2010 extension xhp xml

XHP is a PHP extension which augments the syntax of the language to both make your front-end code easier to understand and help you avoid cross-site scripting attacks.

comment save report
category icon

Running PHP on Embedded Devices

in PHP added by lornajane, on 10/2/2010 CLI device. embedded podcast

PHP is a scripting language that was originally designed for producing dynamic web pages. Since a command line interface is available, PHP can be used for developing standalone graphical applications on PCs as well. In contrast, we use a cross-compiled version of PHP for developing applications for embedded devices like cell phones, router oder networked attached storages (NAS).

comment save report
category icon

Faceoff: CodeIgniter vs CakePHP

in PHP added by goodphptutorials, on 7/2/2010 cakephp codeigniter framework php5

In the red corner, we have CakePHP, the heavyweight fighter with guns to show. In the blue corner, we have CodeIgniter, the lightweight fighter, quick on the feet.

comment save report
category icon

Shortening multiple URLs with jQuery, PHP and bit.ly

in PHP added by prodevtips, on 7/2/2010 beginner tutorials

Tutorial on how to shorten all urls in a text area by way of bit.ly and some jQuery, Ajax and PHP.

comment save report
category icon

PHP Compiler Internals

in PHP added by lornajane, on 4/2/2010 advanced compiler extension internal podcast sebastianbergmann

In this presentation we introduce a new language construct to demonstrate how one might go about modifying the PHP interpreter. The internals of which follow a pattern common to many language implementations, with lexical analysis, parsing, code generation, and execution phases. By the end of the presentation, it is hoped the audience will see that contributing to the PHP language core is not necessarily as difficult as it might seem.

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.

comment save report
category icon

10 PHP functions you (probably) never use

in PHP added by goodphptutorials, on 14/1/2010 beginner tutorials functions general

When scripting in PHP, we often restrict ourselves to a limited number of API functions: the common ones, like print(), header(), define(), isset(), htmlspecialchars(), etc. If some needed functionality doesn’t exist, we often write it making use of these basic components which we have in mind. The PHP API actually offers a lot of functionality, some useless and some useful; often seldom used. I have been looking through the available functions and was interested to find some really cool functions that I should have known about. Here, I share my findings.

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

Profiling with XHProf

in PHP added by lornajane, on 12/1/2010 benchmark optimisation php profiling scaling tutorial xhprof

Tutorial on using the XHProf tool, developed by facebook and released under the apache license, to look for bottlenecks and optimise performance

comment save report
category icon

Zend Framework on a shared host

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

When you deploy a Zend Framework website to a shared host, you usually cannot change the DocumentRoot to point at the public/ folder of the website. As a result the URL to the website is now http://www.example.com/public/. This doesn't look very professional, so we'd like to remove it. The easiest way, given a ZF project created using Zend_Tool.

comment save report