codeigniter
TRANSCRIPT
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
MIDHUN [email protected]@facebook.c
om twitter.com/midhunopusin.linkedin.com/pub/midhunsudhakar/86/
a65/a9b/Phonenumber
9995586182
CODEIGNITER
CONTENT
Introduction to CodeIgniter
•Open source PHP web application framework •Rapid development
•Provides logical structure , reusable interface
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
Folder structure in codeIgniter
•This folder contain number of configuration files.
they are: config.php autoload.php database.php routes.php
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
autoload.phpspecifies which systems should be loaded by default.
These are the classes located in the system
Auto-load Helper Files
database.phpcontain the settings needed to access your database.
routes.phpThis file lets you re-map URI requests to specific controller
indicates which controller class should be
loaded
folder structure in codeIgniter•It is a class file•That controls and co-ordinates view and model.
folder structure in codeIgniter
•Model is also class which handles database operations.
folder structure in codeIgniter
•Its a web page called by controller
folder structure in codeIgniter
•It contain all the helper and libraries located.
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
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
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.
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
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