In my company they are finally (about time...) considering to convert one of our best selling apps from a 2-tier to 3-tier architecture, both on logical (Presentation, Business and Data layers) as well as physical level. Probably we will go for either a Delphi-Delphi-Oracle or a Delphi-Java-Oracle approach for the change.
This is a rel...
I am a PHP developer, I read about J2EE technologies and I want to implement such technologies( n-tier, EJB, JPA...) with PHP and all what coming with ( MySQL, Apache..).
...
Hi All,
This is not an homework. But an practice to understand what are the best practices to design , implement and unit test a particular scenario and so discussion explaining why a particular approach was taken as compared to other would be really helpful from understanding point of view to gain better understanding of how to approa...
I'm writing an ASP.NET MVC site where I want to display a CAPTCHA when content that a user submits fails my Akismet spam check. I know how to display the CAPTCHA, but I'm having trouble imagining and planning the architecture for this. Here's what I'm currently thinking:
User submits content via HTTP POST
The action that handles the su...
Scenario
One warehouse, suppliers and consumers. One supplier can produce only one type of stuff. One consumer can also consume only one type of stuff. The warehouse knows about suppliers and consumers, but none of them is aware about each other.
How can I Design the interfaces for all actors in this scenario and simulate it using gen...
I have a special list (a sort of queue, as in the data structure, not as in a work queue) that I want to store in MongoDB. I need to access and manipulate this single list often in my application - and I don't have several of the same type of list.
It would be easiest to store it in a single document, but the problem I'm having is figur...
Hello
I am making a proof of concept-application that maybe one day will be a source of income.
The data-flows dictates that have to be a client - server app, information is shared between clients and should be persisted.
I have experience of writing stand-alone apps, I have modelled the app and have written the client. The communica...
I am writing a Windows Forms application which is growing and becoming quite extensive.
Initially I thought that a separate project for graphical components and one for business logic and one for data access would be the best approach.
As the application gets larger I'm beginning to think that a more modular approach would be cleaner.....
I have a WCF Service (with servicecontracts, datacontracts, etc) , like this:
[ServiceContract(Namespace = "http://company.com/MyCompany.Services.MyProduct")]
public interface IService
{
[OperationContract]
CompositeType GetData();
}
[DataContract(Namespace = "http://company.com/MyCompany.Services.MyProduct")]
public class Comp...
I've read that a lot of websites store the index separably from the data.
Specifically on Azure, the index will be stored in Azure SQL and the data stored in Azure Table Storage.
This supposedly increases the performance and allows you to store a lot more data and query it efficiently.
I'm not sure how to architect a system to do t...
I have a few lookup tables that I am in the process of plumbing through my app. These are tables that drive dropdowns on the website. They have no business logic, but they need to get from the database to the UI while following the architecture of the app.
The current architecture has a Data Layer, Business Layer, and Presentation Lay...
This may seem relevant but it has some significance for me,may be few others like me.
I just want to know ,How Important is it to Learn C++ , COM and ATL while you are a .NET programmer?
I love programming with .NET and C# .Visual Studio just has it's own charm of intellisence ,Color Coding and other pretty features , which make us add...
hi,
I'm developing an EMR Application as my project. there Im using WCF to transfer all the data from the centralized server , WPF for the UI and PRISM to build modules.
I have 3 projects in my solution for WPF/PRISM application
The Main project(mainApplication) where the shell and bootsrapper are.
Class library(modulesLib) to hold ...
From what I have read, "agile" seems to be just a euphemistic term for hack-and-slash development. In other words, where architecture-centric development is based around design documents, agile development has no "design," per se, and the code is just hacked together until it passes tests. I really hope this is not the case. Clarifica...
I've just started on a GUI application which will feature several distinct modes and a large number of keyboard shortcuts. Ideally I'd like to support letting the user remap these, like in eclipse. What is - if any - the standard solution to this situation? I can imagine the main window captures all key-presses and translate them to key-...
I'm currently just starting to implement Dependency injection so i can start testing my code and have come across an issue many of times that i cant figure out.
My current case scenario:
I have a single class ( foo.cs ) that is active the whole time a windows service is running. Its responsible for polling the db for new messages then ...
I'm designing (and ultimately writing) a system in Django that consists of two major components:
A Game Manager: this is essentially a data-entry piece. Trusted (non-public) users will enter information on a gaming system, such as options that a player may have. The interface for this is solely the Django admin console, and it doesn'...
I'm not doing much new development right now, but a lot of refactoring of older C# subsystems whose original requirements no longer support new and I'll add unexpected requirements. I'm also now using Rhino Mocks and unit tests where possible (vs 2008).
The dilemma for me is that to make the methods testable and mockable, I need to defi...
I'm building a large scale web application. It will grow in the future so I need a good back-end and front-end architecture for my application. at the back of the site, I use Zend Framework so the architecture is OK for me. But at the front, working with javascript and ajax without having a good architecture makes later changes hard and ...
Assuming a "standard" 3-tier application (UI - Domain - Data), should the Domain Layer show to the UI classes originally defined in the Data Layer?
I mean, assuming there's a Product class defined in the Data Layer, is it wrong to make some method from my Domain Layer have methods returning it (this is, making them visible to the UI)? O...