[ovirt-devel] Thoughts on modularization

Vojtech Szocs vszocs at redhat.com
Fri Nov 7 14:50:05 UTC 2014



----- Original Message -----
> From: "Sven Kieske" <s.kieske at mittwald.de>
> To: devel at ovirt.org
> Sent: Wednesday, November 5, 2014 5:36:39 PM
> Subject: Re: [ovirt-devel] Thoughts on modularization
> 
> 
> 
> On 05/11/14 17:07, Vojtech Szocs wrote:
> > This way, you'd have one "core" module, providing most general
> > functionality/abstractions. Then you'd have more specific modules,
> > plugged into "core" module's API etc. In other words, hierarchy of
> > modules. This is essentially modularization taken to extreme :)
> 
> Welcome to dependency hell or circular dependencies etc.

Just because the problem of circular dependencies exists, doesn't
mean we shouldn't try to build systems utilizing dependencies. It
can be solved/addressed.

"Division by zero" is a known problem in integral arithmetic, but
it doesn't prevent calculator manufacturers from producing simple
calculators, right?

> 
> would you like to code your own dependency resolver?

No, I'd like to use what's already available.

http://requirejs.org/
http://www.2ality.com/2014/09/es6-modules-final.html

> 
> I like modularization, but you can overengineer everything.

I don't consider modular architecture as over-engineering. If
we define modules on reasonable level of granularity, the end
result might be better than one big monolithic GWT application.

> 
> --
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel



More information about the Devel mailing list