Can someone describe pros and cons of both methods, and when you prefer one over another?
interface IService
{
object GetSomething();
}
class Service:IService{...}
DI
Container.Register<IService, Service>();
class A
{
public A(IService service)
{
_service = service;
}
}
Global
class Config
{
publi...
Hi All,
Which book you suggest by which any bit experienced MFC programmer can learn much dipper, about internal design or architecture and structures and how the whole things works.
If anyone knows any book or online reference...
Thanks,
Bhavesh Bagadiya
...
What are the different architectures for developing professional and organized Java Web Applications? I have heard about MVC architecture, what architecture else does, for example, Stackoverflow, google, orkut, etc.. use for a scalable, robust and easily-maintainable-from-the-developers-point-of-view, exist!
...
In the company that I work for we have several web-based applications that require charting of data in one form or another. We are therefore investigating different ways of reusing the efforts we put into providing charts. As far as we have come there seems to be an architectural divide in that we can either use the same charting compone...
I was talking with a recruiter about an opportunity where paired programming is used.
To me there are some concerns about two senior developers working together, as I expect I would be reading while the other is working.
But, as I talked with this recruiter I had a vision of a way that paired programming could be useful, if there was a...
Based on the different views documented in SAD which RUP roles should should be responsible for creating the SAD? I thought from the beginning that the SAD was only for a technical audience but from what i can see in RUP it is more than that so it seems like it is not only the Software Architect that should be involved.
...
Dear Stackoverflow Readers,
I am willing to learn about different architectures of highly scalable web applications like gmail, google, youtube, amazon, orbitz, linkedin, ebay etc. and would certainly appreciate if someone can point me to some online resource/book from where I can learn about details of their architecture and trade off...
"An architectural pattern expresses a fundamental structural organization schema for a software system".
There are software systems that can be described as finite-state machines (specially many real-time systems and embedded systems), if we consider the previous description given in the first paragraph for an "architectural pattern", ...
Give us your opinion about how you define a Flash Lite project for a complex application with many different views.
Do you use :
1) attachMovie with each different views in movie clips in the library
unloadMovie to switch to another view
?
2) timeline ... you use gotoAndStop() ?
the main problem of this, is when you use createEmptyMovi...
I have a three layered Java application consisting of a presentation layer, a business layer, and a data access layer. In my application, the business layer contains what I am calling service classes and my data access layer contains what I'm calling data access classes. I am using Spring for dependency injection and to manage database t...
Hi
Im new to the DDD thing. I have a PROFILE class and a PROFILE REPOSITORY CLASS.
The PROFILE class contains the following fields -> Id, Description, ImageFilePath
So when I add a new Profile, I upload then image to the server and store the path to it in my db.
When I delete the profile, the image should be removed from my file syste...
I'm trying to work out in my head the best way to structure a Cocoa app that's essentially a concurrent download manager. There's a server the app talks to, the user makes a big list of things to pull down, and the app processes that list. (It's not using HTTP or FTP, so I can't use the URL-loading system; I'll be talking across socket c...
I have a portfolio made in C#/ASP.NET which started off small but, as it is selling myself, it has grown in size very quickly.
I started off with using ASP.NET webforms model but this has meant that some of my code is in class libraries (.dlls) and some in page codebehind.
I want to fix this (no defined stucture), but without the overh...
I've seen several articles on various websites that propose resolving circular dependencies between .NET assemblies by using dependency injection. This may resolve the build errors but it's not really resolving the circular dependency, is it? To me, there seems to still be a logical error in the architecture. Am I crazy or do others a...
I have made a very basic paint brush application in java.
I want to enhance this application to be shared across users on the internet so that we can simultaneously share the instance and work collaboratively on the paint screen.
[i got this idea form the doodle work env in yahoo messenger]
I am not sure if this would be acheived by ne...
It's a somewhat broad question, and for that I apologise, however I am struggling to get to grips with an approach for turning an overly complex (read: poorly designed) ASP.NET WebForms application into something more maintainable. I believe it can be transformed into something which is largely event-driven.
I don't mean events as in th...
Dear Stackoverflow Readers,
I looking for some really good must have books/online resources for Software Architecture. I am willing to understand different Software Architectural Concepts and learn more about them so would certainly appreciate if someone can point me to appropriate resources.
Thanks,
Rachel
...
I'm building a Zend-based Web app that will permit third-party extensions.
Essentially, this application's database will have a generic "content store." Extensions are added to render different pieces of content in different ways.
Think of a rich mail store: When the user asks for a "Calendar" item, I instantiate a Calendar class (or s...
Dear Stackoverflow Readers,
Please comment your votes on how true is following statement:
"Software Design is Trial and Error Approach"
Regards,
Rachel
...
In my project, i am finding the need to break my aggregate in a hierarchical fashion, with top root level aggregate, which ensures consistency of rules at root level, and then my objects under the root, can be sub grouped into various aggregates. When calculating the integrity of root level aggregate, the root validates it's own rules an...