April 1, 2008 8:27am |
2 Comments
| habari, habaricon, link, social, tech and youtube
So I managed to secure a place to HabariCon '08. Not quite sure what to expect, but being able to meet other people in real life and talk about habari & related things all day will be quite cool.
Expect a round-up post of the 'con tonight!
March 1, 2008 11:34am |
14 Comments
| barcamp, camera, geek, manchester, social, tech and uk
So I'm at BarCamp Manchester for the day. Its great meeting people I already know, and meeting new ones; most impressed by Peter's ruby shoes.. they glitter!
So heres a little list of links for the day:
February 12, 2008 12:28pm |
2 Comments
| code, datamapper, geek, merb, programming, ruby and tech
And now an example of how I write my ruby code and get it down to the bare, readable, minimum code needed. This is real life code taken from a website I'm building, but I've changed the objects to a blog post because more people will relate to that easier.
The show object has an id passed in using the params Hash, I want to check if that post exists in the database first. If it does, then render the page, and if it doesn't return a 404 error page.
So I start off by writing this in longhand ruby, I'm using the merb framework with DataMapper ORM by the way....
More...
January 30, 2008 2:15pm |
17 Comments
| geek, mother, php, programming, ruby and tech
So mother (who can't program) just posed me the question
Why is Ruby your favourite programming language?
Me being a show off jumped straight into TextMate and banged out some code in real time to show her. First up, a quick little one-liner of Ruby code to output a String:...
More...