flexibility

How to improve flexibility in the sense of individual software developers and teams?

Management of our business unit provided us with new goals to achieve: flexibility and quality. Our functional leaders (e.g Test lead, Java team lead etc) should transform these high level goals to something more specific that can be used to improve level of flexibility of individuals and teams and quality of products. Let's focus on the...

Referrals DB schema

I'm coding a new {monthly|yearly} paid site with the now typical "referral" system: when a new user signs up, they can specify the {username|referral code} of other user (this can be detected automatically if they came through a special URL), which will cause the referrer to earn a percentage of anything the new user pays. Before reinve...

How much flexibility do you allow users creating uids?

After having to register at one more website, and hitting stupid restrictions on the Username (no spaces or special characters), I'm wondering why we still have programmers restricting things like that. Is there a concensus on the methodology of allowable usernames? ...

Customizable Web Applications

At my company we develop prefabricated web applications. While our applications work as-is in many cases, often we receive complex customization requests. We are having a problem in trying to perform this in a structured way. Generic functionality should not be influenced by customizations. At the moment we are looking into Spring Web Fl...

What's the point in hard coding values which may change?

Hi, When coding systems which use configuration information, it is always a best practice to soft code these on some medium like Xml so these values can be edited without recompiling the entire system. However, plenty of values like Urls are hard coded and these can change. What's the benefit in coding this way? This obviously reduces ...

Guidelines for writing flexible software?

I've been developing an interpreter in C++ for my (esoteric, if you want) programming language some time now. One of the main things that I have noticed: I start with a flexible concept, and the further I code (Tokenizer->Parser->Interpreter) the less flexible the whole system gets. For example: I didn't implement an include function at...

Flexibility starting to develop applications and DB

Hi! First of all I want to say some info for admins. This post can help to all DBA and developers. Hope You don't close this. I'm writing about widespread problem I'm writing master work and I want that You will had little time to answer my questions in my form. These questions are about db structures. Visit here: http://spreadsheets.g...

Maintainable CSS vs. theme-ability

The above seem to be contradictory goals. On the one hand, making CSS maintainable seems to me to suggest keeping CSS structured and orderly, and keeping all the styles of an element together in one place. So for example, the style of a top logo would look like this: #logo { width:50px; height:30px; background-image:url(/images/...

Dynamic user control over variables (embedded language?)

Hi, I'm creating a piece of software (written in C#, will be a windows application) and I ran into this problem- I've got a set of variables, and I need to allow the user to define a wide range of mathematical functions on those variables. But my users don't necessarily have to have any prior knowledge about programming. The options ...

Memory layout for mesh data in scientific computing

Hello, I am developing a Finite Element System. As usual, the simulation consists of set of mesh nodes, each with a set of properties (floating-points), like for example several material properties, coordinates or physical quantities that evolve within time. You can either employ two extreme approaches: Property-wise: Maintain a sing...