Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

We are in the business of building customizable web applications. We have the core team that provides what we call as the core platform (provides services like security, billing etc.) on top of which core products are built. These core products are industry specific solutions like telecom, utility etc. These core products are later used by other teams to build customer specific solutions in a particular industry.

Until now we have a loose separation between platform and core product. The customer specific solutions are build by customizing 20-40% of the core offering and re-packaging. The core-platform and core products are released together as monolithic apps (ear).

I am looking to improvise the current situation so that there is a cleaner separation on these 3. This allows us to have evolve each of these 3 separately etc.

I've read through the Mircokernel architecture and kind of felt that I can take apply the principles in my context. But most of my reading about this pattern is always in the context of operating systems or application servers etc. I am wondering if there are any examples on how that pattern was used for architecting business applications. Or you could provide some insight on how to apply that pattern to my problem.

share|improve this question

migrated from stackoverflow.com Nov 9 '12 at 5:19

This question came from our site for professional and enthusiast programmers.

    
viralpatel.net/blogs/… –  Robert Harvey Nov 9 '12 at 0:15
    
stackoverflow.com/q/7359533 –  Robert Harvey Nov 9 '12 at 0:16
    
@RobertHarvey read that not much info there –  Pangea Nov 9 '12 at 0:26
    
I'm thinking about moving this to Programmers.SE. I don't think it's going to get much love here. –  Robert Harvey Nov 9 '12 at 0:34
    
@RobertHarvey pls go ahead and move there –  Pangea Nov 9 '12 at 0:37

1 Answer 1

This is a "Module" pattern, as well as a "People" pattern - your code may look different as well but that's not where the meat of the difference lies. I think you understand what the pattern is given the situation you're trying to apply it to.

Actually applying it would look like the following:

Assume the Core Platform's the lowest layer in your "stack".

In code, these three layers would be in different packages - which you probably already have. Make certain that no layer below makes any specific reference to or has a dependence on something in the layers above. That will protect your Platform from complexities of your Products and Customer specific stuff. Create some series of Facades and other simple abstractions between any layer and the ones below it. For example, my Facade to a database Module in the Core Platform may consist of a Factory that will generate an instance that adheres to a "DataSource" interface, as opposed to someone on your Core Product team directly reaching into the Core Platform (not through the Facade) and concretely instantiating a SQLDatabaseSource instead. This will protect your Product and Customer layers from changes in the implementation of your Platform.

Secondly, the teams must be structured to communicate effectively in a manner conceptually matching this "downstream" approach. The Platform team must show interest in what features the Product teams need the most, cleanly document how to use them, and cleanly design them so that the Customer team doesn't have to tightly couple their implementation to it. They also have to make it clear the ways in which they are unwilling or unable to accomodate the teams downstream. Perhaps they will have the slowest cycles, as opposed to your Customer team, whose lower number of stakeholders (1 customer company as opposed to the 100 your platform team may ultimately serve) allows for faster iterations.

In light of all this, I think you may want to re-think the name "Core Products", because it's just confusing that you're building "Core" products on top of "Core" platform. Core means inside, so only one can be that.

Cant believe they took this off stackoverflow

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.