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

Richard Thomas' Blog: Solar Framework Shorts - Basic Sql Profiling

AppBackr Blog: Automated PHP unit testing for lazy coders

php|architect: Ext4Yii, bridging PHP and JavaScript frameworks together

OpenShift Blog: Getting started with PHP, CodeIgniter, MongoDB, and the cloud (OpenShift)

DevShed: Using the Clone Magic Function in PHP 5


Community Events

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


community security introduction series unittest library opinion voicesoftheelephpant framework symfony release extension podcast threedevsandamaybe interview laravel api version language laravel5

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