[Development] Proposal: Adding dependency injection to Qt
Filippo Cucchetto
filippocucchetto at gmail.com
Thu Aug 18 13:50:23 CEST 2022
Isn’t this more an object pool rather than a dependent Injection framework?
Il giorno lun 15 ago 2022 alle 10:33 Hamed Masafi <hamed.masafi at gmail.com>
ha scritto:
> Hi
>
> I guess you all know what a dependence is, so I skip ahead. But there's a
> lot of significance in programming these days.
> Because of the QML, programs have become two parts now, and we no longer
> have a complete control of the tree - structure of objects. That's why we
> need to get an injection mechanism in Qt.
> I already wrote a simple and easy to use library to use on business
> projects where I worked. I'd like to propose this library to add in Qt.
>
> Why:
> - Designed and written entirely for Qt.
> - Some of the APIs were inspired from .NET dependency injection.
> - It's simple.
> - It's tested.
>
> Where:
> The source is in this github repo:
> https://github.com/HamedMasafi/QInjection
>
> How:
> - No changes will be made to the Qt structure and only a few files will
> be added. So the ABI structure will be kept.
> - If the first agreement comes to that, I can start the process of being
> added to Qt.
>
> Let me know your opinion on that.
>
> BR
> Hamed Masafi
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
>
--
Filippo Cucchetto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220818/f4e088d5/attachment.htm>
More information about the Development
mailing list