SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
Learn how developing with the Lithium framework for PHP 5.3+ not only allows you to develop applications on tighter deadlines, but how Lithium's unique, superior architecture allows much-improved maintainability over the life of your apps.
Learn how developing with the Lithium framework for PHP 5.3+ not only allows you to develop applications on tighter deadlines, but how Lithium's unique, superior architecture allows much-improved maintainability over the life of your apps.
$ li3 create Photos Photos
created in appmodels. PhotosController created in appcontrollers. PhotosTest created in apptestscasesmodels. PhotosControllerTest created in apptestscasescontrollers.
photoblog/config/bootstrap.php /** * This file
contains configurations for handling different * content types within the framework, including converting data to * and from different formats, and handling static media assets. */ require __DIR__ . '/bootstrap/media.php'; photoblog/config/bootstrap/media.php Media::type('jpg', 'image/jpeg', array( 'cast' => false, 'encode' => function($data) { return $data['photo']->file->getBytes(); } ));