7 simple rules of conduct for software developers

I often refer to the adaptation of the boy scout rule for software development which says that as a software developer you should aim to ”always check a module in cleaner than when you checked it out” . Continuing to be inspired by the boy scouts and their scout law, here are 7 simple rules that every software […]

How to create a structured .gitignore file

If you are working with git as your version control system on your projects then you are probably aware of the .gitignore file. Not heard about the .gitignore file before? Then I recommend to read up on what the .gitignore file does! Most often the .gitignore file organically grows beyond control as the project evolves […]

WordPress Themes vs Plugins and the single responsibility principle

Have you every thought about what should go into a WordPress theme and what should go into a WordPress plugin? This is a question that I for sometime have been thinking reading about. The WordPress codex has the following definitions: ”Fundamentally, the WordPress Theme system is a way to ”skin” your weblog. Yet, it is more than just a […]

Do you have a good flow in GIT?

I have previously talked about a successful git branching model by Vincent Driessen which I find to be very useful as starting point for creating a branching model that fits your needs. Now there is a cool little tool called gitflow which is a collection of Git extensions to provide high-level repository operations that match the […]

How to install PEAR on Mac OS X

Needing to use PEAR I stumbled upon a simple tutorial to install PEAR on Mac OS X by Jason McCreary. Simply follow the three steps and you’ll be up and running! Download PEAR Configure and Install PEAR Verify PEAR Download Run the following bash commands curl -O http://pear.php.net/go-pear.phar sudo php -d detect_unicode=0 go-pear.pharcurl -O http://pear.php.net/go-pear.phar sudo […]

Creating a single file WordPress plugin in 2 steps

To create a single file plugin in WordPress is really simple. Following the steps below should leave you with a single file plugin that is ready to be filled with valuable functionality. Create a new PHP file with a name derived from your chosen Plugin name and store it in the wp-content/plugins directory, e.g. ”wp-content/plugins/FooBar.php”. […]

4 core company statements for your business

Do you run a business? If so, there are 4 statements that you should be aware of and preferably have defined for your business. These statements are… the vision statement, a description of what your organization wants to become the mission statement, a description of why your organization currently exists a statement of values, a description of core […]