web

web

SwfUploadComponent: A CakePHP Component for Handling File Uploads

I recently published an article at The Bakery which explains how to incorporate SWFUpload into your CakePHP application. SWFUpload is a fantastic javascript/flash library which facilitates multiple file uploads with real-time upload progress. The article includes the SwfUploadComponent as well as usage tips. I developed this component because I needed to handle uploads which could …

SwfUploadComponent: A CakePHP Component for Handling File Uploads Read More »

‘no element found’ in firebug or firefox javascript console (part 2)

I was right. If the server sends a response and the ‘Content-Type’ attribute is ‘text/xml’, you must send at least a root node so the xml parser that is built into Mozilla’s XMLHTTPRequest object doesn’t cak and give you a ‘no element found’ Javascript error. This could be an issue for those of us who …

‘no element found’ in firebug or firefox javascript console (part 2) Read More »

A Bug in FireBug

Firebug 0.4.1 and 0.4.0 suffer from a very peculiar bug. If you create an object with a property called ‘-URL’, you can not use console.log to see the value of the property using the console. Steps to reproduce: In the console, type x = {‘-URL’ : ‘foo.pdf’, ‘-Size’ : 100}; Now type x Now press …

A Bug in FireBug Read More »