Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Hari KT:
Conduit : The Middleware for PHP
Jan 22, 2015 @ 16:22:16

In his latest post Hari KT looks at Conduit, a middleware system that lets you build PHP applications out of various pieces (the middleware) according to the PSR-7 specification (for HTTP messaging).

Long back, I happened to talk with Beau Simensen about stackphp on #auraphp channel. It was hard for me to digest when I noticed it need symfony/http-kernel and its dependencies. After a few months, I started to like the middleware approach of slim framework and wanted to push it to aura. But nothing happened there. Conduit is a Middleware for PHP built by Matthew Weier O’Phinney lead of Zend framework. Conduit supports the current PSR-7 proposal. I believe like the many PSR’s, PSR-7 will be a revolution in the PHP world. Conduit is really a micro framework and can grow with your project.

Hari walks you through getting the tool installed and includes an example route that just echoes "Hello conduit!"back to the user. With that in place, he shows how to add in some middlewares, chosing the Aura router and dispatcher for more complex route handling, and integrating them into a simple controller/action microframework structure.

tagged: conduit middleware psr7 proposal mwop tutorial auraframework

Link: http://harikt.com/blog/2015/01/21/conduit-middleware-for-php/

Hari K T:
The Book on Aura
Jul 09, 2013 @ 16:17:48

Hari K T, one of the main developers involved with the Aura framework project, has started writing a book about the framework and its use.

There has been lot of requests to show how the individual packages in aura, can be made use inside the framework. So today I am happy to announce that there is a work in progress to make the framework documentation better. I have already started the work on the same.

He already has some sample chapters online and some example code based on the concepts. If you're interested in the book or the framework and want to put your two cents in, consider joining the Aura Google Group and giving your feedback.

tagged: book auraframework example googlegroup

Link: http://harikt.com/blog/2013/07/09/the-book-on-aura/


Trending Topics: