Combining Web 2.0 with 1.0

It’s all very nice and dandy to have a website built within 2.0 standards. However, what if the website hasn’t been built for non-JavaScript browsers, or for people with JavaScript disabled?

Since all web 2.0 website’s require JavaScript, whether we are talking about Flash or AJAX. A nice way to resolve this issue is to return true, or false from a function being called via a JavaScript event. This can determine if the client is using a web 2.0 or 1.0 web browser.

Click to continue reading “Combining Web 2.0 with 1.0″

Gedit Plugins

Software Freedom Day was held on Saturday 20th September. It was a chance to raise more awareness of GNU/Linux and free software. I got involved with the day, and setup an awareness stand with my friend Jake. We burnt off about 25 copies of Ubuntu, 10 copies of Open Disc (containing OpenOffice, Firefox and more free software), and about 5 copies of Open Education disc, which contained free educational software for students.

The day went from 10am till 4pm. Software Freedom Day for our team consided of a few lengthy discussions based on GNU/Linux, showing off the Compiz-Fusion project, demonstrating a few features of OpenOffice, and of course, teaching some newcomers what GNU/Linux is about.

Click to continue reading “Gedit Plugins”

Using Memcache with PHP

It’s been at the back of my mind for a while, using objects from cache, without destructing them, and only initializing them once.

Many thanks to Memcache this is now possible. Memcached (daemon) stores arrays, objects and variables in memory available for clients to access them at any time. This speeds up the process of a web application a lot. Instead of having to create a new object each time the page is loaded, you can simply retrieve the desired object from Memcache and operate on it normally.

Click to continue reading “Using Memcache with PHP”