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

Are you a merge or rebase guy?

Sep/19/2012 5 min read by Marco Monteiro

I know, by now you read almost every tutorial about how to get started with git. You know how to create your repo, add stuff to it and push to your remote. You started branching and everything is now great. Then you read the term Rebase somewhere and think - who wants that? I have Merge.

Well today we talk about the differences between them. Also have in mind that these concepts can be applied to both Git and Mercurial. Merge or Rebase?

Read more

Is it really that bad that Codeigniter has a slow release cycle?

Sep/17/2012 3 min read by Marco Monteiro

In one of our breaks from the discussion “vi vs emacs” on the IRC Codeigniter channel we ended up discussing the slow release cycle of our favorite framework. There were some who didn’t like that about Codeigniter, but fortunately we had some people in the channel that were able to give some good points about the other side. A lot of people don’t like that codeigniter is not in the cool kids group anymore. Well that’s ok, I bet the community using the framework was not using it just because it was cool (if you’re using it for that reason, you’re doing it wrong).

Read more

Yes, you should be using git-flow

Sep/12/2012 5 min read by Marco Monteiro

I’ve been talking a lot about git these days, and I still have a few articles to do about it. With that in mind today I’m here to talk to you a bit about git-flow.

Once again, I’m not here to re-invent the wheel. If someone has good articles about something I’m going to point you there during this process.

Read more