Node.js scalability and tech writers

I’ve just published a text on the LoadImpact blog. This time I write a little bit about the findings I made when trying to put a little heavier load on a very simple Node.js, turns out that Node.js is not a silver bullet after all. Who would have guessed. If you need content for your […]

LoadImpact

I’ve just started blogging as a guest writer at LoadImpact.com. If you’re not already familiar with LoadImpact, go check them out. They provide the word leading load test as cloud service solution and is free to try out. Today my first post was published about the difference between Node.js and PHP as server side languages/environments. So, […]

Debugging your phpunit test cases in CodeIgniter

I don’t know why it feels ironic, but it does. Sometimes I need to debug my phpunit test cases and it wasn’t very very self explanatory to understand how to set it up . The solution however, is quite easy. I’ve previously written about how to enable the php debugger xdebug from a command line […]

Using CodeIgniter migrations with PHPUnit

Even some of the CodeIgniter developers are not especially happy about how Migrations are implemented in the current version. Never the less, if you have a CodeIgniter 2.x code base that you want to write unit tests for, you may want to use them. In a PHPUnit test class, you can use setUp() and tearDown() […]

Debug PHP-cli scripts with Xdebug and Sublime Text 2

In my previous post, I explained how I’ve set up debugging PHP scripts with Xdebug and Sublime Text  2 in a web based environment. In this part, I’ll outline how I debug PHP command line scripts. If you want to follow this guide, make sure you have everything setup as explained in the previous post. […]

CodeIgniter for PHP CodeSniffer gets better

Just a quick note, my PHP CodeSniffer standard for CodeIgniter improves gradually, since I originally mentioned it a month ago, the following improvements have been made to the repo: Improved indentation checks in switch statements, works with tabs now Correct file and class naming when creating libraries (CodeIgniter expects capitalized file names for libraries) Support […]

Debugging PHP with Sublime Text 2

In my early days of developing, I was heavily using Microsoft Visual Studio almost exclusively and say what you want about developing in the Microsoft ecosystem, but debugging Just Worked. In the Open source world of various iteration of LAMP stack, debugging is more of a challenge and honestly, just as many other developers working with […]

Net ID on Ubuntu 12.10

I don’t know if it’s because of my desktop environment (Ubuntu 12.10, Gnome Shell 3.6) is so darn special or because Firefox 17 disabled a certain feature. But anyway, when I tried installing Net ID from SecMaker, better known as Telia e-legitimation, it would just fail. But I was able to find a workaround. My […]

PHP CodeSniffer and CodeIgniter

I recently found out that Thomas Ernest have created a CodeIgniter standard for CodeSniffer. He mentioned on the CI formus that it’s not perfect and does spit out a few warnings and errors for things that are really OK in the CI style guide. False positives. This is the slightly modified welcome.php controller file I wanted to […]