modularity

Extending modular approach of PRISM (CompositeWPF)

The native PRISM's modulariy mechanism support loading modules by path to assembly, containiтg this module. I want to have availability to store modules' views (XAML) in database in order end user could change and customize them. Database is chosen as it is simpler to store and retrieve information and requires no recompilation and makin...

Autoloading modularity/widgets in PHP, CodeIgniter/Kohana

Hello, I was looking on many template libraries, som I have fair mess in general idea what is out there ready to download/use and what I want to use, so maybe you could help me with this. I'm currently learning CodeIgniter, thinking about moving to Kohana later. I would like to include controllers/modules(/module function maybe?) based...

PHP/MySQL database design for various/variable content - modular system

Hello, I'm trying to build (right now just thinking/planning/drawing relations :] ) little modular system to build basic websites (mostly to simplify common tasks we as webdesigners do routinely). I got little stuck with database design / whole idea of storing content. 1., What is mostly painful on most of websites (from my experience...

I'm using SQL UDF's to encapsulate simple reporting/business logic. Should I avoid this?

I'm building up a new database in SQL Server 2008 for some reporting, and there are many common business rules pertaining to this data that go into different types of reports. Currently these rules are mostly combined in larger procedural programs, in a legacy language, which I'm trying to move over to SQL. I'm shooting for flexibility...

Can OSGi help reduce complexity?

I saw lots of presentations on OSGi and i think it sounds promising for enforcing better modularization. Apparently "hotdeployment" and "running different versions of x in parallel" are mayor selling points too. I wonder whether what OSGi promises to solve is even an issue...? It reminded me of the early days of OO when similar claims w...

How to achieve modularity structure of app subcomponents on Android?

My Android main application will consist in a main program, with a few pre-installed modules. Then I want to offer different modules later, best would be as separate files. Modules like: location, weather, agenda. How would you accomplish this? I want to keep in the database the modules that are installed/present. So I must put someti...

Does rails3 provide any hooks for dropping in pluggable, re-usable components?

What efforts have been made in rails 3 to encourage code re-use? Is there anything akin to merb slices / engines built into the framework that would allow me to drop in a configurable component such as a 'blog' engine? If so, what is considered best practice? ...

Example of modular game engine?

I found this a very interesting read: http://www.devmaster.net/articles/oo-game-design/ The author repeatedly says "Wow, this could be great, if implemented carefully. This is the future!". Well, not very useful. I need code, and most of all, I need a proof that this kind of design actually works. Do you know of an example which implem...

Clear tutorial explaining modular programming in C?

I'm just getting started with modular programming in C. I think I'm doing something wrong with the inclusions, because I'm getting a lot of conflicting types for 'functionName' and previous declaration of 'functionName' was here errors. I did put inclusion guards in place. Do you know a clear tutorial that explains modular programming i...

WPF unity Activation error occured while trying to get instance of type

I am getting the following error when trying to Initialise the Module using Unity and Prism. The DLL is found by return new DirectoryModuleCatalog() { ModulePath = @".\Modules" }; The dll is found and the Name is Found #region Constructors public AdminModule( IUnityContainer container, IScreenFactoryRegistry...

What is the best way to manage configuration data

hello i am working on a product suite which has 4 products. Right now, all the configuration data is either in the xml or properties files.This approach is not maintainable as we have to have to manage different configuration file for different environment(production,development etc). So, what is the best way to handle configuration dat...

Some solid OOP criticism?

Hi! I want to ask you to provide me with some articles (maybe books), which you possibly have found very convincing criticising the OOP methodology. I have read some in the WWW on this topic and I didn't really find a 'definitive demotivator'. It's not much about my personal attitude to the OOP, but I really would like to have somethi...

Allow for modular development while still running in same JVM?

Our current app runs in a single JVM. We are now splitting up the app into separate logical services where each service runs in its own JVM. The split is being done to allow a single service to be modified and deployed without impacting the entire system. This reduces the need to QA the entire system - just need to QA the interaction ...

In an ASP.NET Web Site Project, what is the best option to manage modular widgets

We are creating a modular Web Site Project and all the UI is based on simple html pages with javascript widgets. These widgets obtain the data from a WCF class located in the app_code folder. This class is generic and works for all widgets, but needs to instantiate specific classes for each widget and those classes need to be distribut...

Best Practice for Shell Layout and Switching Views - Prism, SL4, On Demand Load Modules

I am learning Prism, and I have a question on the best approach for the main Shell. Assuming the Shell has 2 regions: Toolbar, Main. The toolbar has 3 main buttons that each represent a different On Demand Load Module. Each of these modules currently register themselves as fitting in the Main Region. When I click one of the buttons I ...

Configuring IoC container from modules/plug-ins ?

Hi guys, i am in big dilema.. I am working on highly modular web app in ASP.NET MVC 2 (in fact, core will be super lightweight, all work on modules/plugins). I found MEF pretty useful for modules discovery, but i dont want to us it as IoC container. There is pretty good chance that I will need advanced features of "true" IoC container, s...

How to find unneccesary dependencies in a maven multi-project?

If you are developing a large evolving multi module maven project it seems inevitable that there are some dependencies given in the poms that are unneccesary, since they are transitively included by other dependencies. For example this happens if you have a module A that originally includes C. Later you refactor and have A depend on a mo...

Advice for keeping large C++ project modular?

Our team is moving into much larger projects in size, many of which use several open source projects within them. Any advice or best practices to keep libraries and dependancies relatively modular and easily upgradable when new releases for them are out? To put it another way, lets say you make a program that is a fork of an open sourc...

Book on rendering e-book/document formats

I'm looking for guidelines/best practices for building software architecture of a document rendering software. For example, something on how to create a modular software to be able to parse/render various document formats. Can you recommend any books/web sources? ...

Zend Framework Application: module dependencies

How do you handle dependencies between modules in Zend Framework to create reusable, drop-in modules? E.g. I have Newsletter module, which allows users to subscribe, providing e-mail address. Next, I plan to add Blog module, which allows to subscribe to posts by e-mail (it obviously duplicates some functionality of the newsletter, but ...