$blog++

Php Archives

Codeigniter wiki was awesome!

Nov/19/2012 2 min read by Marco Monteiro

One of the best things about using Codeigniter is obviously the community and how easy it is to find solutions to your problems. You have a lot of options, the IRC channel, the forums, the awesome documentation and you had the wiki.

Well codeigniter moved all the code from bitbucket to github and that was awesome. However, ElisLab always had their own wiki. People used it a lot, adding libraries, helpers and some good advices on how to do stuff with the framework. The sky was the limit and there was no disturbance in the force.

Read more

Php magic methods - The complete guide

Oct/08/2012 7 min read by Marco Monteiro

PHP has a few ‘magic’ methods that you can use in OOP (Object oriented programming). All of them must be identified with two underscore prefix and they act as interceptors that will run then certain required conditions are met. So as you can see these methods are extremely useful.

Read more

Starting with PHPUnit

Sep/26/2012 3 min read by Marco Monteiro

Last week I told you all about my next set of articles on my blog. My main focus will be PHPUnit and Composer. Not because I’m an expert about the subject, but for the exact opposite — I’m learning as I go. Let’s define “the thing” first.

PHPUnit is the de-facto standard for unit testing in PHP projects. It provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results.

That take us to another subject. Test Driven Development or TDD.

Read more

Starting with composer

Sep/20/2012 3 min read by Marco Monteiro

I’m just getting started with Composer. I’ve been reading a lot about it and I think it’s the way to go. I don’t know many common developers (like me) that are already using it, but I’m going to give it a go. No more Git articles for you. From now on the two main subjects on my blog will be Composer and Unit Testing, since I decided that’s what I’m going to do next. What is this thing called Composer?

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

Read more

My mistress has a name, it's called Laravel

Sep/05/2012 3 min read by Marco Monteiro

That’s right, I finally gave it a go and spent some time with my new mistress. I only played around with it for a few hours and I’m already blogging about it. That’s how cool it is. Laravel is a clean and classy framework for PHP web development. Freeing you from spaghetti code, Laravel helps you create wonderful applications using simple, expressive syntax. Development should be a creative experience that you enjoy, not something that is painful. Enjoy the fresh air.

Read more