One of the first things every Junior Developer learns regarding relational database systems is that storing integers is fast, it doesn’t take much space and in general, you should favor an integer over a character field if you’ve got the choice.
I wrote about messie here the other day and what I use it for is that I want to automatically download pages and find keywords in their content. Say for instance, this article should have the keywords “keywords, highscore, ruby” and so on. Just a [...]
A few weeks ago I wrote my first two gems and released them on rubygems.org. The first one about I will talk today is messie. I often want to crawl web pages in tiny little projects I do, so I thought: “Why not write a gem that I can use for every project [...]
Yes, you’ve read the headline correctly, although PHP is a weakly-typed language, sometimes you just need to make sure, that an argument to a method is of a certain type. As of PHP 5.3 you can use type-hinting to ensure this situation.
Image you were implementing a simple blog system. Every post can have a [...]
Sinatra is an awesome, lightweight and easy to learn little web framework written in Ruby. You may want to use it for projects when Rails is just too much, e.g. for small webservices or small web apps. It will run with many great Ruby webservers, such as Webrick, Mongrel (recommended), thin or Puma (which I [...]
Hey guys, I’ve been tooling around with Ruby the last days/weeks and I have learned some little lessons in general Ruby programming. These are some small tipps that I find very useful, especially for Ruby newcomers.
enhance the load path
These are 2 equally suited ways to put a folder in the load path. You [...]
vmtouch is a tiny little tool that could be very useful to you if you want to improve performance on a low level basis or just learn something about the file system cache in Linux.
Database indices are most useful when they are in the RAM, but on large databases this often isn’t the case. [...]
A couple of days ago I wrote about the advent calender on the blog of the company I work for: Mayflower. And I also wrote a blog post about using custom annotations in PHP to save a lot of time and code with it. I worked on a lot [...]
Today is December 1st and that means you can open the first door of your advent calender! The company I work for also has an advent calender. Every day from today till the 24th a new blog post will be published on our company’s blog blog.mayflower.de. Some posts will be in german, [...]
Yeah big news today! In the morning I made the exam for the Zend Certified Engineer PHP 5.3 and passed it
I had many, many stream questions in my test, a field I wasn’t so prepared about. I made three mockup tests to prepare for the exam (and of course reading the exam book, [...]
My Coderwall Badges