JiphuTzu / pococapsule

Automatically exported from code.google.com/p/pococapsule
0 stars 0 forks source link

Generate native C++ source code for application assembling/wiring. #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As an option, PocoCapsule may generate source code for wiring beans.
So, the whole structure of bean relations will be rigid after being
compiled and linked into application.

This may be used when PocoCapsule serve only for pure IoC pattern without
configuration purposes. As a benefit we may get a statically linked
application with simplified deployment (as a single executable).

From development point of view, we get quite visual bean relationship
development instead of hardcoding ourselves.

Original issue reported on code.google.com by seasm...@gmail.com on 21 Mar 2010 at 9:44

GoogleCodeExporter commented 9 years ago
This is an already supported feature. We should give more detail description 
plus a
bundled example.

Original comment by kjin...@gmail.com on 25 Mar 2010 at 3:35

GoogleCodeExporter commented 9 years ago

Original comment by kjin...@gmail.com on 25 Mar 2010 at 3:47

GoogleCodeExporter commented 9 years ago
also see issue #17 (http://code.google.com/p/pococapsule/issues/detail?id=17)

Original comment by kjin...@gmail.com on 2 Apr 2010 at 12:53

GoogleCodeExporter commented 9 years ago
Reconsidered this suggestion and feel it makes sense. In 1.0/1.1 (and the 
coming 1.2
as well) releases, as described in previous comments, the generated glue code 
still
rely on the full fledged PocoCapsule core engine (although the XML parsers are 
not
needed) and generated proxies. 

The feature suggested in this issue is to generate actual wiring code that can 
glue
up the application without the proxies and, more importantly, without most part 
(if
not all) of PocoCapsule engine. 

This feature is comparable to some full code generated domain-specific-modeling
development tools/environments. 

Target for 1.3

Original comment by kjin...@gmail.com on 9 Apr 2010 at 8:32

GoogleCodeExporter commented 9 years ago

Original comment by kjin...@gmail.com on 9 Apr 2010 at 8:32

GoogleCodeExporter commented 9 years ago
The enum (such as ) and constant literal could be supported in this feature.

Original comment by kjin...@gmail.com on 14 Apr 2010 at 7:07