Hello
I would like to propose to disgust Extended CodeIgniter Application Development Standards
As soon as we agree on something we can then post the new standard on the wiki or even better create a test application template
Here are a few suggestions.
We don’t all use the same authentication method so I think we should come up with a uniform way of authenticating. My suggestion is that we use following:
$this->session->set_userdata(array('uid'=>1));
$this->uid = $this->session->userdata('uid');
where uid 1 is dedicated to the admin.
Any suggestions on this?
==========
We had some great contributions lately. One of my favorites is PQuery the PHP jQuery Ajax library. Great library and very good presentation of the test suite I think we can make contributions easier on the developer and the user.
I suggest we add following definitions to the bottom of each start page index.php most of the time.
define('BASEURL', 'http://'.$_SERVER['HTTP_HOST'].'/');
define('APPURL', BASEURL.str_replace ( $_SERVER['DOCUMENT_ROOT'], '', APPPATH );
define('SITEURL', BASEURL.'index.php/');
Applications test suites could be formated like pquery did, a full application suite added like this.
/system/application/pquery/ then config, controller, etc below that
call the start page pquery.php in place of index.php
this way you can access that test application like this:
http://localhost/pquery.php/
Your prime application does not get effected at all and you don’t have to create a whole new instance of ci.
There is more but I am running out of time besides I like to see how your reaction is to my suggestions so far.
Thanks for taking the time ‘I’ll be back’ ![]()
