Welcome Guest, Not a member yet? Register   Sign In
Doctrine integration
#2

(This post was last modified: 11-17-2019, 04:41 AM by MGatner.)

THere's probably going to be a lot of collision that will have to be handled. I haven't ever used Doctrine, but from your example above it looks like Doctrine might need its own APPPATH? That would cause problems with the framework for sure. I would recommend looking into Composer integration for starters, as that will handle the autoloading. Also read up on namespaces and how CI4 is different than CI3 when it comes to loading and the super object (e.g. you can't use $this->doctrine):
https://codeigniter4.github.io/CodeIgnit...dules.html

I guess I should add that I have a module to help with adding relationship loading to CI4. I'm not a fan of ORM but this might get at some of the eager/lazy loading and easy access that ORMs provide:
https://github.com/tattersoftware/codeig...-relations
Note that there's a major release in the works on branch develop, so the current stable release will differ some.
Reply


Messages In This Thread
Doctrine integration - by ScientiFist - 11-16-2019, 08:26 PM
RE: Doctrine integration - by MGatner - 11-17-2019, 04:39 AM
RE: Doctrine integration - by InsiteFX - 11-17-2019, 04:50 AM
RE: Doctrine integration - by ScientiFist - 11-17-2019, 05:58 PM
RE: Doctrine integration - by MGatner - 11-17-2019, 05:10 AM
RE: Doctrine integration - by MGatner - 11-18-2019, 05:31 AM
RE: Doctrine integration - by ScientiFist - 11-18-2019, 10:34 AM
RE: Doctrine integration - by jasonzig - 11-29-2019, 08:20 AM
RE: Doctrine integration - by MGatner - 11-18-2019, 04:24 PM
RE: Doctrine integration - by ScientiFist - 11-26-2019, 06:29 PM
RE: Doctrine integration - by ScientiFist - 11-30-2019, 07:25 AM
RE: Doctrine integration - by MGatner - 12-01-2019, 05:36 AM
RE: Doctrine integration - by troturier - 12-06-2019, 06:28 AM
RE: Doctrine integration - by ScientiFist - 03-17-2020, 07:06 PM
RE: Doctrine integration - by foxbille - 05-10-2024, 11:51 PM
RE: Doctrine integration - by kenjis - 05-11-2024, 02:17 AM
RE: Doctrine integration - by foxbille - 05-11-2024, 05:24 AM
RE: Doctrine integration - by kenjis - 05-13-2024, 06:57 PM
RE: Doctrine integration - by foxbille - 05-18-2024, 09:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB