Scaffolding pada Versi 2.0.0

#1
[eluser]d1d1[/eluser]
mau tanya ni om n tante semua.
aku masih bingung dengan versi 2.0.0

sama halnya seperti controller dalam contoh versi 7.1.3 menggunakan Controller

Code:
<?php
class Member extends Controller {
         function index() {
    echo "anak lombok";
    }
    
}
?>

dan di versi 2.0.0 controller menggunakan tambahan sedikit yakni
Code:
<?php
class Member extends CI_Controller {
         function index() {
    echo "anak lombok";
    }
    
}
?>

nah dalam hal contoh sederhana itu sudah tidak ada permasalahan lagi, tapi dalam membuat scaffolding CI saya masih bingung untuk yang versi 2.0.0
adakah yang bisa menjelaskannya?
contoh dalam versi 7.1.3
Code:
<?php
class Member extends Controller {
     function Member () {
     parent::Controller();
     $this->load->scaffolding('member');
   }
    
    function index() {
    echo "anak lombok";
    
    }
    
}

?>

#2
[eluser]nuclearmaker[/eluser]
scaffold deprecated.
dont use scaffold.

#3
[eluser]d1d1[/eluser]
[quote author="nuclearmaker" date="1297062326"]scaffold deprecated.
dont use scaffold.[/quote]

I do more learning CodeIgniter
but what makes me confused, why in version 2.0.0 of this scaffolding can not be like in version 7.1.3

#4
[eluser]JuanitoDelCielo[/eluser]
[quote author="d1d1" date="1297119604"][quote author="nuclearmaker" date="1297062326"]scaffold deprecated.
dont use scaffold.[/quote]

I do more learning CodeIgniter
but what makes me confused, why in version 2.0.0 of this scaffolding can not be like in version 7.1.3[/quote]

Because people missuse this feature. They used to save time and develop quickly, but the code is isecure beause they dont add any validation so to prevent this now is gone Tongue

#5
[eluser]d1d1[/eluser]
ow
okay thanks for your help

#6
[eluser]Mantero[/eluser]
I'm abit amazed you guys here understand indonesia!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.