Framework: CodeIgniter

June 23rd, 2016  Posted at   Lesson Web

CodeIgniter adalah PHP frameworks. CodeIgniter diperkenalkan pada tahun 2006. CodeIgniter perlu di download di codeigniter.com. CodeIgniter menggunakan sistem MVC (Model-View-Controller). Di dalam sistem CodeIgniter terdapat tiga folder utama iaitu controllers, models dan views.

Code di folder controllers, Blog.php

Code di folder models, Profile.php

Code di folder views, header.php

Code di folder views, blog_views.php

Contoh

  1. http://shahrulnizam.com/web/codeigniter/index.php/blog
  2. http://shahrulnizam.com/web/codeigniter/index.php/blog/controllers/Shahrul
  3. http://shahrulnizam.com/web/codeigniter/index.php/blog/views/Shahrul
  4. http://shahrulnizam.com/web/codeigniter/index.php/blog/models

Penerangan lanjut di

  1. http://tutorialcodeigniter.com/beginners/creating-controller.html
  2. http://tutorialcodeigniter.com/beginners/creating-view.html
  3. http://tutorialcodeigniter.com/beginners/creating-model.html

Leave a Reply

What is 5 + 8 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)