Codeigniter

585 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
585
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Codeigniter

  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. MIDHUNSUDHAKAR midhusudhakaran@gmail.com Midhun.sudhakar.73@facebook.com twitter.com/midhunopus in.linkedin.com/pub/midhunsudhakar/86/a65/a9b/Phonenumber 9995586182 CODEIGNITER
  3. 3. CONTENT
  4. 4. Introduction to CodeIgniter •Open source PHP web application framework •Rapid development •Provides logical structure , reusable interface
  5. 5. 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
  6. 6. Folder structure in codeIgniter •This folder contain number of configuration files. they are: config.php autoload.php database.php routes.php
  7. 7. 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
  8. 8. autoload.php specifies which systems should be loaded by default. These are the classes located in the system Auto-load Helper Files
  9. 9. database.php contain the settings needed to access your database.
  10. 10. routes.php This file lets you re-map URI requests to specific controller indicates which controller class should be loaded
  11. 11. folder structure in codeIgniter •It is a class file •That controls and co-ordinates view and model.
  12. 12. folder structure in codeIgniter •Model is also class which handles database operations.
  13. 13. folder structure in codeIgniter •Its a web page called by controller
  14. 14. folder structure in codeIgniter •It contain all the helper and libraries located.
  15. 15. 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
  16. 16. 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 class 2. represents the class function, or method 3. any additional segments, represent the ID and any variables
  17. 17. 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.
  18. 18. 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
  19. 19. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us

×