Top Banner
20
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Codeigniter
Page 2: Codeigniter

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

MIDHUN [email protected]@facebook.c

om twitter.com/midhunopusin.linkedin.com/pub/midhunsudhakar/86/

a65/a9b/Phonenumber

9995586182

CODEIGNITER

Page 4: Codeigniter

CONTENT

Page 5: Codeigniter

Introduction to CodeIgniter

•Open source PHP web application framework •Rapid development

•Provides logical structure , reusable interface

Page 6: Codeigniter

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

Folder structure in codeIgniter

•This folder contain number of configuration files.

they are: config.php autoload.php database.php routes.php

Page 8: Codeigniter

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

autoload.phpspecifies which systems should be loaded by default.

These are the classes located in the system

Auto-load Helper Files

Page 10: Codeigniter

database.phpcontain the settings needed to access your database.

Page 11: Codeigniter

routes.phpThis file lets you re-map URI requests to specific controller

indicates which controller class should be

loaded

Page 12: Codeigniter

folder structure in codeIgniter•It is a class file•That controls and co-ordinates view and model.

Page 13: Codeigniter

folder structure in codeIgniter

•Model is also class which handles database operations.

Page 14: Codeigniter

folder structure in codeIgniter

•Its a web page called by controller

Page 15: Codeigniter

folder structure in codeIgniter

•It contain all the helper and libraries located.

Page 16: Codeigniter

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

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

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

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

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