SlideShare a Scribd company logo
Codeigniter
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
MIDHUNSUDHAKAR
midhusudhakaran@gmail.com
Midhun.sudhakar.73@facebook.com
twitter.com/midhunopus
in.linkedin.com/pub/midhunsudhakar/86/a65/a9b/Phonenumber
9995586182
CODEIGNITER
CONTENT
Introduction to CodeIgniter
•Open source PHP web application framework
•Rapid development
•Provides logical structure , reusable interface
Why should i use a framework
• Code and File Organization
• Utilities and Libraries
• The MVC Pattern
• Security
• Less Code & Faster development
• Performance Tools
• Suitable for Teamwork
Folder structure in codeIgniter
•This folder contain number of
configuration files.
they are: config.php
autoload.php
database.php
routes.php
Config.php
URL to your CodeIgniter root
ex: 'http://127.0.0.1/shop_automation/';
If u want to use session you set
something in it.
name you want for the session
lifetime of the session
to expire session on browser close
autoload.php
specifies which systems should be loaded by default.
These are the classes located in the system
Auto-load Helper Files
database.php
contain the settings needed to access your database.
routes.php
This file lets you re-map URI requests to specific controller
indicates which controller
class should be loaded
folder structure in codeIgniter
•It is a class file
•That controls and co-ordinates
view and model.
folder structure in codeIgniter
•Model is also class which
handles database operations.
folder structure in codeIgniter
•Its a web page called by
controller
folder structure in codeIgniter
•It contain all the helper and
libraries located.
CodeIgniter URLs
•URLs in CodeIgniter are designed to be search-
engine and human friendly.
•CodeIgniter uses a segment-based approach
ex:example.com/news/article/my_article
URI Segments
•The segments in the URL, in following with the
Model-View-Controller approach
usually represent : example.com/class/function/ID
1. represents the controller class
2. represents the class function, or method
3. any additional segments, represent the ID and any
variables
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
Contact Us

More Related Content

PDF
MySQL Developer Training in Bangalore Classroom, Online
PPTX
Web Content Management With Share Point
PDF
The Inverted Funnel of API Documentation
PDF
Dev Learn Handout - Session 604
PDF
Coursera Developing API with GCP Apigee API Platform
PPT
LINQPad - utility Tool
PDF
Arpit jain resume main
PDF
Final year internship presentation
MySQL Developer Training in Bangalore Classroom, Online
Web Content Management With Share Point
The Inverted Funnel of API Documentation
Dev Learn Handout - Session 604
Coursera Developing API with GCP Apigee API Platform
LINQPad - utility Tool
Arpit jain resume main
Final year internship presentation

What's hot (6)

PPTX
Additional skill development program pk cics
DOC
priyanka chauhan final resume
PDF
Portfolio - Muhamad Imam - 2014
PDF
The Best MS Sharepoint 2013 Development in Bangalore
PPTX
Cardiff University FTS presentation 2011 (MS Word plug in)
Additional skill development program pk cics
priyanka chauhan final resume
Portfolio - Muhamad Imam - 2014
The Best MS Sharepoint 2013 Development in Bangalore
Cardiff University FTS presentation 2011 (MS Word plug in)
Ad

Viewers also liked (17)

Ad

Similar to Codeigniter (20)

PPTX
Codeigniter
PPTX
PPT
Introduction To CodeIgniter
PPT
Codeigniter
PDF
Codeigniter
PPTX
Seminar.pptx
PPTX
CODE IGNITER
PDF
Benefits and Features of CodeIgniter.pdf
DOCX
Codeigniter
PPT
Introduction To Code Igniter
PPT
Benefits of the CodeIgniter Framework
PDF
Introduction To CodeIgniter
PPTX
CodeIgniter & MVC
PPTX
CodeIgniter
PDF
CodeIgniter Website Development a Comprehensive Guide 2024 .pdf
PPT
Code igniter overview
PDF
CodeIgniter For Project : Lesson 103 - Introduction to Codeigniter
Codeigniter
Introduction To CodeIgniter
Codeigniter
Codeigniter
Seminar.pptx
CODE IGNITER
Benefits and Features of CodeIgniter.pdf
Codeigniter
Introduction To Code Igniter
Benefits of the CodeIgniter Framework
Introduction To CodeIgniter
CodeIgniter & MVC
CodeIgniter
CodeIgniter Website Development a Comprehensive Guide 2024 .pdf
Code igniter overview
CodeIgniter For Project : Lesson 103 - Introduction to Codeigniter

More from baabtra.com - No. 1 supplier of quality freshers (20)

PPTX
Agile methodology and scrum development
PDF
Acquiring new skills what you should know
PDF
Baabtra.com programming at school
PDF
99LMS for Enterprises - LMS that you will love
PPTX
Chapter 6 database normalisation
PPTX
Chapter 5 transactions and dcl statements
PPTX
Chapter 4 functions, views, indexing
PPTX
PPTX
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
PPTX
Chapter 1 introduction to sql server
PPTX
Chapter 1 introduction to sql server
Agile methodology and scrum development
Acquiring new skills what you should know
Baabtra.com programming at school
99LMS for Enterprises - LMS that you will love
Chapter 6 database normalisation
Chapter 5 transactions and dcl statements
Chapter 4 functions, views, indexing
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 1 introduction to sql server
Chapter 1 introduction to sql server

Codeigniter

  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 5. Introduction to CodeIgniter •Open source PHP web application framework •Rapid development •Provides logical structure , reusable interface
  • 6. Why should i use a framework • Code and File Organization • Utilities and Libraries • The MVC Pattern • Security • Less Code & Faster development • Performance Tools • Suitable for Teamwork
  • 7. Folder structure in codeIgniter •This folder contain number of configuration files. they are: config.php autoload.php database.php routes.php
  • 8. Config.php URL to your CodeIgniter root ex: 'http://127.0.0.1/shop_automation/'; If u want to use session you set something in it. name you want for the session lifetime of the session to expire session on browser close
  • 9. autoload.php specifies which systems should be loaded by default. These are the classes located in the system Auto-load Helper Files
  • 10. database.php contain the settings needed to access your database.
  • 11. routes.php This file lets you re-map URI requests to specific controller indicates which controller class should be loaded
  • 12. folder structure in codeIgniter •It is a class file •That controls and co-ordinates view and model.
  • 13. folder structure in codeIgniter •Model is also class which handles database operations.
  • 14. folder structure in codeIgniter •Its a web page called by controller
  • 15. folder structure in codeIgniter •It contain all the helper and libraries located.
  • 16. CodeIgniter URLs •URLs in CodeIgniter are designed to be search- engine and human friendly. •CodeIgniter uses a segment-based approach ex:example.com/news/article/my_article
  • 17. URI Segments •The segments in the URL, in following with the Model-View-Controller approach usually represent : example.com/class/function/ID 1. represents the controller class 2. represents the class function, or method 3. any additional segments, represent the ID and any variables
  • 18. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 19. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  • 20. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us