I was searching for a good php framework for my next project, and I found that CodeIgniter is suitable, but I read this somewhere “codeIgniter has No ORM(Object Relational Mapping), No AJAX support”, is that right?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
TRUE. But it has a nice and handy custom Active Record class which acts as an ORM, supporting many database drivers; as of 2.0.3, supported databases are mysql, mysqli, postgre, odbc, mssql, sqlite, oci8.
And, if you want, you can just add your favourite ORM to the libraries or drivers and you can use that instead. There are many tutorials out there and answers on SO if you’re stuck with this procedure, though it’s pretty easy and the manual is really clear on how to create/use custom libraries.
Whatever this means, it’s not true. CI is a php framework for web development, so write your javascript ajax code inside views, call the right controller’s method, and AJAX will work just fine.
If you mean there’s no native support for that, i.e. using native classes to the task, then it’s partly right. CI has the javascript class which is a loader/helper for jQuery; I never used it since I prefer loading that framework by myself and working directly on that, but you might give it a try.