In codeinighter, is the orm integrated with other frameworks?

Source: Internet
Author: User
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 directlyThat's all!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.