The Virtual Proxy Pattern

by Adam Wathan on May 13, 2014

When I was working on the relationship component of Faktory, I ran into a problem where telling a relationship to use a factory that wasn’t defined until later would blow everything up.

Faktory::define(['comment_with_post', 'Comment'], function($f) {
    $f->body = "Probably the greatest comment ever made.";
    $f->post = $f->belongsTo('post');

Faktory::define(['post', 'Post'], function($f) {
    $f->title = "My first post";
    $f->body = "Lorem ipsum dolor sit amet";

It would be annoying to have to define all of your factories in a carefully controlled order, so I needed to figure out a way to defer the loading of a factory until the relationship was actually being generated.

Continue Reading »

Introducing Faktory 0.1

by Adam Wathan on May 6, 2014

Today we’re excited to announce the first release of Faktory.

Faktory is a library for easily setting up Eloquent models for your tests. It allows you to define reusable recipes for building your objects so that they always pass validation, while letting you override any properties that actually matter for what you’re testing.

Continue Reading »

There’s a model hiding in your REST API

by Adam Wathan on April 11, 2014

REST is a great standard, but sometimes you need an endpoint that breaks convention.

Continue Reading »

Vehikl for change

by vehikl on April 2, 2014

Excerpt from :

Giving startups and enterprise customers the vehicle to take their ideas and move them into full-scale applications is the goal of a Waterloo-based tech company.

Even the company’s name reflects putting those applications in motion after the founders called it Vehikl. It also a mashup of the names of veteran tech entrepreneurs who are involved with the business that grew out of Chrome Media — Chris Keithlin, Grant Lovell and Paul Veldman.

Continue reading Bob Vrbanac’s coverage on the Waterloo Chronicle

Tech Community User Groups

by Caryn Humphreys on February 27, 2014

When working in the tech community you can often find yourself working in a silo. While immersing yourself in your discipline is necessary for domain knowledge, to truly work toward explicit expertise, your best bet is talking to others within the same discipline who can help illustrate what you don’t know you don’t know.

User Groups are where developers or designers meet to discuss common interests within specific disciplines; taking advantage of the benefits of peer learning while also maintaining valuable network relationships.

Continue Reading »