Continued maintenance! #255
Replies: 1 comment
-
@philipobenito hi Phil, glad to hear you're doing better. 🙂 This might be slightly off-topic, but I am currently trying to drum up interest in a new PSR standard for service providers. As you might know, there was an older Service Providers PSR proposal, which ran in parallel (and long after) the work on PSR-11 containers, but never really went anywhere. The most recent format under discussion is basically an annotated factory-class, which (with some constraints) could be made into a standard that is suitable both for compiled and dynamic containers (and for people) or at least that's my hope. 🙂 If you're interested, please chime in on the FIG forum thread where you can find a few more details about this idea as well. It is very early and just a very rough idea, but FIG Core member Ken Guest said he likes the idea. It would be great to have your voice, as a PSR effort is unlikely to happen without some indication of interest from the major frameworks and DI containers. My own interest in this, is I'm currently building a library that requires a lot of intricate bootstrapping - having to write and maintain bootstrapping for every framework/container is just not fun or practical. I'm hoping we could fix that, for the community, at large. You probably don't know me, but I worked on the PSR-11 standard and I've also written a DI container you've never heard of. 😄 Cheers and good health! |
Beta Was this translation helpful? Give feedback.
-
Hi, I just wanted to make a quick post about continued maintenance and what's been happening.
Without going in to detail, I've been dealing with health issues for the past 2-3 years, things are improving now so there will be more activity going forward.
The short term plan for container is as follows:
A v5 release will be tagged next week, this will not change the public API in any way but will include:
Quickly following that will be a minor release including:
Hopefully within the next month, I will be releasing a feature that I've been working on and off with since before I disappeared (more below).
Compiled Containers
I've been working on a compilation tool to allow for the compiling of a PSR-11 compliant container from the config you bootstrap in your application in definitions and service providers.
Once complete, and tested, it will analyse your built container, and create a class with methods to
get
any dependency definition you have created by directly instantiating objects and their dependencies.This should result in huge performance boost when deploying large applications to production, as it will negate the need to execute any bootstrap code for the container.
Thanks for your patience in this.
Much love,
Phil
Beta Was this translation helpful? Give feedback.
All reactions