architecture

What is the appropriate layer for string parsing in .NET ?

Consider a standard ASP.NET web application where the user types in some numeric data on a form. On submitting, some business objects are spun up to operate on the numeric data. But server-side textbox controls in .Net return a value of type string. Question: Should the codebehind of the page take responsibility for parsing the string...

Should application architects write code?

This is an often-asked question that has views on both side. Those in favour will argue: To design a system for coders you must understand how to code (and be coding) You can't design a system without being aware of what is happening at ground level Architecture is not just about broad stroke design but about adapting to changing needs...

When does a project not require an application architect?

Do moderate or large projects ever not require an architect? I have worked on a number of projects where the development company involved has choosen not to assign an application architect. Either the software is built organically and with little concern for design or the design responsibility falls to senior developers. The motivations...

What do you use for web development and why you think it rocks?

Here's my new project: an open canvas, right in front of me. In a few days, I will start to code a big web application. It will start small, with few modules, only myself as developer and engineer, but hopefully it will grow and grow. Even though I am an active Java Developer, It's been a while since I last created a Web Application fro...

What does scalability mean to you?

I posted a similar question on how scalable linq is. There were so many different views on what scalability actually meant in some recent conversations, so it has sparked me to ask this question as well. What does scalability mean to you? ...

Sharding (sic!) the web tier in order to prevent a load balancer bottleneck?

How do large web sites which cannot be completely stateless achieve extreme scalability at the web tier? There are sites like ebay and Amazon, which cannot be completely stateless, as they have a shopping cart or something like that. It isn't feasible to encode every item in the shopping cart into the URL, nor is it feasible to encode e...

Using Entity Framework entities as business objects?

I'm using Entity Framework O/R mapper from Microsoft and using entity classes (generated classes that are mapped to DB objects) as a business objects. Is this OK? Please state your cons or pros. What to do in a case of WCF communication between business layer and presentation, how to send those objects as data members? ...

Practical limit for the number of databases in SQL Server?

In one of the stackoverflow podcasts (#18 I think) Jeff and Joel were talking about multi vs single tenant databases. Joel mentioned that "FogBugz on Demand" used a database per customer architecture and I was wondering if there is a point beyond which you'll need to have multiple database servers to distribute the load? ...

Can LINQ to SQL generated objects be decoupled?

I like LINQ to SQL, but it seems like the classes it generates are tightly coupled to the database they are stored in, which seems like a Bad Thing. For example, using ye olde Northwind database, if I create the dbml with the Products table, a Product class is generated. I can use this class in any other tier, which is all well and goo...

ASP.Net Providers from web server in DMZ

Hello all, We have an intranet asp.net web application which uses the OOTB ASP.net membership and role providers. Now we are planning to expose the application to internet, by moving the web server to the DMZ as represented in the following (crappy) text diagram External Internal internet --- Fi...

Client Customizations

We have a product with an install base of about 50, over 50% of these installs have customizations in the code for the business logic, and that is currently done by huge IF and Switch statements. We are currently in the process of updating the code to .NET 3.5 and would like to handle the customizations in a more managable way. The onl...

Is injecting DAO into entities a bad thing?

So like most new .NET developers you start of passing DataSets everywhere and although things do the job it doesn't seem right. The next progression is usually to create entity objects that extend a DAL base class so you have i.e. public class User : UserDAL { //User specific methods } public class UserDAL { //Bunch of user spe...

Bus or listeners/delegates in client-side Swing application?

Building a client-side swing application what should be notified on a bus (application-wide message system, similar in concept to JMS but much simpler) and what should be notified using direct listeners? When using a bus, I always have an unescapable feeling of "I have no idea who uses that and where". Also, no set order, hard to veto e...

Where are variables in C++ stored?

Where are variables in C++ stored? Inside the RAM or the processor's cache? ...

Service linq to sql

Can anyone suggest good article on services over linq to sql ? ...

Open source examples of well designed applications

Do you know of well designed open source applications that are instructive to analyse? Specifically, I'm interested in practical applications object-relational mapping in C++ based programs, where there is a good separation between a domain model and persistence/serialization functionality. ...

Open source examples of well designed Python applications

Do you know of well designed open source applications that are instructive to analyse? Of course this question is strictly related to this other post, but I am specifically interested in applications written in Python. ...

Looking for pattern/approach/suggestions for handling long-running operation tied to web app

Hello, I'm working on a consumer web app that needs to do a long running background process that is tied to each customer request. By long running, I mean anywhere between 1 and 3 minutes. Here is an example flow. The object/widget doesn't really matter. Customer comes to the site and specifies object/widget they are looking for. We s...

How do you handle one-off requests from customers?

Often, customers will request specific functionality that doesn't really fit into the existing system and probably will only get used by the specific customer. For example, there is a web application that functions as a portal for many different organizations. Say there are 15 organizations that all use the same underlying code, but ha...

Software that "Phones Home"; good? bad? Evil? What notice does one give? How to?

PHONE HOME Everybody wants to now and then. ...What about software when it grows up and becomes a mature product? Shouldn't it be an adult and live in its new home quietly? Or, should it show some affection from whence it came?... I've heard some say they'd rip out from the platters any bits that try and communicate without their say s...