Your SlideShare is downloading. ×
CodeIgniter
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

CodeIgniter

1,971
views

Published on

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,971
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
101
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. CodeIgniter - A Fully Baked PHP Framework Pradip Kharbuja (551212591) College for Professional Studies M.Sc.(IT) 4th Sem 25th November, 2013
  • 2. Overview  Welcome to CodeIgniter (CI)  Application Flow Chart  CodeIgniter is Right for You if…  Controllers  CodeIgniter at a Glance  Views  Design and Architectural Goals  Models  CodeIgniter Features  Reserved Names  Model-View-Controller
  • 3. Welcome to CodeIgniter (CI)  CodeIgniter is an Application Development Framework for people who build web sites using PHP.  CodeIgniter is a powerful PHP framework with a very small footprint.  It is powering the next generation of web apps.  Its goal is to enable you to develop projects much faster than from scratch.  CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.
  • 4. CodeIgniter is Right for You if…  You want a framework with a small footprint.  You need clear, thorough documentation.  You prefer nearly zero configuration.  You don't want to adhere to restrictive coding rules.  You don't want to learn another template language.  You prefer simple solutions to complexity.
  • 5. CodeIgniter at a Glance  CodeIgniter is Free  CodeIgniter is Light Weight & Fast  CodeIgniter Uses M-V-C  CodeIgniter Generates Clean URLs  CodeIgniter is Extensible  CodeIgniter is Thoroughly Documented  CodeIgniter has a Friendly Community of Users
  • 6. Design and Architectural Goals  maximum performance  capability  flexibility in the smallest, lightest possible package.
  • 7. CodeIgniter Features  Model-View-Controller Based System  Pagination  Extremely Light Weight  Data Encryption  Full Featured database classes with support for several platforms.  Error Logging  Form and Data Validation  Template Engine Class  Security and XSS Filtering  Unit Testing Class  Session Management  Search-engine Friendly URLs  Email Sending Class  Flexible URI Routing  Image Manipulation Library  Support for Hooks and Class Extensions  File Uploading Class  Large library of "helper" functions  Calendar Class
  • 8. Model-View-Controller
  • 9. Application Flow Chart
  • 10. Controllers  A Controller is simply a class file that is named in a way that can be associated with a URI.  e.g. example.com/index.php/blog/
  • 11. Views  A view is simply a web page, or a page fragment, like a header, footer, sidebar, etc.  Views are never called directly, they must be loaded by a controller.  e.g. $this->load->view('view_name');  CodeIgniter can intelligently handle multiple calls to load multiple views.  CodeIgniter can also return views as data.  e.g. $string = $this->load->view('myfile', '', true);
  • 12. Models  Models are PHP classes that are designed to work with information in your database.  A model class contains functions to insert, update, and retrieve data.
  • 13. Reserved Names  Controller names  Functions  Variables 1. Controller 1. is_really_writable() 1. $config 2. CI_Base 2. load_class() 2. $mimes 3. _ci_initialize 3. get_config() 3. $lang 4. Default 4. show_error() 5. index 5. show_404()  Constants 6. log_message() 1. ENVIRONMENT 7. get_instance() 2. CI_VERSION
  • 14. References • http://ellislab.com/codeigniter • http://stackoverflow.com/questions/1618065/what-is-meaning-of-smallfootprint-in-terms-of-programming • http://ellislab.com/forums/
  • 15. Any Questions ? CodeIgniter Thank you! http://ellislab.com/codeigniter/user-guide/