How to generate PHP documentation using Sami

Published: Tuesday, January 6th, 2015 by Chris Taylor

Right, so you’ve got a lovely PHP class, lots of fancy functions and you want to release it so that other people can use it. For this you’ve got to write some documentation. As boring as it is, it is incredibly useful if you want anybody to be able to use your code. It also […]

Starting off with NgDocs

Published: Monday, January 5th, 2015 by James Martin

Documenting code is important – if you’re working in a team, it allows colleagues who perhaps weren’t involved in the original development to see what goes where, and even if you’re lone wolf-ing it, it always helps to have a reminder of what a function does. There are plenty of standards for commenting code – […]

Default child states in Angular ui-router

Published: Monday, January 5th, 2015 by Tyler Crammond

Without a doubt the AngularUI Router is one of the most sophisticated routers available for AngularJS. That said, it’s not perfect (yet). It doesn’t currently support the ability to define a default child state of an abstract state (open github issue). It’s probably a fairly specific use case, so it’s understandable. There are some suggestions […]

How to test internal functions of a class

Published: Monday, January 5th, 2015 by Chris Taylor

Using PHPUnit and partial mocks Let’s say you have a super complicated class that has lots of functions that are used to manipulate data or call a third party class or just does something that is repeated thoughout your class so it’s useful to have it as a seperate function. If you’re using a tool […]

The Importance of Setting Definite Aims at PodPea

Published: Monday, January 5th, 2015 by Paul Cotterell

When I started PodPea, it was just me and a computer and no idea where the next pay cheque was coming from. I had no real idea about going into business for myself, let alone self assessment tax returns but I do know a thing or two about building software so that’s what I did […]