260 likes | 364 Vues
Presented By: Jacob Taylor Robert Ebelherr Patrick Healey Muminur Rahman. Codeigniter. Outline. What is Codeigniter ? Features Structure Is Codeignighter Right for You? Demo References. What is Codeigniter. Codeigniter is a PHP framework for web development.
E N D
Presented By: Jacob Taylor Robert Ebelherr Patrick Healey MuminurRahman Codeigniter
Outline • What is Codeigniter? • Features • Structure • Is Codeignighter Right for You? • Demo • References
What is Codeigniter • Codeigniter is a PHP framework for web development. • Released in Feburary 2006 • Developed by EllisLab, Inc. • Open source • Cross Platform
Who Uses Codeigniter? • Web Developers • Small Businesses • Event Websites
Features • Libraries • Plugins • Help Functions • Security
Libraries/Plugins • Create your own libraries • Extend native libraries • Replace native libraries • Example Libraries • Google Maps API • PayPal • GitHub • Twitter • Plugins work almost exactly like helpers
Help Functions • URL Helpers • assist in creating links • Text Helpers • various text formatting • File Helper • assists in file management
Security • Secure URI(Uniform Resource Identifier) • Resets all the global variables except post get and cookie array • XSS filtering cross site scripting filtering • Built-in form validating class
Structure • Codeigniter follows the Model View Control design principle • 4 Main Folders: • Model • View • Controller • Config
Model Folder • Represents Data Structures • Contains PHP Classes that are designed to work with the backend. • Databases supported are MySQL, MS SQL, Oracle, Postgres, SQ Lite, and ODBC
View Folder • What the Users Sees • Normally a Webpage • Files in view can only be triggered by control
Controller Folder • Intermediary folder • Links model, view, and any other resources needed
Config Folder • Contains Configuration Settings • config.php • Security • database.php • Connection options for database • autoload.php • Manages libraries, packages, and helpers
Is Codeigniter Right for You? • Pros • Performance • Good Documentation • Large Community • Open Source • Support • Small Footprint • Cons • Learning Curve • Doesn’t Auto Update • Is not Backward Compatible • Can’t Modify the Framework
Summary • PHP Framework • Performance/Security • Small Footprint • Plugins: • Create/extend libraries • Paypal, Github, Google API • Structure: • Model, View, Controller • CI_Controller extends every controller class!
Thank You For Your Kind Attention • Questions and comments welcome! • Statistics from • http://trends.builtwith.com/framework/CodeIgniter • An easy introduction to Codeigniter • http://www.sitepoint.com/an-introduction-to-codeigniter/ • Websites built with Codeigniter: • http://www.sprintcenter.com/ • http://www.orpheum-memphis.com/ • http://www.attcenter.com/ • http://www.targetcenter.com/