11 Comments
- DeathRay2K, on 07/23/2008, -0/+4PHP is already incredibly easy, especially compared to ASP.
- JMowery, on 07/23/2008, -0/+2@DeathRay2K, I tend to agree. But the main issue I've had with PHP is trying to integrate that with MySQL. It has been very difficult. That is the primary reason I like CodeIgniter so much. It makes the database management much more easy. :)
- weneedsound, on 07/23/2008, -1/+3Are you serious? PHP is practically married to *SQL. Call your connect function, pass the handle to your query function and receive your output array. You basically type up standard SQL queries and pass them to directly *SQL. If anything using CodeIgniter makes working with SQL harder as you have to learn its abstraction layer.
- JMowery, on 07/23/2008, -1/+3@Kinsbane, at no point in that article did I state that CodeIgniter could not connect to a database automatically. If the information is wrong, than that should be taken up with the author of the other articles. I presented my opinions, and as a journalist, I will present the opinions of others. I actually defended CodeIgniter from those statements.
But do not dare say that I claimed that the database could not be automatically connected. That is entirely false, and I don't appreciate you spreading false information. - myhandleondigg, on 07/23/2008, -0/+2Am I doing something wrong or do the videos on the CodeIgniter site not work at all?
- Vindicoth, on 07/22/2008, -1/+3I felt like I was reading an Advertisement.
- mattletron, on 07/23/2008, -0/+1They are in quicktime format. I am using Firefox 3 and have Quicktime installed and the videos play for me.
- Aeaus, on 07/23/2008, -0/+1"They don't connect to the DB automatically, so you must also do this. Therefore, you must also close the DB connection."
You don't expect the Database Driver to automatically resolve your username, database and brute your password do you? CI can connect to the database, check the autoloader class and documents if you need help there. - myhandleondigg, on 07/23/2008, -0/+1whoa nelly
- mattletron, on 07/23/2008, -1/+1http://www.php.net/manual/en/book.mysql.php
- Kinsbane, on 07/22/2008, -2/+1The author is incorrect in stating that CodeIgniter cannot load and connect to a database automatically.
Referring to here: http://codeigniter.com/user_guide/database/connect ...
The documentation does not say if database connections are automatically closed, however, a quick search or query of the forums could most likely provide the answer.
Also, he quotes someone in saying that models must be manually loaded, but this is also incorrect - models can be loaded in the autoloader, as referenced here: http://codeigniter.com/user_guide/general/autoload ...


What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the