SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Co|Create Website Documentation Guidebook
Co|Create Website Documentation GuidebookCo|Create Website Documentation Guidebook
Co|Create Website Documentation GuidebookJon 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-20142Ly Nguyen Bui
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management systemYesu 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 4Untung 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 applicationsJohn 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 DeveloperKarthik Reddy
 
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-enbbenthach
 
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 FlexMatthias Zeller
 
Box Platform Developer Workshop
Box Platform Developer WorkshopBox Platform Developer Workshop
Box Platform Developer WorkshopJonathan 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 CakePHPEdureka!
 
Know, Share, Do - Custom Apps
Know, Share, Do - Custom AppsKnow, Share, Do - Custom Apps
Know, Share, Do - Custom AppsTIMETOACT 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 serverEduardo 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 CitizensMike Taylor
 

Tendances (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
 

Similaire à CODE IGNITER

Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginneraminbd
 
Company Visitor Management System Report.docx
Company Visitor Management System Report.docxCompany Visitor Management System Report.docx
Company Visitor Management System Report.docxfantabulous2024
 
Analyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web FrameworksAnalyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web FrameworksIRJET 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
 
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
 
Application development and emerging technologies.pptx
Application development and emerging technologies.pptxApplication development and emerging technologies.pptx
Application development and emerging technologies.pptxMichael 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.pdfMoon 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 PHPIRJET Journal
 
Micro-Frontends JSVidCon
Micro-Frontends JSVidConMicro-Frontends JSVidCon
Micro-Frontends JSVidConAmir Zuker
 
Application development using Zend Framework
Application development using Zend FrameworkApplication development using Zend Framework
Application development using Zend FrameworkMahmud 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 ArchitectureVersatile Mobitech
 
PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterKHALID C
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application Dharmendra Sid
 

Similaire à 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
 

Dernier

Mastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxMastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxAS Design & AST.
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesVictoriaMetrics
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptxVinzoCenzo
 
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxUnderstanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxSasikiranMarri
 
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...kalichargn70th171
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdfAndrey Devyatkin
 
Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxRTS corp
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldRoberto Pérez Alcolea
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...OnePlan Solutions
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITmanoharjgpsolutions
 
Zer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfZer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfmaor17
 
Effort Estimation Techniques used in Software Projects
Effort Estimation Techniques used in Software ProjectsEffort Estimation Techniques used in Software Projects
Effort Estimation Techniques used in Software ProjectsDEEPRAJ PATHAK
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jNeo4j
 

Dernier (20)

Mastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxMastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptx
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 Updates
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptx
 
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxUnderstanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
 
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
 
Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptx
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh IT
 
Zer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfZer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdf
 
Effort Estimation Techniques used in Software Projects
Effort Estimation Techniques used in Software ProjectsEffort Estimation Techniques used in Software Projects
Effort Estimation Techniques used in Software Projects
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
 

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