SlideShare a Scribd company logo
1 of 15
CodeIgniter
What is CodeIgniter?
CodeIgniter is a PHP MVC framework for developing applications rapidly.
CodeIgniter provides out of the box libraries for connecting to the database
and performing various operations. Like sending emails, uploading files,
managing sessions, etc.
How CodeIgniter work?
CodeIgniter is an MVC framework. MVC stands for Model View Controller.
When a user requests a resource, the controller responds first. The controller
understands the user request then request the necessary data if necessary.
CodeIgniter Release History
2006 First version of CodeIgniter
2009 ExpressionEngine 2.0 launched
2014 British Columbia Institute of Technology took
ownership of the project
2019 Stable version 4 expected to launch
Why Use CodeIgniter
 Model-View-Controller Based System
 Extremely Light Weight
 Query Builder Database Support
 Form and Data Validation
 Security and XSS Filtering
 Session Management
 etc,
CodeIgniter MVC Framework
 Model – representation of the data
 View – rendering of the data suitable for interaction with the user
 Controller – that passes model data to the view and vice versa
 This separation of concerns allows for greater flexibility, reuse of code, and overall
preservation of the developer’s sanity.
Model (MVC)
 A class containing one or more related methods (Custom PHP Functions)
 Typical Uses:
 Create
 Read
 Update
 Delete
View (MVC)
 Code that display information to the user
 Views can be:
 Web pages with PHP code snippets inserted
 Web pages with forms to gather user input
 Other outputs(CSV, PDF, etc..)
Controller (MVC)
 A class containing one or more related methods (Custom PHP Functions)
 Typical uses:
 Request a set of data from the model by sending arguments
 Send a payload of data to a view (web page)
 Receive a data payload from a view
 Pass data to the model for inclusion in a database
CodeIgniter Security features
 URI Security
 CodeIgniter is fairly restrictive regarding which characters it allows in your URI strings in order to help
minimize the possibility that malicious data can be passed to your application.
 XSS Filtering
 CodeIgniter comes with a Cross Site Scripting filter. This filter looks for commonly used techniques to
embed malicious JavaScript into your data, or other types of code that attempt to hijack cookies or do
other malicious things.
 Password handling
 DO NOT use weak or broken hashing algorithms like MD5 or SHA1.
 DO NOT store passwords in plain-text format.
Advantages of CodeIgniter
1. Easy to learn,
2. Easy handling and customizing.
3. Good collection of possessed libraries.
4. Offers flexibility and easy management With MVC based framework.
Disadvantages of CodeIgniter
1. Its PHP based only and not very object-oriented in some parts
2. PHP4 legacy code,
3. Irregular releases,
Installation Instructions
CodeIgniter is installed in four steps:
 Unzip the package.
 Upload the CodeIgniter folders and files to your server. Normally the index.php file will
be at your root.
 Open the application/config/config.php file with a text editor and set your base URL. If
you intend to use encryption or sessions, set your encryption key.
 If you intend to use a database, open the application/config/database.php file with a
text editor and set your database settings.
CodeIgniter Directory Structure
The image given below shows the directory structure of the CodeIgniter.
CodeIgniter directory structure is divided into 3 folders,
 Application
 System
 User_guide
Application Contain
Cache, config, controller, core, helpers, hooks, language, libraries, logs, models, third_party,
Views
System Contain
Core, database, fonts, helpers, language, libraries
User_guide
This file serves as a reference guide for you when you want to understand the CodeIgniter
API. You should not upload this directory when deploying your application.

More Related Content

What's hot

Authentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetAuthentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetShivanand Arur
 
Building Web Apps with Python Part 2 - Code Heroku
Building Web Apps with Python Part 2 - Code HerokuBuilding Web Apps with Python Part 2 - Code Heroku
Building Web Apps with Python Part 2 - Code Herokucodeheroku
 
TekRADIUS Frequently Asked Questions
TekRADIUS Frequently Asked QuestionsTekRADIUS Frequently Asked Questions
TekRADIUS Frequently Asked QuestionsYasin KAPLAN
 
yii_Presentation_new
yii_Presentation_newyii_Presentation_new
yii_Presentation_newujash joshi
 
How to Open Password Protected Documents on iPad
How to Open Password Protected Documents on iPadHow to Open Password Protected Documents on iPad
How to Open Password Protected Documents on iPadVitalii Varbanets
 
Data protection api's in asp dot net
Data protection api's in asp dot netData protection api's in asp dot net
Data protection api's in asp dot netsonia merchant
 
Flex security
Flex securityFlex security
Flex securitychengalva
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...WebStackAcademy
 
Asp.net membership anduserroles_ppt
Asp.net membership anduserroles_pptAsp.net membership anduserroles_ppt
Asp.net membership anduserroles_pptShivanand Arur
 
Brk30010 - With so many different ways to secure data across the Office 365 p...
Brk30010 - With so many different ways to secure data across the Office 365 p...Brk30010 - With so many different ways to secure data across the Office 365 p...
Brk30010 - With so many different ways to secure data across the Office 365 p...Olav Tvedt
 
Windows Identity Foundation
Windows Identity FoundationWindows Identity Foundation
Windows Identity Foundationmanz1234
 
Azure security infographic 2014 sec
Azure security infographic 2014 secAzure security infographic 2014 sec
Azure security infographic 2014 secKesavan Munuswamy
 
Lynn Fy07 Q4 Msdn Events Copy
Lynn Fy07 Q4 Msdn Events   CopyLynn Fy07 Q4 Msdn Events   Copy
Lynn Fy07 Q4 Msdn Events Copyllangit
 

What's hot (15)

Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Authentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetAuthentication and Authorization in Asp.Net
Authentication and Authorization in Asp.Net
 
Building Web Apps with Python Part 2 - Code Heroku
Building Web Apps with Python Part 2 - Code HerokuBuilding Web Apps with Python Part 2 - Code Heroku
Building Web Apps with Python Part 2 - Code Heroku
 
TekRADIUS Frequently Asked Questions
TekRADIUS Frequently Asked QuestionsTekRADIUS Frequently Asked Questions
TekRADIUS Frequently Asked Questions
 
yii_Presentation_new
yii_Presentation_newyii_Presentation_new
yii_Presentation_new
 
How to Open Password Protected Documents on iPad
How to Open Password Protected Documents on iPadHow to Open Password Protected Documents on iPad
How to Open Password Protected Documents on iPad
 
Data protection api's in asp dot net
Data protection api's in asp dot netData protection api's in asp dot net
Data protection api's in asp dot net
 
Flex security
Flex securityFlex security
Flex security
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 
Asp.net membership anduserroles_ppt
Asp.net membership anduserroles_pptAsp.net membership anduserroles_ppt
Asp.net membership anduserroles_ppt
 
Brk30010 - With so many different ways to secure data across the Office 365 p...
Brk30010 - With so many different ways to secure data across the Office 365 p...Brk30010 - With so many different ways to secure data across the Office 365 p...
Brk30010 - With so many different ways to secure data across the Office 365 p...
 
Windows Identity Foundation
Windows Identity FoundationWindows Identity Foundation
Windows Identity Foundation
 
Azure security infographic 2014 sec
Azure security infographic 2014 secAzure security infographic 2014 sec
Azure security infographic 2014 sec
 
Oracle security ols vs vpd
Oracle security ols vs vpdOracle security ols vs vpd
Oracle security ols vs vpd
 
Lynn Fy07 Q4 Msdn Events Copy
Lynn Fy07 Q4 Msdn Events   CopyLynn Fy07 Q4 Msdn Events   Copy
Lynn Fy07 Q4 Msdn Events Copy
 

Similar to CodeIgniter

PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterKHALID C
 
Why should you Choose CodeIgniter Framework for your Next project
Why should you Choose CodeIgniter Framework for your Next projectWhy should you Choose CodeIgniter Framework for your Next project
Why should you Choose CodeIgniter Framework for your Next projectMarie Weaver
 
Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginneraminbd
 
IRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET Journal
 
CodeIgniter Website Development a Comprehensive Guide 2024 .pdf
CodeIgniter Website Development a Comprehensive Guide 2024  .pdfCodeIgniter Website Development a Comprehensive Guide 2024  .pdf
CodeIgniter Website Development a Comprehensive Guide 2024 .pdfJPLoft Solutions
 
report_vendor_connect
report_vendor_connectreport_vendor_connect
report_vendor_connectYash Mittal
 
CODEIGNITER DEVELOPMENT EXPERTS IN UK
CODEIGNITER DEVELOPMENT EXPERTS IN UKCODEIGNITER DEVELOPMENT EXPERTS IN UK
CODEIGNITER DEVELOPMENT EXPERTS IN UKTechrishblogger
 
Application development using Zend Framework
Application development using Zend FrameworkApplication development using Zend Framework
Application development using Zend FrameworkMahmud Ahsan
 
CodeIgniter Basics - Tutorial for Beginners
CodeIgniter Basics - Tutorial for Beginners CodeIgniter Basics - Tutorial for Beginners
CodeIgniter Basics - Tutorial for Beginners Isuru Thilakarathne
 
9 Biggest Reasons to Invest in CodeIgniter Development Services.pdf
9 Biggest Reasons to Invest in CodeIgniter Development Services.pdf9 Biggest Reasons to Invest in CodeIgniter Development Services.pdf
9 Biggest Reasons to Invest in CodeIgniter Development Services.pdfsheshamohanty2023
 
A Guide to CodeIgniter Web Application Development.pdf
A Guide to CodeIgniter Web Application Development.pdfA Guide to CodeIgniter Web Application Development.pdf
A Guide to CodeIgniter Web Application Development.pdfUmanoLogic
 

Similar to CodeIgniter (20)

codeigniter
codeignitercodeigniter
codeigniter
 
CODE IGNITER
CODE IGNITERCODE IGNITER
CODE IGNITER
 
Codeignitor
Codeignitor Codeignitor
Codeignitor
 
PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniter
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
 
Seminar.pptx
Seminar.pptxSeminar.pptx
Seminar.pptx
 
Why should you Choose CodeIgniter Framework for your Next project
Why should you Choose CodeIgniter Framework for your Next projectWhy should you Choose CodeIgniter Framework for your Next project
Why should you Choose CodeIgniter Framework for your Next project
 
Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginner
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
 
IRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHP
 
CodeIgniter Website Development a Comprehensive Guide 2024 .pdf
CodeIgniter Website Development a Comprehensive Guide 2024  .pdfCodeIgniter Website Development a Comprehensive Guide 2024  .pdf
CodeIgniter Website Development a Comprehensive Guide 2024 .pdf
 
Introduction To CodeIgniter
Introduction To CodeIgniterIntroduction To CodeIgniter
Introduction To CodeIgniter
 
report_vendor_connect
report_vendor_connectreport_vendor_connect
report_vendor_connect
 
CODEIGNITER DEVELOPMENT EXPERTS IN UK
CODEIGNITER DEVELOPMENT EXPERTS IN UKCODEIGNITER DEVELOPMENT EXPERTS IN UK
CODEIGNITER DEVELOPMENT EXPERTS IN UK
 
Php Frameworks
Php FrameworksPhp Frameworks
Php Frameworks
 
Application development using Zend Framework
Application development using Zend FrameworkApplication development using Zend Framework
Application development using Zend Framework
 
Benefits and Features of CodeIgniter.pdf
Benefits and Features of CodeIgniter.pdfBenefits and Features of CodeIgniter.pdf
Benefits and Features of CodeIgniter.pdf
 
CodeIgniter Basics - Tutorial for Beginners
CodeIgniter Basics - Tutorial for Beginners CodeIgniter Basics - Tutorial for Beginners
CodeIgniter Basics - Tutorial for Beginners
 
9 Biggest Reasons to Invest in CodeIgniter Development Services.pdf
9 Biggest Reasons to Invest in CodeIgniter Development Services.pdf9 Biggest Reasons to Invest in CodeIgniter Development Services.pdf
9 Biggest Reasons to Invest in CodeIgniter Development Services.pdf
 
A Guide to CodeIgniter Web Application Development.pdf
A Guide to CodeIgniter Web Application Development.pdfA Guide to CodeIgniter Web Application Development.pdf
A Guide to CodeIgniter Web Application Development.pdf
 

Recently uploaded

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 

Recently uploaded (20)

Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 

CodeIgniter

  • 2. What is CodeIgniter? CodeIgniter is a PHP MVC framework for developing applications rapidly. CodeIgniter provides out of the box libraries for connecting to the database and performing various operations. Like sending emails, uploading files, managing sessions, etc.
  • 3. How CodeIgniter work? CodeIgniter is an MVC framework. MVC stands for Model View Controller. When a user requests a resource, the controller responds first. The controller understands the user request then request the necessary data if necessary.
  • 4. CodeIgniter Release History 2006 First version of CodeIgniter 2009 ExpressionEngine 2.0 launched 2014 British Columbia Institute of Technology took ownership of the project 2019 Stable version 4 expected to launch
  • 5. Why Use CodeIgniter  Model-View-Controller Based System  Extremely Light Weight  Query Builder Database Support  Form and Data Validation  Security and XSS Filtering  Session Management  etc,
  • 6. CodeIgniter MVC Framework  Model – representation of the data  View – rendering of the data suitable for interaction with the user  Controller – that passes model data to the view and vice versa  This separation of concerns allows for greater flexibility, reuse of code, and overall preservation of the developer’s sanity.
  • 7. Model (MVC)  A class containing one or more related methods (Custom PHP Functions)  Typical Uses:  Create  Read  Update  Delete
  • 8. View (MVC)  Code that display information to the user  Views can be:  Web pages with PHP code snippets inserted  Web pages with forms to gather user input  Other outputs(CSV, PDF, etc..)
  • 9. Controller (MVC)  A class containing one or more related methods (Custom PHP Functions)  Typical uses:  Request a set of data from the model by sending arguments  Send a payload of data to a view (web page)  Receive a data payload from a view  Pass data to the model for inclusion in a database
  • 10. CodeIgniter Security features  URI Security  CodeIgniter is fairly restrictive regarding which characters it allows in your URI strings in order to help minimize the possibility that malicious data can be passed to your application.  XSS Filtering  CodeIgniter comes with a Cross Site Scripting filter. This filter looks for commonly used techniques to embed malicious JavaScript into your data, or other types of code that attempt to hijack cookies or do other malicious things.  Password handling  DO NOT use weak or broken hashing algorithms like MD5 or SHA1.  DO NOT store passwords in plain-text format.
  • 11. Advantages of CodeIgniter 1. Easy to learn, 2. Easy handling and customizing. 3. Good collection of possessed libraries. 4. Offers flexibility and easy management With MVC based framework.
  • 12. Disadvantages of CodeIgniter 1. Its PHP based only and not very object-oriented in some parts 2. PHP4 legacy code, 3. Irregular releases,
  • 13. Installation Instructions CodeIgniter is installed in four steps:  Unzip the package.  Upload the CodeIgniter folders and files to your server. Normally the index.php file will be at your root.  Open the application/config/config.php file with a text editor and set your base URL. If you intend to use encryption or sessions, set your encryption key.  If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.
  • 14. CodeIgniter Directory Structure The image given below shows the directory structure of the CodeIgniter. CodeIgniter directory structure is divided into 3 folders,  Application  System  User_guide
  • 15. Application Contain Cache, config, controller, core, helpers, hooks, language, libraries, logs, models, third_party, Views System Contain Core, database, fonts, helpers, language, libraries User_guide This file serves as a reference guide for you when you want to understand the CodeIgniter API. You should not upload this directory when deploying your application.