introduction to codeigniter
DESCRIPTION
Presentation on PHP Frameworks and CodeIgniter, given at Refresh Cambridge, October 3rd 2007TRANSCRIPT
![Page 1: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/1.jpg)
Introduction to CodeIgniter
Refresh Cambridge, October 3rd 2007
![Page 2: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/2.jpg)
![Page 3: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/3.jpg)
How you first started building websites?
![Page 4: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/4.jpg)
How you’re building websites now?
![Page 5: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/5.jpg)
How you build websites with a framework
![Page 6: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/6.jpg)
PHP Frameworks
• Codify your application structure
• Provide solutions to common problems
• Abstract levels of functionality
• Make rapid development easier
![Page 7: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/7.jpg)
How do I choose the right framework?
• Made by the people who make PHP!
• Fastest
• Lots of features
• PHP5 only
• Complex
• In beta
• Most features
• Slowest
• Modularised
• PHP5 only
• Closest to Ruby on Rails
• Very active community
• Large codebase of plugins and components – Ajax, Auth, etc.
• Made by ExpressionEngine
• Doesn’t enforce strong MVC patterns
• Easier to learn
• Very fast
Others: Seagull, WACT, Prado, TRAX, ZooP, eZ Components
http://www.phpit.net/article/ten-different-php-frameworks/
![Page 8: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/8.jpg)
CodeIgniter Process Flow
![Page 9: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/9.jpg)
Demonstration!
![Page 10: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/10.jpg)
Classes
Benchmarking CalendaringDatabase EmailEncryption File UploadingFTP HTML TableImage Manipulation Input and SecurityPagination SessionTrackback Template ParserUnit Testing URIUser Agent Validation
![Page 11: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/11.jpg)
Helpers
Array CookieDate DownloadFile FormHTML SecuritySmiley StringText TypographyURL XML
![Page 12: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/12.jpg)
Plugins and Extensions
You can create your own Plugins
You can extend the core Classes to add your own functionality
![Page 13: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/13.jpg)
Support and Community
Most clearly documented User Guide of any framework
Wiki with content contributed by the development community
Active community forums, moderated by staff
![Page 14: Introduction to CodeIgniter](https://reader035.vdocuments.us/reader035/viewer/2022081413/5491997cb4795918048b45ff/html5/thumbnails/14.jpg)
Any questions?