Workshop SuBali - CodeIgniter
Upcoming SlideShare
Loading in...5
×
 

Workshop SuBali - CodeIgniter

on

  • 1,637 views

Pengenalan dasar-dasar CodeIgniter

Pengenalan dasar-dasar CodeIgniter

Statistics

Views

Total Views
1,637
Views on SlideShare
1,636
Embed Views
1

Actions

Likes
1
Downloads
35
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Workshop SuBali - CodeIgniter Workshop SuBali - CodeIgniter Presentation Transcript

  • Workshop SuBali Dasar-dasar CodeIgniter Dasar-dasar OOP di PHP Aplikasi sederhana di CodeIgniter
  • About me
    • PHPClasses.org december 2004 winner
    • Mambo CMS core developer, 2005 – 2008
    • Web Developer at Marketing Villas Ltd
    • @adisetiawan
    • [email_address]
    • http://ex3me.org
  • Definisi Web Framework Sekumpulan library untuk mempermudah pengembangan website. Ciri-ciri:
    • Code reuse
    • Architectural paterns
  • Fitur Web Framework
    • Patern (MVC)
    • Database abstraction layer (ActiveRecord,ORM)
    • Template system
    • Security
    • Caching
    • URL Mapping/Routing
  • Beberapa PHP Framework
    • Zend Framework
    • Symfony
    • CodeIgniter
    • Yii
    • CakePHP
  • Mengapa CodeIgniter ?
    • Mudah dipelajari utk pemula
    • Fleksibel (too flexible ?)
    • MVC wannabe
    • Library cukup lengkap
    • Komunitas besar
    • Proven di production
  • Resources
    • User guide : http://codeigniter.com/user_guide
    • PHP Manual: http://www.php.net/manual/en/index.php
  • Dasar OOP di PHP
    • Class dan object
    • Property
    • Method
    • Constructor/Deconstructor
    • Visibility: Public, Private, Protected
    • Static
    • Inheritence
  • MVC Pattern
  • Controller Meng handle request dan memproses serta meneruskan ke model kemudian memformat hasil di views. http://domain/index.php/product/shoes/param1/param2 product = controller shoes = function/method param1 = URI segment param2 = URI segment ...
  • Model Jembatan antara controller dan data/database.
    • CRUD (create,read,update,delete)
    • Auto loading
  • Views Memformat hasil dari model menjadi sebuah output.
    • Template/layout: HTML, XML, plaintext
    • Multiple: header, footer, sidebar, dsb
  • URL Route Merubah default URL dengan pattern tertentu mengunakan wildcard atau regex /product/viewdetail/1 > /product/1 /page/contact > /contact-us.html
  • CodeIgniter Library Kumpulan file-file pustaka yang bisa langsung digunakan
    • Database layer
    • Session
    • Security
    • Email
    • Validasi form
    • Dan banyak lagi..
  • CodeIgniter Helpers Kumpulan fungsi-fungsi kecil untuk task tertentu
    • Date
    • CAPTCHA
    • Download
    • Read/write file
    • Dan banyak lagi
  • Extending CodeIgniter Tidak puas dengan CodeIgniter ?
    • Menambahkan library baru
    • Modifikasi fungsi library yg ada
    • Mengganti/replace library yg ada
    • Extend/replace core classes
    • Hook points
  • MARI KITA CODING :)