PHP has ORM, maven, unit testing, Jenkins! ..

There was I missing the Java goodness while working in PHP, but it seems no worry. Looking at Propel for Object Relational Mapping (finding doing it by hand a bit tedious) I find they have a Jenkins site, they have unit test, their build commands look like Maven. I don’t know how complete it is, but this does make PHP look a bit easier to work with.

Because I use git to manage my development I’m installing it as a submodule

git submodule add Shared/vendor/propel
cd myWebSite/lib
mkdir propel
ln -s ../../Shared/vendor/propel/runtime propel/runtime

I’ll then push my work to my Git repository on my ISP and use

git submodule init
git submodule update

According to the Git Book this pins my copy of the submodule to a specific release, which is good as it won’t change on me. I’d have to go back to the Git Book when I want to change this.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.