PHP in Action – Objects, Design, Agility

January 31, 2010 No comments yet

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 to connect to a database but it does teach you design patterns, best practice techniques and useful information about PHP5’s object system. If you…

PHP Namespaces

January 8, 2010 No comments yet

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 have numerous classes with the same name, as long as they are in different namespaces. Namespaces also make the old…

PHP cURL

December 22, 2009 No comments yet

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 types of authentication and tunnel all requests through a proxy. The cURL extension has been bundled with PHP since version…

PHP Autoload

May 30, 2009 No comments yet

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 be forced to include() it at the top of the page. __autoload() solves this by automatically including the definition file when a…

Web Development Tools on Linux

May 2, 2009 1 comment

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, HTML and CSS on a Linux platform (Ubuntu 8.10). None of these tools are distro specific.

Netbeans

Netbeans is a full featured…

jQuery In Action

November 20, 2008 No comments yet

In an attempt to sharpen up my jQuery, i purchased the book jQuery in Action by Bear Bibeault and Yehuda Katz. Reading through the book, i could see that the first few chapters were obviously aimed at beginners. They covered selectors (If you know CSS already your fine) and events. You can easily get this information off the jQuery doc site,…

Layout and UI Designer

November 20, 2008 1 comment

A stumbled across an amazing online app, meant to be like a CAD im guessing but then i realised the different things it could be used for. Project Draw gives you a grid to start off with, you can then place various shapes onto the grid and resize them. Further more you can add colours, text, gradients, alignments and borders which…

Setting Up an Adobe Air Development Enviroment (Video Tutorial)

August 21, 2008 3 comments

Adobe Air has been out for around a year, i’ve only just started playing with it. I recorded a video tutorial showing you how to setup a development (using Aptana) and make a very simple application. This method will work for all Operating Systems.

jQuery AJAX Tutorial Pt2

May 13, 2008 5 comments

Heres Part 2 of the jQuery AJAX login tutorial. If you haven’t already, i suggest you read part 1 located here.

We are going to start writing the PHP code to process the form. This is fairly basic stuff, using $_POST to get the values from the form, then checking them against pre-assigned values, if they match, then echo approved, if they…

Rick Rolling

April 25, 2008 1 comment

Every been linked to one of those pages? You know, the ones you can’t escape.. Javascript boxes start popping out of nowhere and then you hear him.. Rick Astley.. telling you how he’s feeling about you.. You’ve been Rick Rolled.

Rick Rolling has taken off as late and links are popping up all over forums, websites and IRC. What links? You say.…

Dropbox Invites!

April 24, 2008 41 comments

Dropbox is the next big thing. Its an application that lets you sync multiple computers. For example if you have a laptop and a Desktop and want to keep some files across the two machines synchronized then this is the tool for you. The great thing is that its multiple Operating System compatible. There are currently clients for Windows and…

phpbb2 being pulled

April 24, 2008 No comments yet

The popular discussion board phpbb2 is being pulled/development dropped. Security patches and support will be given until January 2009 and you will be able to download the software from the website until the 1st of Ocbober 2008 . phpBB2 has been plagued by a large number of vulnerabilities, a significant number of them were through user submitted modifications.

phpBB 3 started…

Selectors in jQuery

April 22, 2008 9 comments

In this tutorial i’ll go over some of the frequently used Selectors and show you how to use them. Most of jQuery’s manipulations revolve around selectors, so it’s a vital skill to know.

One Two Three Four Five

So.. we want to select the first td. We do this by first selecting all the td tags and then use :first to select the first td. Using jQuery’s great…

Tune Into Shoutcasts With VLC

April 21, 2008 No comments yet

Heres a quick tutorial on how to stream internet radio, in particular shoutcast, through VLC media player. Most people stream through Windows Media Player or Winamp, but if you like Open Source applications like me, heres how you do it.

File -> Open Network Stream

Select the HTTP/HTTPS/FTP/MMS box and in the form, enter the URL of the shoutcast server, with the port. In…

Remotely Hosted? No Problem

April 21, 2008 No comments yet

There are alot of remotely hosted systems out nowadays, Zetaboards, SMF for Free and the series of IPB 1.3.1s. If you want to edit the looks of your board you need to use Javascript since you can’t access the source PHP files. You can work your way around using getElementById and the likes, or you can use jQuery. Here are…

Keeping Your Website Secure

April 20, 2008 No comments yet

This isn’t Yet Another PHP Security blog post, like you see on all the other websites. This is aimed at people who run existing software such as SMF, Joomla and Wordpress.

Some people using pre-made software think they are immune to hacking attempts. 4 days ago, there was a vulnerability found in the latest version of the Coppermine Gallery software, after…



Loading ...