Javascript Gotcha: Invalid Assignment Left-Hand Side
Posted by: Owen on Monday, 18th Aug, 2008
I ended up scratching my head today over a line of Javascript that was just not playing ball. The line was this:
opener.document.forms[0].plugin-media4pic.value = “avatar.jpg”;
All I was trying to do was update a field on the parent form that called a popup with an image that had been uploaded by the user. Sounds pretty straightforward, and [...]
Picking a Platform
Posted by: Owen on Monday, 31st Mar, 2008
Great post on ReadWriteWeb about 5 issues to keep in mind when choosing a web development platform. Regardless of what sort of platform you’re after, these ideas translate well to other technologies also. Here are the things to watch out for:
Reach of the platform - the broader the target market, the more effective the platform [...]
Vista SP1 - The Developer’s Perspective
Posted by: Owen on Friday, 28th Mar, 2008
Paul, from my office, has just sent me a link to a post by Tim Sneath entitled What does Vista SP1 mean to developers. In his post, Tim outlines some major changes in SP1 that developers need to know about. In a nutshell, his post talks about:
A common codebase for ALL Vista and Windows 2008 [...]
Facts on Software Engineering
Posted by: Owen on Friday, 28th Mar, 2008
I came across a post on CodingHorror where Jeff pulls out a summary from Facts and Fallacies of Software Engineering by Robert L. Glass. There’s some great stuff in there that everyone working in software should know. And good advice is like? cheap glasses, you can never have enough! So I’m echoing it here:
People
The most [...]
10 ways to improve your code
Posted by: Owen on Monday, 10th Mar, 2008
Interesting post on The Reg about Neil Ford’s talk about how to improve you code. The talk was aimed at Java developers but there’s good advice for everyone in there. Here’s what he said in a nutshell:
Write tests before writing the code
Use static analysis tools
Practice “good citizenship” by paying attention to how well your objects [...]
AJAX attacks and how to mitigate against them
Posted by: Owen on Monday, 18th Feb, 2008
Excellent post on The Register entitled Reduce your exposure to AJAX threats, which talks about three pieces of advice you need to keep in mind when developing AJAX applications. There’s nothing new in terms of security principles, just an application to the fact that a good portion of AJAX applications work on the client’s browser [...]
Forays into AJAX
Posted by: Owen on Friday, 1st Feb, 2008
I’ve recently had the opportunity to learn more about AJAX. For those unfamiliar with the term, it’s a web technique whereby web pages can make asynchronous calls to backend services to present functionality to the user without having to refresh the page all the time. I did this while developing functionality for my latest WordPress [...]

