I was just trying to design an object oriented PHP interface to handle basic CRUD* operations in a PostgreSQL Database, and i came up with the idea of using dynamic methods to call the stored procedures. I’ll try to explain what i did here, and how.
Continue reading “Using dynamic methods in your PHP Classes”
I spent some valuable time last night, trying to create a reliable algorithm to merge two arrays, so i can use PHP’s json_encode() for a simple logging class i’m writing, Loggy.
This morning, i found out that was unnecessary, turns out PHP’s array_combine() method could’ve got it all covered.
Continue reading “Creating nice JSON strings on PHP”
Ages ago, i have written a blog post about a homework. After a long time, i decided to give another shot to blogging, and start over.
This post is going to be about Vim, the interestingly powerful text editor..
Continue reading “Getting familiar with Vim”