MongoDB PHP Tutorial

April 9th, 2010 / By admin / No comments

“MongoDB is a scalable, high-performance, open source, schema-free, document-oriented database. Written in C++” – www.mongodb.org (mongodb.org)

There has been alot of publiclity on NOSQL databases over the last few months. CouchDB, Cassandra and Redis are known to be highly scalable…

Writing an Event System in PHP

March 6th, 2010 / By admin / 2 comments

In this tutorial you will learn how to create and implement an event system in PHP. You will be able to integrate it with your own web application or framework.

What is an event system?

An event system is a…

Preventing CSRF in PHP

February 16th, 2010 / By admin / 1 comment

Cross site request forgery (CSRF) is where a malicious website will attempt to issue actions on another website without the user’s knowledge of it occuring.

Hypothetical Situation: You had just done some online banking and had ticked the ‘Remember me’…

PHP in Action – Objects, Design, Agility

January 31st, 2010 / By admin / 1 comment

Book Review

PHP in Action is a book aimed at people who are comfortable coding procedural or object orientated PHP scripts. It doesn’t teach you what a variable is or what function to use if you want…

PHP Namespaces

January 8th, 2010 / By admin / 1 comment

Namespaces were introduced into PHP from version 5.3 onwards. They allow the developer to seperate their code into modules or groups which inturn makes the code easier to read. Namespaces prevent class and function name conflicts, it allows you to…

PHP cURL

December 22nd, 2009 / By admin / No comments

cURL is a library written in C that enables easy transfer of data in many different protocols including FTP, FTPS, HTTP, TELNET and LDAP. cURL does more than simply download a file. You can store cookies, upload files, use various…

Codemirror – javascript syntax highlighting

July 22nd, 2009 / By admin / No comments

CodeMirror is an on the fly syntax highlighting engine, written in Javascript. Like CodePress (the syntax highlighter used in the latest version of wordpress for editing plugins), it can highlight many different languages (PHP, JS, HTML, CSS to name a…

PHP Regular expresssion URL Router

June 23rd, 2009 / By admin / No comments

In this tutorial we will create a PHP URL router. The developer using the router will be able to define these routes with regular expressions, these will then map to a file, class and method which will be called –…

PHP Autoload

May 30th, 2009 / By admin / No comments

In large PHP applications you typically see a “classes” directory that only contains classes which are used throughout the application (database, session management, forms etc..). A problem quickly appears: Everytime you wanted to use one of the classes, you would…

Web Development Tools on Linux

May 2nd, 2009 / By admin / No comments

While there are numerous posts and tutorials detailing web development tools for Windows and Mac operating systems scattered throughout the internet, there are very little for Linux. I’ll show and describe the tools I use to code PHP, Python, Javascript,…

Sourcebits

iPhone Development and Flex Development

Categories