This, That, and the Code

Home >> Programming

Google App Engine

Posted on: Wednesday, April 9th, 2008 in: Agile Development, Programming

Facebook applications is to OpenSocial  as Amazon’s EC2 is to …… Google App Engine. Google ftw!
Some things I like about it:

 It’s free to start… the startup bar just got lower again
Scales up well (from the reading I’ve done)… you just pay more.
The data is backed up better than a home grown solution because of the […]

Flot: What’s the point!?

Posted on: Thursday, March 20th, 2008 in: JavaScript, User Interfaces

Here’s a screen shot:

What the hell is the point.  You can do this in flash and have more interactive graphs.  Granted it’s pretty, but so would any custom flash chart, or if you’re not the custom kind, there’s Open Flash Chart.
Seriously people.  jQuery is great for making the client side more interactive, but Flash has […]

Baby Steps to Great Software

Posted on: Wednesday, January 23rd, 2008 in: PHP, Programming

Without given too much away…
I recently inherited a website written in PHP that uses the CodeIgniter Framework (Which I like).  The problem is that the people who used it to develop the website didn’t appreciate the MVC pattern.
Let me boil it down for you.  The project consists of:

1 Controller
0 Model classes
30 view files in the […]

Play the Business Piccolo?

Posted on: Tuesday, January 15th, 2008 in: Java, Programming, User Interfaces

Piccolo is a Java and .NET library written to allow the construction of arbitrary 2D GUIs; most notably it provides great support for rotation and scaling.
I think it’s seen as a toy project right now by most developers in the business realm (even though it’s a mature library) , but I think there are some […]

Are you sure you want to _______?

Posted on: Monday, January 14th, 2008 in: Programming, Usability, User Interfaces

I’d love to never see that dialog box again. Can we make that happen? Would it be worth it?
Abstractly, you can treat all user actions as transformations on an application’s state. Undo is then implemented by either remembering the state before the action, or by knowing how to do the action in reverse (depends […]

Securing JavaScript Applications

Posted on: Monday, November 12th, 2007 in: JavaScript, Security

One big problem with using JavaScript as the basis for your application is that if a hacker gets clever they can insert their own JavaScript into your trusted page and execute it as though it were yours (XSS).
You could curtail a hacker by modifying the DOM so that the objects they would typically use to […]

Google Maps API vs Yahoo Maps API

Posted on: Saturday, October 13th, 2007 in: Programming

I’ve encountered a problem that it appears the Google maps API can’t resolve, but the yahoo maps API seems to.
If you try to reverse geocode a postal code using the Google maps api it never seems to give you the city the postal code is in, but the Yahoo API does.
So for the time being […]

Online Graph Editor

Posted on: Friday, October 5th, 2007 in: JavaScript, PHP, Programming

I got this working today I’d share it.
It’s definitely a work in progress, but I figured I’d get it out there so that it could illicit some feedback.
Until I can sit down infront of a windows box to fix it, it only works in firefox.
http://graph.machete.ca/

Machete Mice

Posted on: Wednesday, October 3rd, 2007 in: JavaScript, PHP, Programming, User Interfaces

An alternate user interface for a plain old Chat System.
http://mice.machete.ca

TheBrain Clone

Posted on: Tuesday, October 2nd, 2007 in: JavaScript, Programming, User Interfaces

I’ve coded this website to demonstrate that web interaction need not be boring. It’s based on “TheBrain” which when I wrote this page was only a desktop application.
http://www.machete.ca/slips/