SlideShare a Scribd company logo
Page 1
Page 2
Dominant Infotech
"Dominant InfoTech” provides a comprehensive
range of web and software development outsourcing services.
Listed below are the core areas that we provide our services
in:
 Web Development
 Web Design
 Mobile App. Development
 E-commerce Solution
 CMS Websites
 SEO
 Logo & Graphics Design
 Provide Training
Page 3
Technologies
Web Technologies
 PHP
 JAVA(JSP)
 WORDPRESS
 MAGENTO
 JOOMLA
 OPENCART
 WOOCOMMERCE
 XSLT
 XML
 HTML/CSS
 AJAX
 J-Query
 JS (Node + Angular)
 Web Services
Mobile Technologies
 ANDROID
 I-PHONE
 I-PAD
Page 4
Framework - what is a PHP framework?
A framework gives you standard solutions to typical problems,
e.g. for an online shop that can cover the functionality for a
customer login (including session handling), a shopping cart,
placing orders...
The big advantage of using a framework is that
 You don't need to reinvent the wheel, the code is already
there.
 The code (usually) works, it is already tested.
 Specifically for user authentication, you will most probably
have fewer security leaks as if you invented something
from scratch yourself
Page 5
The big disadvantage is that
 If you want to extend the functionality, you have to
understand OPC (other peoples code).
 If the framework contains a security hole and an exploit is
available, your site is immediately vulnerable, but you
may not have the knowledge to fix it yourself. So you
need to keep a constant lookout on security bulletins,
updates, fixes etc.
List of Popular PHP Frameworks:
1. Zend 4. Symfony
2. Laravel 5. Cake PHP
3. Phalcon 6. Code Igniter
Continue
Page 6
There are pretty good reasons to use the Frameworks:
 Code and file organization is extremely easy
 Countless numbers of tools and libraries that can help you
with:
 Form validation
 Database abstraction
 Input / Output filtering
 Session and Cookie handling
 Email, Calendar and pagination and much more
 MVC (Model View Controller) Architecture
 Security - PHP has many input and output filtering functions
which can add extra security layer to protect your website
against certain attacks.
Why Framework ??
Page 7
CI:- CodeIgniter (PHP Framework)
What is Code Igniter?
 CodeIgniter is an application development framework, which can
be used to develop websites, using PHP.
 CodeIgniter is a simple , elegant and powerful toolkit with a very
small footprint, used by those developers who want to create
full-featured Web Applications. CodeIgniter is an Open Source
PHP Framework.
 It has a very rich set of functionality, which will increase the
speed of website development work.
Page 8
Reasons to use it:-
 MVC design –It separates application into three interconnected parts
Model-View-Controller.
 Performance – Its performance like speed and other functionality is
better among other PHP frameworks.
 Database abstraction – It has a Active Record Database class so you
can easily perform insert, update and delete statements without needing
to write SQL queries. You can also handle connections to multiple
databases within one application.
 Excellent documentation – Documentation of CI is the biggest
advantage over other frameworks. The CI knowledgebase covers every
topic that a user require.
Why To Use CodeIgniter ??
Page 9
Features of CodeIgniter:-
 Extremely Light Weight.
 Full Featured database classes with support for several platforms.
 Query Builder Database Support
 Form, Data Validation & Session Management
 Email Sending Class. Supports Attachments, HTML/Text email,
multiple protocols (sendmail, SMTP, and Mail) and more.
 Image Manipulation Library (cropping, resizing, rotating, etc.).
 File Uploading Class & Pagination
 Error Logging
 Search-engine Friendly URLs
 Flexible URI Routing

Page 10
CodeIgniter Installation
 Step-1 − Download the CodeIgniter from the link CodeIgniter
 Step-2 − Unzip the folder.
 Step-3 − Upload all files and folders to your server.
 Step-4 − After uploading all the files to your server, visit the URL
of your server, e.g., www.domain-name.com.
Page 11
CodeIgniter File System
 After unzipping the CodeIgniter folder you will get a file hierarchy of
CodeIgniter files as shown below.
 CodeIgniter file structure is mainly
divided into three parts:
1) Application:-Application folder is the main
development folder for you where you will develop
your project.
2) System: All action of CodeIgniter application
happens here. It contains files which makes
the coding easy.
3) User_guide: It is the offline CodeIgniter guide.
Page 12
CodeIgniter Architecture
Data flow in CodeIgniter
 As shown in the figure, whenever a request comes to CI, it will first
go to index.php page.
 In the second step, Routing will decide whether to pass this
request to step-3 for caching or to pass this request to step-4 for
security check.
Page 13
 If the requested page is already in Caching, then Routing will pass
the request to step-3 and the response will go back to the user.
 If the requested page does not exist in Caching, then Routing will
pass the requested page to step-4 for Security checks.
 Before passing the request to Application Controller, the Security
of the submitted data is checked. After the Security check,
the Application Controller loads necessary Models, Libraries,
Helpers, Plugins and Scripts and pass it on to View.
 The View will render the page with available data and pass it on
for Caching. As the requested page was not cached before so this
time it will be cached in Caching, to process this page quickly for
future requests.
Continue
Page 14
MVC Framework
 CodeIgniter is based on the Model-View-Controller
(MVC) development pattern. MVC is a software
approach that separates application logic from
presentation. In practice, it permits your web pages to
contain minimal scripting since the presentation is separate
from the PHP scripting.
Page 15
 The Model represents your data structures. Typically, your model
classes will contain functions that help you retrieve, insert and
update information in your database.
 The View is information that is being presented to a user. A View
will normally be a web page, but in CodeIgniter, a view can also be
a page fragment like a header or footer..
 The Controller serves as an intermediary between the Model, the
View, and any other resources needed to process the HTTP request
and generate a web page.
Continue
Page 16
CodeIgniter First Example
 In a CodeIgniter framework URL a basic pattern is followed.
In the following URL,
 http://abc.com/book/novel/
 Here, 'book' is the controller class or controller name. 'novel'
is the method that is called.
 It extends to CI_Controller to inherit the controller properties.
Page 17
2)Create file in Views
1)Create file in Controllers
Continue
 An Example to print Hello World
Page 18
 To run the file, follow the path
http://localhost/CodeIgniter/index.php/Hello/
Run the Controller file
Continue
Page 19
Database Configuration
 In CodeIgniter, go to application/config/databse.php for database
configuration file. In database.php file, fill the entries to connect
CodeIgniter folder to your database.
Page 20
CRUD Operation In CI
 We will understand how to insert data into database using Controller
model and view.
Page 21
DB Connection
Automatically connecting Database
 The auto connectfeature will load your database class with every
page load.
 To add auto connect go to application/config/autoload.php and
add the word database to library array.
Manually connecting Database
 If you need to connect database only in some pages of your
project, you can use below code to add the database connectivity
in any page, or add it to your class constructor which will make the
database globally available for that class.
Page 22
Controller
Page 23
View
Page 24
Model
Page 25
 Below Is the listing of the Select querry :-
Output (Show Record)
Page 26
Output (Save Data)
Page 27
Output (Update record)
Page 28
 cPanel is a web based hosting control panel provided by many
hosting providers to website owners allowing them to manage
their websites from a web based interface. This program gives
users a graphical interface from which they can control their
portion of the Unix server. The tools provided are designed to
simplify running and controlling a website. It uses a tiered
structure that allows different levels of access. Administrators
and end users can control the different aspects of the server
and the website directly through their browser. cPanel is
generally accessed using https on port 2083 or simply by
adding “/cPanel” to the end of the host name.
Web Hosting
Page 29
Page 30
Contact Details
Reach to us using following details:
Website: www.dominantinfotech.com
Contact
no:
Parth Naik : +91 99250 36660
Nirav Patel : +91 89056 87878
E-mail: info@dominantinfotech.com
Facebook: https://www.facebook.com/Dom
inantInfotech/
LinkedIn: https://www.linkedin.com/nhom
e/?trk=hb_signin
Page 31

More Related Content

PDF
Customer FX Technical Reference Sheet
PPTX
Connections Administration Toolkit (CAT)
PPTX
CAT Release August 2015
PPTX
Connections Administration Toolkit (CAT)
DOC
Report on mall automation
PDF
A Complete Guide to Python Web Development
PDF
How to extend IBM Connections Communities and Profiles
PPTX
New CAT Release - December 2020
Customer FX Technical Reference Sheet
Connections Administration Toolkit (CAT)
CAT Release August 2015
Connections Administration Toolkit (CAT)
Report on mall automation
A Complete Guide to Python Web Development
How to extend IBM Connections Communities and Profiles
New CAT Release - December 2020

What's hot (20)

PDF
Co|Create Website Documentation Guidebook
PDF
Fundamental of-web design-trends-20142
DOCX
Online advertising management system
PDF
Web application development with laravel php framework version 4
PPTX
NH .Net Code Camp 2010 - Silverlight business applications
PDF
HTML5 Handling Security Issues, Security Threats for HTML5, HTML5 Application...
DOCX
Actively looking for an opportunity to work as a challenging Dot Net Developer
DOC
124157075 gb
PPT
Web 2.0 Tech Talk
PDF
Wp architecture-and-technology-en
PDF
Sybase sup hybrid_web_container_article_wp
PPT
Developing RIAs... 10 reasons to use Adobe Flex
PPTX
Box Platform Developer Workshop
DOCX
report_vendor_connect
PDF
Building Restful Web App Rapidly in CakePHP
PPTX
Know, Share, Do - Custom Apps
DOCX
MINOR PROZECT REPORT on WINDOWS SERVER
PPTX
Syn framework 4.0 and sql server
PPT
Microsoft Tech Ed 2006 #2
PDF
Web CMS Based News & Media Portal For Russian Citizens
Co|Create Website Documentation Guidebook
Fundamental of-web design-trends-20142
Online advertising management system
Web application development with laravel php framework version 4
NH .Net Code Camp 2010 - Silverlight business applications
HTML5 Handling Security Issues, Security Threats for HTML5, HTML5 Application...
Actively looking for an opportunity to work as a challenging Dot Net Developer
124157075 gb
Web 2.0 Tech Talk
Wp architecture-and-technology-en
Sybase sup hybrid_web_container_article_wp
Developing RIAs... 10 reasons to use Adobe Flex
Box Platform Developer Workshop
report_vendor_connect
Building Restful Web App Rapidly in CakePHP
Know, Share, Do - Custom Apps
MINOR PROZECT REPORT on WINDOWS SERVER
Syn framework 4.0 and sql server
Microsoft Tech Ed 2006 #2
Web CMS Based News & Media Portal For Russian Citizens
Ad

Similar to CODE IGNITER (20)

PPTX
codeigniter
PPTX
CodeIgniter
PPS
Codeigniter, a MVC framework for beginner
DOCX
Codeigniter
PPTX
MVC & CodeIgniter
DOCX
Company Visitor Management System Report.docx
PPTX
Codeigniter
PDF
Benefits and Features of CodeIgniter.pdf
PDF
Introduction To CodeIgniter
PDF
Analyzing Optimal Practises for Web Frameworks
PDF
CodeIgniter Website Development a Comprehensive Guide 2024 .pdf
PDF
Why should you Choose CodeIgniter Framework for your Next project
PPTX
Application development and emerging technologies.pptx
PPTX
Web-Development-Services-in-Pakistan.pptx
PDF
Some Features make CodeIgniter Powerfull PHP framework.pdf
PDF
IRJET- Lightweight MVC Framework in PHP
PPTX
Micro-Frontends JSVidCon
PDF
Asp.net web application framework management system.pdf
ODP
Application development using Zend Framework
PPTX
Web Application Development-Ultimate Guide To Web Application Architecture
codeigniter
CodeIgniter
Codeigniter, a MVC framework for beginner
Codeigniter
MVC & CodeIgniter
Company Visitor Management System Report.docx
Codeigniter
Benefits and Features of CodeIgniter.pdf
Introduction To CodeIgniter
Analyzing Optimal Practises for Web Frameworks
CodeIgniter Website Development a Comprehensive Guide 2024 .pdf
Why should you Choose CodeIgniter Framework for your Next project
Application development and emerging technologies.pptx
Web-Development-Services-in-Pakistan.pptx
Some Features make CodeIgniter Powerfull PHP framework.pdf
IRJET- Lightweight MVC Framework in PHP
Micro-Frontends JSVidCon
Asp.net web application framework management system.pdf
Application development using Zend Framework
Web Application Development-Ultimate Guide To Web Application Architecture
Ad

Recently uploaded (20)

PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Cost to Outsource Software Development in 2025
PDF
medical staffing services at VALiNTRY
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PDF
Autodesk AutoCAD Crack Free Download 2025
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PPTX
L1 - Introduction to python Backend.pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
AutoCAD Professional Crack 2025 With License Key
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Computer Software and OS of computer science of grade 11.pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Cost to Outsource Software Development in 2025
medical staffing services at VALiNTRY
wealthsignaloriginal-com-DS-text-... (1).pdf
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Autodesk AutoCAD Crack Free Download 2025
Oracle Fusion HCM Cloud Demo for Beginners
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Monitoring Stack: Grafana, Loki & Promtail
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Designing Intelligence for the Shop Floor.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
L1 - Introduction to python Backend.pptx
Design an Analysis of Algorithms I-SECS-1021-03
AutoCAD Professional Crack 2025 With License Key

CODE IGNITER

  • 2. Page 2 Dominant Infotech "Dominant InfoTech” provides a comprehensive range of web and software development outsourcing services. Listed below are the core areas that we provide our services in:  Web Development  Web Design  Mobile App. Development  E-commerce Solution  CMS Websites  SEO  Logo & Graphics Design  Provide Training
  • 3. Page 3 Technologies Web Technologies  PHP  JAVA(JSP)  WORDPRESS  MAGENTO  JOOMLA  OPENCART  WOOCOMMERCE  XSLT  XML  HTML/CSS  AJAX  J-Query  JS (Node + Angular)  Web Services Mobile Technologies  ANDROID  I-PHONE  I-PAD
  • 4. Page 4 Framework - what is a PHP framework? A framework gives you standard solutions to typical problems, e.g. for an online shop that can cover the functionality for a customer login (including session handling), a shopping cart, placing orders... The big advantage of using a framework is that  You don't need to reinvent the wheel, the code is already there.  The code (usually) works, it is already tested.  Specifically for user authentication, you will most probably have fewer security leaks as if you invented something from scratch yourself
  • 5. Page 5 The big disadvantage is that  If you want to extend the functionality, you have to understand OPC (other peoples code).  If the framework contains a security hole and an exploit is available, your site is immediately vulnerable, but you may not have the knowledge to fix it yourself. So you need to keep a constant lookout on security bulletins, updates, fixes etc. List of Popular PHP Frameworks: 1. Zend 4. Symfony 2. Laravel 5. Cake PHP 3. Phalcon 6. Code Igniter Continue
  • 6. Page 6 There are pretty good reasons to use the Frameworks:  Code and file organization is extremely easy  Countless numbers of tools and libraries that can help you with:  Form validation  Database abstraction  Input / Output filtering  Session and Cookie handling  Email, Calendar and pagination and much more  MVC (Model View Controller) Architecture  Security - PHP has many input and output filtering functions which can add extra security layer to protect your website against certain attacks. Why Framework ??
  • 7. Page 7 CI:- CodeIgniter (PHP Framework) What is Code Igniter?  CodeIgniter is an application development framework, which can be used to develop websites, using PHP.  CodeIgniter is a simple , elegant and powerful toolkit with a very small footprint, used by those developers who want to create full-featured Web Applications. CodeIgniter is an Open Source PHP Framework.  It has a very rich set of functionality, which will increase the speed of website development work.
  • 8. Page 8 Reasons to use it:-  MVC design –It separates application into three interconnected parts Model-View-Controller.  Performance – Its performance like speed and other functionality is better among other PHP frameworks.  Database abstraction – It has a Active Record Database class so you can easily perform insert, update and delete statements without needing to write SQL queries. You can also handle connections to multiple databases within one application.  Excellent documentation – Documentation of CI is the biggest advantage over other frameworks. The CI knowledgebase covers every topic that a user require. Why To Use CodeIgniter ??
  • 9. Page 9 Features of CodeIgniter:-  Extremely Light Weight.  Full Featured database classes with support for several platforms.  Query Builder Database Support  Form, Data Validation & Session Management  Email Sending Class. Supports Attachments, HTML/Text email, multiple protocols (sendmail, SMTP, and Mail) and more.  Image Manipulation Library (cropping, resizing, rotating, etc.).  File Uploading Class & Pagination  Error Logging  Search-engine Friendly URLs  Flexible URI Routing 
  • 10. Page 10 CodeIgniter Installation  Step-1 − Download the CodeIgniter from the link CodeIgniter  Step-2 − Unzip the folder.  Step-3 − Upload all files and folders to your server.  Step-4 − After uploading all the files to your server, visit the URL of your server, e.g., www.domain-name.com.
  • 11. Page 11 CodeIgniter File System  After unzipping the CodeIgniter folder you will get a file hierarchy of CodeIgniter files as shown below.  CodeIgniter file structure is mainly divided into three parts: 1) Application:-Application folder is the main development folder for you where you will develop your project. 2) System: All action of CodeIgniter application happens here. It contains files which makes the coding easy. 3) User_guide: It is the offline CodeIgniter guide.
  • 12. Page 12 CodeIgniter Architecture Data flow in CodeIgniter  As shown in the figure, whenever a request comes to CI, it will first go to index.php page.  In the second step, Routing will decide whether to pass this request to step-3 for caching or to pass this request to step-4 for security check.
  • 13. Page 13  If the requested page is already in Caching, then Routing will pass the request to step-3 and the response will go back to the user.  If the requested page does not exist in Caching, then Routing will pass the requested page to step-4 for Security checks.  Before passing the request to Application Controller, the Security of the submitted data is checked. After the Security check, the Application Controller loads necessary Models, Libraries, Helpers, Plugins and Scripts and pass it on to View.  The View will render the page with available data and pass it on for Caching. As the requested page was not cached before so this time it will be cached in Caching, to process this page quickly for future requests. Continue
  • 14. Page 14 MVC Framework  CodeIgniter is based on the Model-View-Controller (MVC) development pattern. MVC is a software approach that separates application logic from presentation. In practice, it permits your web pages to contain minimal scripting since the presentation is separate from the PHP scripting.
  • 15. Page 15  The Model represents your data structures. Typically, your model classes will contain functions that help you retrieve, insert and update information in your database.  The View is information that is being presented to a user. A View will normally be a web page, but in CodeIgniter, a view can also be a page fragment like a header or footer..  The Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page. Continue
  • 16. Page 16 CodeIgniter First Example  In a CodeIgniter framework URL a basic pattern is followed. In the following URL,  http://abc.com/book/novel/  Here, 'book' is the controller class or controller name. 'novel' is the method that is called.  It extends to CI_Controller to inherit the controller properties.
  • 17. Page 17 2)Create file in Views 1)Create file in Controllers Continue  An Example to print Hello World
  • 18. Page 18  To run the file, follow the path http://localhost/CodeIgniter/index.php/Hello/ Run the Controller file Continue
  • 19. Page 19 Database Configuration  In CodeIgniter, go to application/config/databse.php for database configuration file. In database.php file, fill the entries to connect CodeIgniter folder to your database.
  • 20. Page 20 CRUD Operation In CI  We will understand how to insert data into database using Controller model and view.
  • 21. Page 21 DB Connection Automatically connecting Database  The auto connectfeature will load your database class with every page load.  To add auto connect go to application/config/autoload.php and add the word database to library array. Manually connecting Database  If you need to connect database only in some pages of your project, you can use below code to add the database connectivity in any page, or add it to your class constructor which will make the database globally available for that class.
  • 25. Page 25  Below Is the listing of the Select querry :- Output (Show Record)
  • 28. Page 28  cPanel is a web based hosting control panel provided by many hosting providers to website owners allowing them to manage their websites from a web based interface. This program gives users a graphical interface from which they can control their portion of the Unix server. The tools provided are designed to simplify running and controlling a website. It uses a tiered structure that allows different levels of access. Administrators and end users can control the different aspects of the server and the website directly through their browser. cPanel is generally accessed using https on port 2083 or simply by adding “/cPanel” to the end of the host name. Web Hosting
  • 30. Page 30 Contact Details Reach to us using following details: Website: www.dominantinfotech.com Contact no: Parth Naik : +91 99250 36660 Nirav Patel : +91 89056 87878 E-mail: [email protected] Facebook: https://www.facebook.com/Dom inantInfotech/ LinkedIn: https://www.linkedin.com/nhom e/?trk=hb_signin