Re: Release D 2.101.2

2023-01-02 Thread Mike Bierlee via Digitalmars-d-announce

On Sunday, 1 January 2023 at 06:52:22 UTC, Iain Buclaw wrote:

Glad to announce D 2.101.2, ♥ to the 3 contributors.

http://dlang.org/download.html

This point release fixes a few issues over 2.101.1, see the 
changelog for more details.


http://dlang.org/changelog/2.101.2.html

-Iain
on behalf of the Dlang Core Team


The Windows installer download link is broken on the main page:

https://downloads.dlang.org/releases/2022/dmd-2.101.2.exe


Still says 2022.


Poodinis (DI framework) 8.0.0 released

2016-12-26 Thread Mike Bierlee via Digitalmars-d-announce
Poodinis is a dependency injection framework for the D 
programming language. It is heavily inspired by the Spring 
Framework.


New in this release is value injection. Via injectors you can 
inject value-types such as primitives or structs. Currently a 
value injector using proper-d is available via a satellite 
project.
Also new in this release is the addition of the @PostConstruct 
and @PreDestroy UDAs, which allow you to specify methods which 
should be executed when a dependency is created or removed from 
the container.


All previously deprecated code has been removed in this version. 
For more info, see the changelog.


You can find the project at:
Github: https://github.com/mbierlee/poodinis
D package registry: http://code.dlang.org/packages/poodinis


Re: Getters/setters generator

2016-12-10 Thread Mike Bierlee via Digitalmars-d-announce

On Sunday, 11 December 2016 at 02:17:18 UTC, Mike Parker wrote:
On Saturday, 10 December 2016 at 20:25:05 UTC, Mike Bierlee 
wrote:
On Friday, 9 December 2016 at 10:27:05 UTC, Eugene Wissner 
wrote:
It would generate 2 methods "num": one to set num_ and one to 
get its value.


It would be great if you could generate @properties instead. I 
like the more natural way of accessing those instead of 
getters/setters.


What are properties if not "getters" and "setters"? From the 
original post: "It would generate 2 methods "num": one to set 
num_ and one to get its value."


Two methods named "num". No "get" or "set" in sight.


I was under the impression that you could only access methods as 
if they were fields using the @property attribute. After 
carefully reading the documentation I see this is not the case 
(UFCS does this). Still there are some added benefits from using 
@property to completely threat them as fields. It would be nice 
if you could add @property to the generated getters/setters.


Re: Getters/setters generator

2016-12-10 Thread Mike Bierlee via Digitalmars-d-announce

On Friday, 9 December 2016 at 10:27:05 UTC, Eugene Wissner wrote:
It would generate 2 methods "num": one to set num_ and one to 
get its value.


It would be great if you could generate @properties instead. I 
like the more natural way of accessing those instead of 
getters/setters.


Poodinis (DI framework) 7.0.0 released

2016-09-03 Thread Mike Bierlee via Digitalmars-d-announce
Poodinis is a dependency injection framework for the D 
programming language. It is heavily inspired by the Spring 
Framework.


New in this release is constructor injection. Whenever the 
dependency container resolves a class it creates an instance of 
that class. During creation it attempts to resolve dependencies 
defined in that class' constructor and passes them when created. 
This is done fully automated without the need of UDAs. Of course 
member-based injection is still available too.


Besides constructor injection, all previously deprecated code has 
been removed in this version. For more info, see the changelog.


You can find the project at:
Github: https://github.com/mbierlee/poodinis
D package registry: http://code.dlang.org/packages/poodinis



Poodinis (DI framework) 6.1.0 released

2016-02-09 Thread Mike Bierlee via Digitalmars-d-announce

Poodinis 6.1.0 has been released!

Poodinis is a dependency injection framework for the D 
programming language. It is heavily inspired by the Spring 
Framework.


Most notable in this release is the ability to autowire private 
and protected members. Now you can have proper encapsulation 
again.


Thanks to Extrawurst for implementing this!

(Other) notable changes in this release:
- Added ability to register a type while resolving it.
- Added ability to autowire private fields (Thanks to Extrawurst).
- Fixed registration of application contexts with non-public 
members

More can be found in the changelog.

You can find the project at:
Github: https://github.com/mbierlee/poodinis
D package registry: http://code.dlang.org/packages/poodinis


Poodinis 6.0.0 released

2015-12-28 Thread Mike Bierlee via Digitalmars-d-announce

Poodinis 6.0.0 has been released!

Poodinis is a dependency injection framework for the D 
programming language. It is inspired by the Spring Framework and 
Hypodermic IoC container for C++. Poodinis supports registering 
and resolving classes either by concrete type or interface. 
Automatic injection of dependencies is supported through the use 
of UDAs (Referred to as autowiring).


New in this release:
- Application contexts: Java programmers familiar with the Spring 
Framework should be familiar with application contexts. They 
allow you to set-up complex dependencies through custom defined 
factory methods. Complex dependencies are dependencies which 
require constructor arguments or other sorts of configuration 
before their instances can be used.


You can find the project at:
Github: https://github.com/mbierlee/poodinis
D package registry: http://code.dlang.org/packages/poodinis


Poodinis Dependency Injection Framework v1.0.0 released

2015-03-21 Thread Mike Bierlee via Digitalmars-d-announce
I've just released the first production-ready release of the 
Poodinis Dependency Injection Framework.


Poodinis is mainly inspired by the dependency injection framework 
in Spring. It currently allows you to manually manage 
dependencies and have them be automatically injected into 
components which rely on these dependencies. In the future 
additional support might be added for automatically registering 
dependencies.


You can find the source code at 
https://github.com/mbierlee/poodinis


Let me know what you think!