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:
Explore Aspect Oriented Programming with CodeIgniter, Part 2
August 20, 2012 @ 09:13:36

In this new post to PHPMaster.com they continue their look at aspect-oriented programming with CodeIgniter. In part one they introduced some of the fundamentals of AOP and in this new article, they dig deeper with more practical examples.

In the previous part of this series we learned what Aspect Oriented Programming (AOP) is and the meaning of important AOP terminology. In this part I'll explain why we need AOP using practical examples and how to add AOP behavior to your PHP application using the CodeIgniter framework.

They start with a look at a few pieces of functionality that could cut across multiple parts of the application like logging or authentication/authorization. They show how to use the "hooks" feature of CodeIgniter to implement the AOP proxy class generation, executing pre- and post-controller.

0 comments voice your opinion now!
aspectoriented programming tutorial codeigniter framework practical


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Creating Code Coverage Statistics with xdebug

Rob Allen: Simple logging of ZF2 exceptions

WebReference.com: Class Inheritance with PHP

Till Klampaeckel's Blog: So you'd like to migrate from MySQL to CouchDB? - Part II

Chris Hartjes' Blog: How Not to Suck at PHP


Community Events





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


list install series threedevsandamaybe release api podcast interview introduction framework symfony2 unittest community language opinion developer laravel testing refactor code

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