architecture

Can you recommend any good book about low level programming?

Disclaimer: I'm not a programmer, and I'm really acting as a proxy to ask this question here :) In old days, there was Peter Norton's Programmer's Guide to IBM PC. This book served as invaluable source of information for every person that wanted to write all things low-level. What book nowadays can be recommended as source of knowledge ...

Where do I find a good, short, architecture-oriented introduction to Java Swing GUI for web developerrs?

I'm just starting my first Java Swing project(doing mainly web-based apps before) and try to understand how to build a proper architecture with separation of concerns between the MVC components. Just about any documentation I find goes very deep into the details of how each and every Swing UI widget works and can be used, but all exampl...

When to rewrite a code base from scratch

I think back to Joel Spolsky's article about never rewriting code from scratch. To sum up his argument: The code doesn't get rusty, and while it may not look pretty after many maintenance releases, if it works, it works. The end user doens't care how pretty the code is. You can read the article here: Things You Should Never Do I've ...

How to build a 3D interactive world in a browser based application?

Hi everyone! I have a friend and he recently started to learn "Cinema 4D". He asked me if I could build him a website in which he could build a3D world, or room, using a Cinema4D file, where people could visit his work. Probably by interacting with objects. I've searched a bit in StackOverflow and I found this: http://stackoverflow.co...

Persisting the fact that a Tree has Apples

If I have a Tree that has Apples, how should I model the fact that the Apples are had by Tree. Consider that there would be 3 database tables: tree, apple, tree_apples. It seems to me that there would be a AppleDecorator class so that Tree can have multiple AppleDecorators and call ->save() for each one which would write the associatio...

AIR: sync gui with data-base?

I am going to be building an AIR application that shows a list (about 1-25 rows of data) from a data-base. The data-base is on the web. I want the list to be as accurate as possible, meaning as soon as the data-base data changes, the list displayed in the app should update asap. I do not know of anyway that the air application could be n...

How to implement List, Set, and Map in null free design?

Its great when you can return a null/empty object in most cases to avoid nulls, but what about Collection like objects? In Java, Map returns null if key in get(key) is not found in the map. The best way I can think of to avoid nulls in this situation is to return an Entry<T> object, which is either the EmptyEntry<T>, or contains the va...

How SO architecture copes up with so much of data and it scales so efficiently

I just wonder how efficient the architecture of SO and want to know how it has been implemented. ...

User defined data objects - what is the best data storage strategy?

I am building a system that allows front-end users to define their own business objects. Defining a business object involves creating data fields for that business object and then relating it to other business objects in the system - fairly straight forward stuff. My question is, what is the most efficient storage strategy? The requirem...

Using a relational database and a key-value store in combination.

The requirements for the project I'm working seem to point to using both a relational database (e.g. postgre, MySQL) in combination with a key-value store (e.g. HBase, Cassandra). Our data almost breaks nicely into one of the two data models with the exception of a small amount of interdependence. This is not an attempt to cram a relati...

Architecture advice for a website.

I'm looking for a bit of advice with regards to the structure of an application I'm tasked with. I need to have a series of webforms to store some data, most of the data is the same but each form would have some differeing data depending on the form used. Would a base class then a series of classes inheriting from this for the specific...

Architecture of some reusable code

I am writing a number of small, simple applications which share a common structure and need to do some of the same things in the same ways (e.g. logging, database connection setup, environment setup) and I'm looking for some advice in structuring the reusable components. The code is written in a strongly and statically typed language (e....

why my separation of concerns Database/Business objects/Web service, makes me write more code ?

I've read a lot of books on software design, and more and more I'm wondering if what I learned about separation of concern between business object and serialization makes me more productive. I'm influenced by Domain Driven Design, so when I design my business classes I don't think about persistance. The only objects who are coupled to m...

Grouping in a namespace vs. prefixing Classes

Hi, imagine a situation where you have an application that needs to import data from different sources. For each of these sources exists a seperate model (often not related to the others). So let's say i have my software component X which does all the importing, the namespace is correspondingly X. In X i have all my different parsers a...

Looking for a free e-book related to Architecting Enterprise Applications using .NET

Hi Could you please suggest me some good free e-books related to Architecting Enterprise Applications using .NET ? ...

Are ADO.net data services efficient from server side?

Hi, I'm current using Raptier as a DAL. It has served me very well up until now, but it is becoming restictive to the kind of RAD work I do, as any changes require a large number of classes to be refactored etc... In addition they don't seem to be releasing any more templates/upgrades etc... Currently I have... UI (server side ...

Questions about a possible replacement of batch files on a Windows application?

I've got a big Windows legacy application composed by many executables interacting with a database. Executables have 4 main purposes: (a) parsing and loading a file on a database (b) transform a file (e.g. encode a file.) Tthis may as well split a file in many parts. (c) perform some sort of complex updates in the database (d) produc...

WPF/Silverlight - Prism - Resources for beginners

Official Websites Composite Application Guidance for WPF and Silverlight patterns & practices: Composite WPF and Silverlight Articles Composite Web Apps With Prism Podcasts PRISM for Silverlight - Connected Show Videocasts SlickThought.Net - Jeff Brand dnrTV Brian Noyes on Prism Brian Noyes on Prism Events and Commands ...

Separation of Presentation layer from Business layer

From an article i just read, http://stackoverflow.com/questions/424675/ui-layer-abstraction Well are there any setbacks to a full separation between the presentation layer and the business layer? This question actually came from a problem of tracing the progress of a process (certain series of instructions) and updating a progress ba...

Alternatives to explicit stacks in RTOS-removal excercise?

In an embedded application programmed on C on ARM7 (with portability requirements), currently using a commercial priority-based preemptive RTOS, we need to remove that RTOS and any RTOS dependency per customer mandate. We have 8 tasks using many HW interfaces, sleep statements, I2C communications. As it is, the SW makes good use of RTOS ...