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