News Feed
Sections




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

PHPMaster.com:
Aura.Web Aura's Page Controller for MVC
June 05, 2013 @ 09:58:42

On PHPMaster.com today Hari K T has spotlighted one of the components from the Aura framework, the Aura.Web component.

MVC is an acronym that means Model-View-Controller. In this tutorial I would like to introduce you to Aura.Web, the controller component of the Aura Library. Here I'll show you how to use it to build your own controller, and also how to use a response transfer object to issue HTTP response headers, and integrate a templating engine like Mustache for rendering views.

He starts off with an overview of how the component is architected and how it is used to create controllers and what dependencies it needs injected. He talks about some of the objects and the methods they provide and includes some sample code for a basic "Index" controller. He shows how to integrate the Mustache templating engine for output and how to work directly with HTTP responses.

0 comments voice your opinion now!
auraweb aura framework page controller mvc tutorial introduction

Link: http://phpmaster.com/aura-web-auras-page-controller-for-mvc

blog comments powered by Disqus

Similar Posts

Brandon Savage: Private Methods Considered Harmful ("Do This, Not That" Excerpt)

The Bakery: Basic User Authentication in (CakePHP) 1.2.x

Chris Hartjes' Blog: Fat Models, Skinny Controllers

Ade Slade's Blog: Implementing Twitter sign-in with Silex and PHP

DevShed: An Introduction to the Observer Pattern in PHP


Community Events





Don't see your event here?
Let us know!


install update introduction series framework voicesoftheelephpant version library composer language podcast security community tool laravel package interview symfony opinion release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework