Sharing controller logic with traits in PHP

There have been a few times I have come across a situation where I need to share some logic between controllers but it hasn't been as clear cut as abstracting that logic out into a library. I've been pondering the best way to tackle this problem and would like to…

Read this article

Flexi-time - using a flexbox grid to solve common website layout problems

It's a common problem in responsive web development that making elements the same height at all viewport sizes is quite fiddly to do, especially when your elements are dynamically generated. As you clever people know, flexbox solves this problem perfectly by introducing the property of align-items: stretch. Flexbox also solves…

Read this article

User testing

At graze we understand the value of allowing our customers to control and personalise their relationship with us. Perhaps the best example of this is the way we allow our customers to customise their boxes by rating our snacks. This gives us not only the ability to give the user…

Read this article

Unit testing static calls without refactoring the world in PHP

Imagine you have a situation like this in some legacy code: class Bar { public static function doSomethingElse() { return 'Bar Bar Black Sheep'; } } class Foo { public function doSomething() { return Bar::doSomethingElse(); } } Foo is calling the static function on Bar and that method is also used by 50 other classes in the…

Read this article

counting electric sheep

Mulled wine, log fires, Christmas carols... nothing can say "Merry Christmas!" quite like a box forming machine. And we have several heavily modified versions - thanks engineering team, season's greetings. They suck up bits of cardboard and spit out the graze boxes we know and love. How many boxes do…

Read this article

Our approach to unobtrusive javascript

Unobtrusive JavaScript is a way of writing JavaScript so that if for any reason your JavaScript is not working correctly your web page should still perform its core function. There's nothing new about this concept and we certainly didn't invent it but the web team at graze has been working…

Read this article

How to get yourself a job at Silicon Milkroundabout

A recruiter’s tips With Silicon Milkroundabout (SMR) approaching, Hannah Manku, an experienced recruiter here at graze, describes what it is that recruiters remember at networking events and why … “Networking gets you to meet real people, rather than speaking through a screen or looking at a piece of paper...” Razel…

Read this article

How to network your way to work

One candidate's experience of Silicon Milkroundabout... In today’s post, Razel Villanueva, Interaction Designer, explains how she networked her way into graze at Silicon Milkroundabout May 2014… “It’s not that there is a lack of jobs in the market, the difficulty lies in finding a career that matches your…

Read this article

secure snacking – switching to https everywhere

As a pioneering online business, we need to lead the way in terms of ensuring our user's privacy and protecting their data. We enabled encryption for all traffic to the graze.com domain back in July. With this update we also turned on the Secure and HttpOnly flags for our…

Read this article

a history of graze, by google

Being the fast growth exciting technology company that we are, Google wanted to feature us as a case study for Apps for Work... who were we to argue? In doing so they helped us create this amazing infographic that shows some of the key tech landmarks in our history. Thanks…

Read this article

first iPhone 6 spotted at graze

Mica, head of data. Bigger than bigger.…

Read this article

The #geekTogether - takeaways

If you're interested in how the #geekTogether went then you might want to read Mica's review of it, guest blogging at IDG: http://www.idgconnect.com/abstract/8677/-geektogether-data-takeaways In short it was a great success, had great panel led conversation and revealed some very interesting trends. Huge congratulations and…

Read this article

Data experts descend on London for graze.com #geektogether

We're really excited about the #geekTogether event that we're hosting in London tonight and wanted to share the official press release - see you tonight! Innovative healthier snacking company hosts ‘Silicon Valley’ style knowledge sharing event. LONDON, July 30, 2014 – graze.com – the direct to consumer healthier snacking company – is…

Read this article

the graze data #geekTogether

Here at graze we are obsessed with continuously evolving, we use data in innovative ways to offer customers the best products and a unique customer experience. One of the data team’s New Year’s resolutions was to meet other like-minded data driven companies and learn how they use data…

Read this article

supervising the unsupervisable

As systems scale and react to growing user numbers, the way you use and transform your data changes. You'll probably build towards a system that works around processing queues, batch processing within daemons and pools of workers. There are many languages that are designed with this in mind, but in…

Read this article

ceo on technology at graze

Take a look around graze HQ in Richmond! via brrmedia…

Read this article

my first week in graze tech

Hi there, I'm Sam, the latest graduate hire and part of the web team here at graze. I'm a computer science graduate from Brunel University and have previously worked with PHP when developing a couple of side projects outside of my studies. My application to graze started by applying to…

Read this article

graze is coming to silicon milkroundabout

We're looking forward to Silicon Milkroundabout next week and hoping lots of you come along to chat to us. It's at the Old Truman Brewery in Shoreditch, London on the 10-11 May. If you're looking to begin your career in a great, and growing tech team, or if you're looking…

Read this article

our favourite animated gifs

Here in the graze tech team we use hipchat to share interesting articles and engage in hilarious banter. We are big fans of using animated gifs in response to stupid questions and to settle arguments. Here are a selection of our favorites. Alan partridge eye roll Alan Partidge is popular…

Read this article

the graze css framework

In the graze web team we pride ourselves on being able to rapidly develop new features in response to our customer and business needs but that rapid pace of development has sometimes come with a bit of associated baggage. Graze used to have a separate mobile site that over time…

Read this article