Category Archives: Aura

Symfony Components: Sometimes Decoupled, Sometimes Not

Previously, on decoupling and dependencies, I said: “Some [Symfony] commenters were dissatsifed with my use of unit testing requirements to discover what a package really depends on, as opposed to what its composer.json file states.” I’m willing to allow that … Continue reading

Posted in Aura, PHP, Programming | 27 Comments

On Decoupling and Dependencies: Answering The Critics of Aura’s Approach

“There are no solutions … only trade-offs.” — Thomas Sowell tl;dr: “As a library author it’s tempting to bring in dependencies for various reasons, but as a library user it’s frequently convenient to not have cascading dependency sets. … If … Continue reading

Posted in Aura, PHP, Programming | 20 Comments

New Aura System Release, Including Aura.Framework and Aura.Demo

Late last night we released version 1.0.0-beta4 of the full-stack system, which composes all the independent Aura packages into a coherent framework using the Aura.Framework package in a project skeleton. We have extracted the “hello world” portions into their own … Continue reading

Posted in Aura, PHP, Programming | 8 Comments

Aura.Micro: Experimental Replacement for Silex

Stan Lemon writes on the Aura Project for PHP 5.4+ blog about an experiment he’s trying: I was recently working on a small project that used Silex. As I browsed my vendor folder, I realized how much extra “stuff” I … Continue reading

Posted in Aura, PHP, Programming | 11 Comments

Aura: More Decoupled Than Symfony 2 and Zend Framework 2

The guys at PHPMagazin have posted a followup question about the Aura Project for PHP. Here is our original English conversation. I’d like to follow up on the last point where we talked about other frameworks. I think that the … Continue reading

Posted in Aura, General, PHP, Programming | 43 Comments

How Is Aura Better Than (er, Different From ;-) Than Symfony and Zend?

I did an email interview with the folks at PHP Magazin; their German version is here. What follows is our original email exchange in English. First of all, congratulations for releasing Aura 1.0! Thanks! Most of the packages are at … Continue reading

Posted in Aura, PHP, Programming | 11 Comments

Aura: First 1.0.0 Stable Library Releases!

The Aura Project for PHP 5.4 is happy to announce its first release of 1.0.0 stable library packages. The packages include: Aura.Autoload Aura.Cli Aura.Di Aura.Http Aura.Marshal Aura.Router Aura.Signal Aura.Sql Aura.Uri Aura.View Aura.Web In addition, we have initial beta releases of … Continue reading

Posted in Aura, PHP, Programming | 2 Comments

When Possible, Use File *Resources* Instead Of File *Names*

In testing the Aura.Http package, I have realized that it’s much more flexible, testing wise, to pass around file resources (a.k.a. handles, pointers, or streams) than it is to pass around file names. When you do that, you can use … Continue reading

Posted in Aura, PHP, Programming | 9 Comments

Aura.Router can also be used as a micro-framework dispatcher!

Sometimes you may wish to use Aura as a micro-framework. It’s also possible to assigning anonymous function to controller: <?php $map->add("read", "/blog/read/{:id}{:format}", [ "params" => [ "id" => "(\d+)", "format" => "(\..+)?", ], "values" => [ "controller" => function ($args) … Continue reading

Posted in Aura, PHP, Programming | 1 Comment

Differences in Packaging Approaches: Aura, Symfony2, and ZF2

Looking from outside both Symfony2 and ZF2 is full of standalone components. But the reality is not the same. Though Symfony2 components are split into each components in github, you cannot give a pull request to that component. The tests … Continue reading

Posted in Aura, PHP, Programming | 2 Comments