Purchase Digital Issue: $6

Subscribe Today:

Digital Edition

Get 12 issues in PDF, ePub, and Mobi format with our digital subscription for only $49/year. Subscribe Digital Edition
1 year / $49

Print + Digital

Or get 12 issues printed and shipped to you as well as the digital copies for just $119/year. Subscribe Print + Digital
1 year / $119

Business

At a business and want multiple print copies to share around the office? Choose the number you want and we'll custom calculate a price for you:

php|architect — May 2013

Get this month’s code package: May 2013 Code package

Getting Started Writing Your Own Micro-framework

Building frameworks is about understanding design patterns and how they are applied together to solve common problems. There are many different ways to design a framework. By understanding and applying some common design patterns, you will be better prepared to make your own decisions whether you are building your own or evaluating an existing solution. –by Ron Dobley

Cleared for Takeoff: Getting Off the Ground with Flight

Flight is a very lean micro-framework for PHP 5.3 and newer. Built for speed and simplicity, Flight is lightweight, yet has the basic elements needed for development of APIs and other similar applications. Flight is also extensible for those users who want to pack it with more features and power. This article is an in-depth look at Flight with some basic tutorials for getting projects up and running with ease. –by Andrew Podner

Learning How to Learn

As developers, we are constantly faced with new things to learn. New versions of languages, new tooling, new best practices, and so on. How do you cope with it all? In this article, I’ll get a bit “meta” and talk about learning how to learn. We like our code to be efficient, so why shouldn’t our learning be efficient as well? –by Joel Clermont

Avoiding System Dependency by Decoupling Your Dev Environment

Avoiding system dependencies is a key aspect of life when developing PHP projects that live in a shared hosting environment. The key is to avoid any extras that a standard host would be reluctant to support or that is even outside of the default configuration. It’s a hard lesson learned many times over by young PHP developers prior to being scooped up by an enterprise team, exposing them to the joys and peril of legacy code. –by Jacques Woodcock

Education Station: Simple HTTP Clients with Guzzle

Welcome to another edition of Education Station. In this (and next) month’s editions, I want to give you an introduction to a gem of a library; one that makes building versatile HTTP clients a veritable breeze. –by Matthew Setter

finally{}: Open Acceptance in Open Source

I’d like to continue on the thread from my article last month about making sure that we, as a community, don’t discourage new programmers. Last month, I discussed discouraging newcomers by trying to state that they had to ‘learn everything at once’. This month, I’d like to address another issue. –by Eli White

Editorial: Who Needs Frameworks?

The title alone may get me some hate mail, but anyone who has discussed frameworks with me knows that I’m not shy about saying that I really don’t have a use for them. –by Beth Tucker Long

Responses and Pingbacks

I’m really surprised at the micro framework article. Passing data from the controller to the view breaks the MVC pattern; maybe the author is thinking of a variation of MVC? Using singletons and static methods are generally discouraged. The whole approach seems way more complicated than it has to be, especially for a micro framework, for example the autoloader code doesn’t need to be anywhere near 70 lines long even with comments. There are code discrepancies such as $this->viewData VS $this->view…

I understand it’s not going to be perfect as it is more targeted towards beginners, but this is just ridiculous.

 

[...] So come check out the May 2013 issue of php|architect. [...]

 

Leave a comment

Use the form below to leave a comment: