Using Ionic to generate icons and splash screens for Cordova projects

Published: Wednesday, April 22nd, 2015 by Tyler Crammond

It can be a little tedious to produce icons and splash screen assets for your app across multiple platforms and screen sizes. Fortunately, the Ionic Framework‘s CLI provides a handy little command to to generate a lot of these for you. Even if you don’t use the Ionic framework in your project, you should still be able […]

Improving efficiency on Linux with bash scripts and alias commands

Published: Tuesday, March 10th, 2015 by Chris Taylor

Something that I use in my day-to-day development routine is alias commands on Linux. These are a shorthand way of expressing multiple or complex bash commands in your terminal to help with efficiency. At the moment we are developing an application with AngularJS, it communicates with a RESTful API that I spend most of my […]

Quite often when testing some functionality, you’ll want to scroll the page you’re looking at – particularly in Protractor, which yells at you if you try and interact with an element that isn’t physically inside of the viewport. In this example, I am using jQuery, but feel free to use vanilla Javascript if you’re that […]

Setting up Grunt to compile SASS

Published: Wednesday, February 25th, 2015 by Tyler Crammond

We use Grunt for all sorts of things at PodPea; from building projects on multiple platforms to bulk image compression. If you’re not familiar with Grunt, it’s an automated task runner with an extensive ecosystem; I recommend checking out their site here. In this post I’m going to quickly run over how to set up […]

How to test Controllers using PHPUnit

Published: Wednesday, February 4th, 2015 by Chris Taylor

This is a quick post to show you how I write and test Controllers, although it may not be to a correct standard, the testing principles can be applied to any project. A Controller can be used to direct requests into the correct parts of your application. They can coordinate data from Repositories, Services and […]

An Introduction to Yeoman

Published: Friday, January 30th, 2015 by Tyler Crammond

Yeoman is a command-line tool for setting up new projects and speeding up your development workflow. We’ve been using it for a few months now at PodPea and it’s proved invaluable. If you’ve never heard of or at least not used Yeoman before, I hope this very basic example will help demonstrate the kind of thing […]

How to set up an Apache virtual host on Linux

Published: Wednesday, January 28th, 2015 by Chris Taylor

This is a quick and easy post to show you how to set up a virtual host on your local machine for web development. So let’s say that you’ve got fancy new-age web app using AngularJS or the like, and you want to set up a proper development environment on your local machine. For this […]

Our favourite way to structure AngularJS project

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

I touched on this in my previous blog post, but I thought it might be worth while explaining a few of the common ways to structure AngularJS applications, and the explain why we like the one we do. Simple If you’re coming from, say, a PHP background, you may decide to organise your files by […]

What’s awesome about cg-angular

Published: Friday, January 23rd, 2015 by James Martin

For our most recent AngularJS project, we’re using Yo to generate the files. This is really common practice for Angular apps, and Yo is a fantastic tool for helping to keep your code organised. We tried a few generators before we settled on cg-angular. The standard angulat-generator was alright, but it doesn’t support ui-router, which […]

Speeding up coding with Live Templates in WebStorm

Published: Tuesday, January 20th, 2015 by Tyler Crammond

There’s a feature commonly called “snippets” or “templates” in most modern IDEs or text editors that allows you to save a small block of frequently used code and type a shortcut to insert it into a file. I use the Jetbrains WebStorm IDE for coding in Javascript and recently started using an increasing number of […]