Hiall, I don't know if anyone has tried to integrate the orm of other frameworks in CI? When I use codeinighter, I feel that the pure Activerecord cannot meet the development efficiency requirements completely. After the project is written, many data needs to be manually piled up by myself, I feel like I put it in a class in a unified way... hi all,
I don't know if anyone has tried to integrate the orm of other frameworks in CI?
When I used codeinighter, I felt that the simple Active record could not meet the development efficiency requirement. After the project was written, a lot of data had to be manually piled up by myself, it is more convenient to manage a class in a unified manner, such as using the orm mode.
I have read the yii AR and laravel eloquent, and I think they all look pretty good. I want to integrate the AR of YII. I wonder if no one has tried it?
Reply content:
Hi all,
I don't know if anyone has tried to integrate the orm of other frameworks in CI?
When I used codeinighter, I felt that the simple Active record could not meet the development efficiency requirement. After the project was written, a lot of data had to be manually piled up by myself, it is more convenient to manage a class in a unified manner, such as using the orm mode.
I have read the yii AR and laravel eloquent, and I think they all look pretty good. I want to integrate the AR of YII. I wonder if no one has tried it?
Update: I created a CodeIgniter 2 with Laravel Eloquent
I once thought about doing this, and then I was ready to do it:
I think, although the CI routing performance is good, there are few supported modes, and all the Mappings in one brain are prone to security problems. It is better to change the mode;
So I found Pux, and later I found that the C extension version is really pitfall. I should use PHP for deployment;
After a while, Pux and MVC Architecture are ready;
Then I found that the ORM on the market is very complicated. It is better to write three lines of Eloquent or even a sentence in CI;
Fortunately, the powerful namespace allows Eloquent to be used independently, so I introduced the Laravel package;
It seems that when everything is ready, I found that I still want to switch the configuration file, page group filter, front processor, and post processor;
I also want to use Redis, memcache, the Queue system, and a powerful template engine;
Then, I found that I TMD
Use Laravel directly
That's all!