- Are there grocerycrud functions that would not work properly with hmvc installed?
Yes, there are. As you mention, callback on set_rules() function. This is related to CodeIgniter form_validation class. You can apply this: http://www.mahbubblo...in-codeigniter/ or http://www.grocerycr...tion/#entry3020. However you will need to rewrite some of your existing code.
Or you might also want to try this solution (I apply it to No-CMS and it is work):
- Add this file: https://github.com/g..._validation.php and this file: https://github.com/g...rocery_CRUD.php
- Make a MY_Controller.php in /application/core, and put this:
class MY_Controller extends MX_Controller{ public function __construct__(){ $this->load->library('form_validation'); $this->form_validation->CI =& $this; $this->load->library('Extended_Grocery_CRUD'); // resolve HMVC set rule callback problem $crud->form_validation = $this->form_validation; } }
- What are some things we should remember to do or not do when we use codeigniter/hmvc/grocercrud?
Just as my answer for your first question.
- Does grocerycrud work better and faster with hmvc libraries installed in codeigniter?
No, it is a bit slower since HMVC not only check "application" directory, but also everything in "modules" directory. But not that slow...