AJAX + Prototype = Rockin!

  • Digg this article
  • Sphinn this article
  • Stumble this article
  • Facebook
  • del.icio.us
  • LinkedIn
  • Twit this article
Posted by John
on Wednesday, 19 September 2007

Ahh… times are good.

Not much of an article more of a message.

Well if you know I’ve spent the past 2-3 months putting together a neat little rails app called AtomPad , it’s really my take on BaseCamp and is a perfect platform to test my Ruby skills and sharpen my OOP mentality.

So far it’s proven to be pretty useful and today I’ve re-written the Reminders and Lists area to be a bit more AJAX powered. So now you can add, delete, even live-edit items right on the screen just by hovering over them; and all without one single refresh.

Plus you get version control so it records what things you change to your notes, so eventually if your in a team it’ll tell you who changed what, when and maybe why (eventually).

Very intelligent, very powerful and so damn cool.

AJAX + Prototype is most definitely king!

Transformers + Updates

  • Digg this article
  • Sphinn this article
  • Stumble this article
  • Facebook
  • del.icio.us
  • LinkedIn
  • Twit this article
Posted by John
on Thursday, 16 August 2007

Apart from it being a film very much like Steven’s previous creation ‘War of The Worlds’ it wasn’t actually that bad a film. Loved the scorpion decepticon.

There’s a quiz online at the moment, see how you rate,

I AM
68%
OPTIMUS PRIME

Updates

Just to keep you in the know, i’m working on a new guide to help Linux users get multiple Rails Apps running on one Linux Server. So far going good, should have something online soon,

For now though,

Multiple Rails Apps On One Slice

All the best,

John.

CRUD and CRON Jobs

  • Digg this article
  • Sphinn this article
  • Stumble this article
  • Facebook
  • del.icio.us
  • LinkedIn
  • Twit this article
Posted by John
on Saturday, 04 August 2007

Create, Read, Update, Delete = CRUD

The four basic functions of any persistent storage mechanism.

Refers to all of the major functions that need to be implemented in a relational database application to consider it complete. Each letter in the acronym can be mapped to a standard SQL statement:

  • Create => INSERT
  • Read (Retrieve) => SELECT
  • Update => UPDATE
  • Delete (Destroy) => DELETE

It's really that simple and not only applies to databases but nearly any form of application.

CRONTAB and Cron Jobs

In simplest terms, a time-based scheduling service in Unix & Linux systems.

Driven by a configuration file named crontab that specifies shell commands to run periodically on a given schedule.

E.g. * Load the LighTPD web server when the server reboots