CodeIgniter Forums
Starting with CodeIgniter setup: suggestions & best practices - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Starting with CodeIgniter setup: suggestions & best practices (/showthread.php?tid=21388)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 11-28-2012

[eluser]pisio[/eluser]
[quote author="Aken" date="1354062391"]CI's active record isn't an ORM. Setters and getters aren't helpful in its case. (Also, __call() is meant for methods, not properties.)

There's no set date for 3.0's release.[/quote]
Code:
class   User_model  extends  CI_Model{
//  construct //
    public function getUsers($params)
{
// $params = array('username','email','website'); //  is stupid to  ask for  md5[password] :)
      $this->data->getUsers =  $this->db->select($params)->get('users')->result();
}
Code:
class User  extends CI_Controller {
//  construct //
   function  listAllUsers()
{
     $this->user_model->getUsers(array('username','email','website','last_active'));
    
$this->load->view('/site/header');
$this->load->view('/site/body/listingUsers');
$this->load->view('site/footer');

}
}
Code:
<?php
//ListingUsers  html
foreach($this->data->getUsers  as $users)
{
print_r($users);

}

?>

That was my idea. I wanted to show you . Smile And tnx... I dont know why i write __call instead __set. Just my bad Smile


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 12-22-2012

[eluser]Dandy_andy[/eluser]
Excellent post thanks. I've been using Codeigniter since May 2012 and it's amazing how much you learn so quickly, but also how much there is still to learn from others.


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 12-26-2012

[eluser]Unknown[/eluser]
Hey Jelmer,
Just found out that dhorrigan has change of identity and now calls himself dandoescode. HIs github page has changed and the uh-oh link is a 404 now.

Please update


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 02-11-2013

[eluser]p5systems[/eluser]
Hi,

Your post is very good for CI beginners .

Can you please explain which ORM library is good for CI ?

Thanks


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 02-22-2013

[eluser]sandeepkhokher[/eluser]
Thanks Smile, It was really good..


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 03-07-2013

[eluser]Mudasir Nazir[/eluser]
Thank you jelmer
thank you for mking this easy for us.


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 04-02-2013

[eluser]Sudz[/eluser]
http://phpcircle.net/content/coding-standards-and-programming-best-practices


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 05-16-2013

[eluser]Unknown[/eluser]
=)


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 05-19-2013

[eluser]Unknown[/eluser]
That’s a really good post, thank!
CodeIgniter = compact + powerful
web The first of me [url="http://giasumoi.vn/home"]http://giasumoi.vn[/url]
I was so happy choice of programming CodeIgniter 2 years ago.


Starting with CodeIgniter setup: suggestions & best practices - El Forum - 06-29-2013

[eluser]Unknown[/eluser]
Nice post! I'm new to CodeIgniter and trying to know more about this framework. Thanks for your grate post!