codebar - june 2017

On June 13th we were proud to host our third codebar event at graze. codebar is a non-profit initiative with a very important purpose: Our goal is to enable underrepresented people to learn programming in a safe and collaborative environment and expand their career opportunities. To achieve this we run…

Read this article

morphism

Last week we open sourced morphism, a tool for working with MySQL databases. This was previously an internal tool but is now available for everyone to use. This tool has two main areas of functionality: parsing, extracting and diffing MySQL dump files. easily migrating schema structure from one version to…

Read this article

Go at graze

At graze we have historically been predominantly a user of the LAMP stack but on occasion we venture away from this and work with other technologies when we have a project which has specific requirements or we are in a position to experiment. Go is an example of one of…

Read this article

AWS hack day with Rackspace

We partner with Rackspace to manage our production infrastructure on AWS. We've been running regular hack days recently and thought it'd be good to take a day out of shipping code to work with Rackspace on a hack day to play with some of the new beta tools that AWS…

Read this article

We're hiring!

We're hiring for a number of entry-level positions in the graze tech team! You’ll be working closely with the data and digital product teams on scoping, designing and delivering projects that add value to the technology platform and further its ability to support graze in the long-term. You could…

Read this article

My First Week at graze

Hello, I’m James. I am the newest member of the graze technology team. I graduated from Durham University in 2013 with a degree in Computer Science. Before working at graze I was a web and iOS developer at a startup in London. I particularly enjoy working with frameworks such…

Read this article

Flexible and scalable infrastructure with AWS

"With AWS we have better access to data, we're more agile, and we can get feedback on product performance in days compared to six months for a large food manufacturer." Edd Read, CTO. A graze case study, by AWS…

Read this article

Pistachio: From style guide to front end framework

Graze’s Web team has grown enormously over the last three years. As front-end teams become larger, the need for a pattern library becomes increasingly clearer. We realise that now, but our initial plan was somewhat different. In June 2015 we believed that the solution to our design woes was…

Read this article

Pistachio - our new front end framework

It's an exciting time for the graze web team as we're expanding into new territories such as a dedicated support site and a more traditional e-commerce site. Our subscription site is also constantly being iterated and refined to improve the user experience. We decided to dedicate some time to build…

Read this article

Silicon Milkroundabout, this weekend

We hope to see you at Silicon Milkroundabout this weekend. We'll be there on Saturday to hire for product and marketing roles and Sunday for tech. It's at the Old Truman Brewery in Shoreditch, London. We're hiring for a Senior Data Analyst, Full Stack Developers, Magento Developers, UX Designers and…

Read this article

testing docker images with bats

The Bash Automated Testing System (Bats) is a testing framework for Bash I came across recently, in use by the amazing Apline Linux Docker images. It provides a simple way to verify that the UNIX programs you write behave as expected. A Bats test file is a Bash script with…

Read this article

docker pull graze/composer

We've just released a public Docker image for composer, a popular dependency management tool for PHP. Get it now with docker pull graze/composer, or check it out on the Docker Hub. To share cache and authentication with your host you can use the following configuration: ~$ docker run --rm -it…

Read this article

Codebar - Jan 2016

On January 12th we hosted our second codebar event. For those that don't know... codebar is a non-profit initiative that facilitates the growth of a diverse tech community by running regular programming workshops. People can register as students or coaches and learn something new with the help of volunteer coaches.…

Read this article

graze formatter

Yesterday we open-sourced a new library, graze/formatter. It's a pattern we've used extensively in our web application for more than a year now, and it's no coincidence that we started implementing it during our migration to the twig templating engine. Previously we passed our legacy templating engine our active…

Read this article

Silex Routing and Trailing Slashes

Silex treats a route like /profile/1 as a different resource to /profile/1/, nothing wrong with that. However, when using controller providers, root level routes for that controller are mounted with a trailing slash, which leads to potentially undesired behaviour. For example: class ProfileControllerProvider implements ControllerProviderInterface { public function connect(…

Read this article

Python as a PHP Developer

The majority of the code I’ve written in my 3 and a half years of professional software development has been PHP. Recently I built my first Python web application for a REST JSON API. I thought I’d share my first experience of Python from the perspective of someone…

Read this article

We'll see you at Silicon Milkroundabout

We're looking forward to Silicon Milkroundabout next weekend. We'll be there on Sunday 15th November at the Old Truman Brewery in Shoreditch, London. We're hiring for PHP developers, front end developers and data analysts to work on our custom built logistics and manufacturing systems, our data warehouse, our customer service…

Read this article

composer, alternative repositories and numeric branch names

Sometimes with composer you'll want to point to a repository other than packagist. At graze, a common use of this is to include a private project in an application. Composer facilitates this through the "repositories" directive - "repositories": [ { "type": "vcs", "url": "https://github.com/graze/top-secret-private-package.git" } ] Including top-secret-private-package at…

Read this article

PHP London Meetup

We were delighted to be able to sponsor last night's PHP London meetup. There were free drinks and snacks-a-plenty, plus an excellent talk from Sam Burns on 'Choosing and Using a REST Framework'. REST APIs are increasingly important as the development community moves towards SOA and externalising services, and choosing…

Read this article

Easily create slideshow presentations from markdown with remark.js

Remark.js is a web based slideshow with some great features that is comparable to powerpoint or google slides except you can write your presentations entirely in markdown. You can see a demo of remark.js in action here and when checking it out, be sure to press p to…

Read this article