Archive for the ‘Web Development’ Category

Some PHP and webdevelopment goodies.

Saturday, August 13th, 2005

Writing more efficient PHP
I found the IBM tutorial on writing more efficient PHP today. Most of it is very obvious stuff [cache values, understand the lower-level workings of the programming language in question so you can take advantage of it's design, etc, etc], says a guy with ten years experience of developing software with a variety of programming languages. But some is more cunning than obvious glaring-you-in-the-face-with-a-cheeky-smile stuff.
For example if too many GET requests are made then the web-application will seem to be much slower. So when generating PDFs, it’s good to issue both the Content-Type and the Content-Disposition headers to minimise the number of requests that the browser may make.
If you aren’t sure what’s going on in a scenario such as this and you use FireFox then you could always install the LiveHeaders plugin to have a detailed look what information and requests are traversing the connection between browser and server.

memcached
I recently discovered the memcached project as well. memcached is a distributed memory caching system like a huge big hash table shared between any mumber of servers intended for use in speeding up dynamic web applications by alleviating database load though it can be used for more generic purposes as well. I haven’t used it yet, but wish I had. It is used by Slashdot, WikiPedia and SourceForge amongst others.

CSS Optimisation

Thursday, July 21st, 2005

CSS Optimisation:
Rather than go through my hand written notes etc I found
this ‘Efficient CSS with shorthand properties’ page on 456 Berea St.com
. It’s quite handy :)

Minimize Flickering CSS Background Images in IE6

Thursday, July 14th, 2005

IE6′s flickering of CSS backgrounds got mentioned on IRC today.
There’s more about it, including a solution on the FSS site.

Open Source Testing packages

Wednesday, July 13th, 2005

Looking around for test and bug tracking packages, I found http://opensourcetesting.org/ to be quite a treasure trove of useful comprehensive information.

Javascript and Internet Explorer

Monday, September 13th, 2004

Found this error in seek.com.au (a recruitment site like monster.ie) when updating my seek copy
of my CV a few days ago.

Can you spot it?
<A HREF=”JavaScript:DisplayPreview(1289105,”QMjXoQm,RSfcrgV)>

Scary thing is it works ok in Internet Explorer, which just demonstrates how broken IE is.
I just hope for Seek’s revenue’s sake that there aren’t similar, or worse, errors when buying posting
space from them to advertise job vacancies.

I emailed Seek to notify them of the problem – they only support IE; heaven help anyone in
Publishing (Macs & safari) or Linux IT in Oz who are looking for work!

On Fri, Sep 10, 2004 at 10:26:34AM +1000, SEEK Help Desk wrote:
> Unfortunately, you may experience some problems using browsers that are not currently supported by SEEK — e.g. Mozilla or Opera.
>
> In order to access all of SEEK’s services, please use or upgrade to the latest version of Internet Explorer, version 6.0 – Internet Explorer version 6.0 is free and can be downloaded here:

Quick Reference Cards

Friday, January 16th, 2004

Found this handy collection of Quick Reference Cards through google (what else?). I already have the ViM quick reference card printed and adorning my cubicle in work. There are some very nice goodies here :)

JavaScript Link

Wednesday, November 12th, 2003

Thought I’d mention JavaScript Math FAQS” before I loose the link.
I’d recommend it to any Javascript developer.

Calendar Widget

Wednesday, October 29th, 2003

Found this DHTML calendar widget which I might deploy on linux.ie instead of the 3 day/month/year pickboxes that I have there in the admin section.
Well impressed.

Useful webdevelopment links

Thursday, August 7th, 2003

Clearing through some bookmarks, I found these useful ones:
Accessibility-checking favelets

Drag & Drop for Images and Layers, Main Page

Wonderful Wonderful FrontPage

Tuesday, May 13th, 2003

the sarcasm just drips right now.
Half, if not more, of my day has been eaten up tring to install Frontpage 2002 extensions for Apache onto Redhat.
AJ was a great help and pointed me at some URLs/resources which seem mighty fine:

aj    ahh bummer. Says I must patch apache in order to use it, which I am afraid I can’t.

It used to be the case you did not have to patch apache. Bastards.

aj    But a quick google revels http://www.joshie.com/projects/apache-frontpage/install.htm

but I am sures I saw a mod_frontpage for deb as well

aj    Seems like they have rpms for 1.3.23 but don’t know if your using rpms

aj    Or if you wanted to cheat as I usuall do and because its very reliable http://www.apachetoolbox.com/

I gotta get me 5 of these :) T …

Thursday, April 10th, 2003

I gotta get me 5 of these :)
They’re nice handy colour coded JavaScript/HTML cheat sheets

I can’t recommend Mozilla’s …

Monday, March 10th, 2003

I can’t recommend Mozilla’s DOM Inspector enough – it’s really saved me a lot of time today, no needless sifting through code. :)

Internet Explorer has been dri …

Friday, March 7th, 2003

Internet Explorer has been driving me demented these days – now its table alignment algorithms are screwing my mind around like nobody’s business.
Another thing that’s been getting to me a bit is my driving instructor advising me to go buy a car to practise in – I’ve a first provisional driving license, so along with being screwed with insurance on it am I supposed to ring up a qualified driver to drive over to my place so I can drive down to the shops!?
Annoyed doesn’t even begin to describe….