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

What's hot

Co|Create Website Documentation Guidebook
Co|Create Website Documentation GuidebookCo|Create Website Documentation Guidebook
Co|Create Website Documentation Guidebook
Jon Wretlind, BFA, MDiv
 
Fundamental of-web design-trends-20142
Fundamental of-web design-trends-20142Fundamental of-web design-trends-20142
Fundamental of-web design-trends-20142
Ly Nguyen Bui
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management system
Yesu Raj
 
Web application development with laravel php framework version 4
Web application development with laravel php framework version 4Web application development with laravel php framework version 4
Web application development with laravel php framework version 4
Untung D Saptoto
 
NH .Net Code Camp 2010 - Silverlight business applications
NH .Net Code Camp 2010 - Silverlight business applicationsNH .Net Code Camp 2010 - Silverlight business applications
NH .Net Code Camp 2010 - Silverlight business applications
John Garland
 
HTML5 Handling Security Issues, Security Threats for HTML5, HTML5 Application...
HTML5 Handling Security Issues, Security Threats for HTML5, HTML5 Application...HTML5 Handling Security Issues, Security Threats for HTML5, HTML5 Application...
HTML5 Handling Security Issues, Security Threats for HTML5, HTML5 Application...
Idexcel Technologies
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
Karthik Reddy
 
124157075 gb
124157075 gb124157075 gb
124157075 gb
homeworkping9
 
Web 2.0 Tech Talk
Web 2.0 Tech TalkWeb 2.0 Tech Talk
Web 2.0 Tech Talkpooyad
 
Wp architecture-and-technology-en
Wp architecture-and-technology-enWp architecture-and-technology-en
Wp architecture-and-technology-en
bbenthach
 
Sybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpSybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpPrabhakar Manthena
 
Developing RIAs... 10 reasons to use Adobe Flex
Developing RIAs... 10 reasons to use Adobe FlexDeveloping RIAs... 10 reasons to use Adobe Flex
Developing RIAs... 10 reasons to use Adobe Flex
Matthias Zeller
 
Box Platform Developer Workshop
Box Platform Developer WorkshopBox Platform Developer Workshop
Box Platform Developer Workshop
Jonathan LeBlanc
 
report_vendor_connect
report_vendor_connectreport_vendor_connect
report_vendor_connectYash Mittal
 
Building Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHPBuilding Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHP
Edureka!
 
Know, Share, Do - Custom Apps
Know, Share, Do - Custom AppsKnow, Share, Do - Custom Apps
Know, Share, Do - Custom Apps
TIMETOACT GROUP
 
MINOR PROZECT REPORT on WINDOWS SERVER
MINOR PROZECT REPORT on WINDOWS SERVERMINOR PROZECT REPORT on WINDOWS SERVER
MINOR PROZECT REPORT on WINDOWS SERVERAsish Verma
 
Syn framework 4.0 and sql server
Syn framework 4.0 and sql serverSyn framework 4.0 and sql server
Syn framework 4.0 and sql server
Eduardo Castro
 
Web CMS Based News & Media Portal For Russian Citizens
Web CMS Based News & Media Portal For Russian CitizensWeb CMS Based News & Media Portal For Russian Citizens
Web CMS Based News & Media Portal For Russian Citizens
Mike Taylor
 

What's hot (20)

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

Similar to CODE IGNITER

codeigniter
codeignitercodeigniter
codeigniter
Utkarsh Chaturvedi
 
CodeIgniter
CodeIgniterCodeIgniter
CodeIgniter
Sandun_Prasanna
 
Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginner
aminbd
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
Chirag Parmar
 
MVC & CodeIgniter
MVC & CodeIgniterMVC & CodeIgniter
MVC & CodeIgniter
Harshit Gupta
 
Company Visitor Management System Report.docx
Company Visitor Management System Report.docxCompany Visitor Management System Report.docx
Company Visitor Management System Report.docx
fantabulous2024
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
ShahRushika
 
Benefits and Features of CodeIgniter.pdf
Benefits and Features of CodeIgniter.pdfBenefits and Features of CodeIgniter.pdf
Benefits and Features of CodeIgniter.pdf
AddWeb Solution Pvt. Ltd.
 
Introduction To CodeIgniter
Introduction To CodeIgniterIntroduction To CodeIgniter
Introduction To CodeIgniter
Muhammad Hafiz Hasan
 
Analyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web FrameworksAnalyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web Frameworks
IRJET 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 .pdf
JPLoft Solutions
 
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
Marie Weaver
 
Application development and emerging technologies.pptx
Application development and emerging technologies.pptxApplication development and emerging technologies.pptx
Application development and emerging technologies.pptx
Michael Angelo Marasigan
 
Some Features make CodeIgniter Powerfull PHP framework.pdf
Some Features make CodeIgniter Powerfull PHP framework.pdfSome Features make CodeIgniter Powerfull PHP framework.pdf
Some Features make CodeIgniter Powerfull PHP framework.pdf
Moon Technolabs Pvt. Ltd.
 
IRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHP
IRJET Journal
 
Micro-Frontends JSVidCon
Micro-Frontends JSVidConMicro-Frontends JSVidCon
Micro-Frontends JSVidCon
Amir Zuker
 
Application development using Zend Framework
Application development using Zend FrameworkApplication development using Zend Framework
Application development using Zend Framework
Mahmud Ahsan
 
Web Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application ArchitectureWeb Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application Architecture
Versatile Mobitech
 
PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniter
KHALID C
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application
Dharmendra Sid
 

Similar to CODE IGNITER (20)

codeigniter
codeignitercodeigniter
codeigniter
 
CodeIgniter
CodeIgniterCodeIgniter
CodeIgniter
 
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
 
MVC & CodeIgniter
MVC & CodeIgniterMVC & CodeIgniter
MVC & CodeIgniter
 
Company Visitor Management System Report.docx
Company Visitor Management System Report.docxCompany Visitor Management System Report.docx
Company Visitor Management System Report.docx
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
 
Benefits and Features of CodeIgniter.pdf
Benefits and Features of CodeIgniter.pdfBenefits and Features of CodeIgniter.pdf
Benefits and Features of CodeIgniter.pdf
 
Introduction To CodeIgniter
Introduction To CodeIgniterIntroduction To CodeIgniter
Introduction To CodeIgniter
 
Analyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web FrameworksAnalyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web Frameworks
 
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
 
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
 
Application development and emerging technologies.pptx
Application development and emerging technologies.pptxApplication development and emerging technologies.pptx
Application development and emerging technologies.pptx
 
Some Features make CodeIgniter Powerfull PHP framework.pdf
Some Features make CodeIgniter Powerfull PHP framework.pdfSome Features make CodeIgniter Powerfull PHP framework.pdf
Some Features make CodeIgniter Powerfull PHP framework.pdf
 
IRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHP
 
Micro-Frontends JSVidCon
Micro-Frontends JSVidConMicro-Frontends JSVidCon
Micro-Frontends JSVidCon
 
Application development using Zend Framework
Application development using Zend FrameworkApplication development using Zend Framework
Application development using Zend Framework
 
Web Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application ArchitectureWeb Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application Architecture
 
PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniter
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application
 

Recently uploaded

Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 

Recently uploaded (20)

Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 

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: info@dominantinfotech.com Facebook: https://www.facebook.com/Dom inantInfotech/ LinkedIn: https://www.linkedin.com/nhom e/?trk=hb_signin