architecture

Best way to allow plugins for a PHP application

I am starting a new web application in PHP and I this time around I want to create something that people can extend by using a plug-in interface. I am a very confident PHP developer however I have never done this before so I'm not really sure where to start. How does one go about writing 'hooks' into their code so that plug-ins can att...

Good STL-like library for C.

What are good libraries for C with datastructures like vectors, deques, stacks, hashmaps, treemaps, sets, etc.? Plain C, please, and platform-independent....

Linux - files and scripts that execute on boot

If I want to make something run on startup on Linux, where is the preferred place to put things? I would like a description of each script or file that is executed at boot, and that script or file's purpose as to how you edit it, or what sorts of things are normal to put in it to make run on startup....

Are there any negative reasons to use an N-Tier solution?

I'm pretty new to my company (2 weeks) and we're starting a new platform for our system using .NET 3.5 Team Foundation from DotNetNuke. Our "architect" is suggesting we use one class project. Of course, I chime back with a "3-tier" architecture (Business, Data, Web class projects). Is there any disadvantages to using this architecture?...

How to structure a java application, in other words: where do I put my classes?

First of all, I know how to build a java application. But I was always puzzled where to put my classes. There are proponents for organizing the packages strictly domain oriented, others separate by tier. I for myself have always problems a) with naming, b) with placing Where do you put your domain specific constants (and what is the be...

Interfaces on different logic layers

Say you have an application divided into 3-tiers. GUI, business logic and data access. In your business logic layer you have described your business objects. Getters, accessors and so on... you get the idea. The interface to the business logic layer guarantees safe usage of the business logic, so all the methods and accessors you call wi...

Send messages to program through command line

I have this program, we'll call it Host. Host does all kinds of good stuff, but it needs to be able to accept input through the command line while it's running. This means it has to somehow send its other process data and then quit. For example, I need to be able to do this: ./Host --blahblah 3 6 3 5 This should somehow end up calling...

Passing more parameters in C function pointers

Let's say I'm creating a chess program. I have a function void foreachMove( void (*action)(chess_move*), chess_game* game); which will call the function pointer action on each valid move. This is all well and good, but what if I need to pass more parameters to the action function? For example: chess_move getNextMove(chess_game* game,...

Design debate: what are good ways to store and manipulate versioned objects?

I am intentionally leaving this quite vague at first. I'm looking for discussion and what issues are important more than I'm looking for hard answers. I'm in the middle of designing an app that does something like portfolio management. The design I have so far is Problem: a problem that needs to be solved Solution: a proposed soluti...

How do you do system integration?

I curious to how different people solve integration of systems. I have a feeling that the last years more and more work has gone into integrating systems and that this kind of work need will increase as well. I wondering if you solve it developing your own small services that are then connected or if you use some sort of product (WebSph...

Books for software architect

What would be good books and websites to read to become an software architect. And just basic tips and tricks are also welcome. ...

Documenting program architecture

What have people found to be effective methods of documenting the architecture of a large project so that programmers new to the code can "get their bearings" (relatively) quickly? ...

VS.NET Application Diagrams

Have you used VS.NET Architect Edition's Application and System diagrams to start designing a solution? If so, did you find it useful? Did the "automatic implementation" feature worked ok? ...

Agile architectures

Hello all, I am starting my graduate thesis and the subject will be "agile architectures" Basically, it will start with a description of traditional software development methologies, and the subsequent birth of agile methodologies, finishing with recommendations and a design of a flexible application architecture easily adaptable to the...

Experience documentation about Shared Nothing Architecture

Do you have any experience of designing a Real Shared-Nothing Architecture? Would you have some readings to recommend me? ...

Best Blogs for Software Architecture

What are the best blogs for topics related to software architecture concepts, as opposed to low-level programming concepts? ...

How Did You Decide Between WISA and LAMP?

Did you ever have to choose between WISA or LAMP at the beginning of a web project? While pros and cons are littered around the net, it would be helpful to know about your real experience in coming up w/ criteria, evaluating, deciding, and reflecting upon your decision to go w/ either platform. ...

Globalization architecture

I need to store products for an e-commerce solution in a database. Each product should have descriptive information, such as name, description etc. I need any product to be localized to x number of languages. What I've done so far, is to make any column that should be localized and nvarchar(MAX) and then i store an XML string like this...

Best architecture for handling file system changes?

Here is the scenario: I'm writing an app that will watch for any changes in a specific directory. This directory will be flooded with thousands of files a minute each with an "almost" unique GUID. The file format is this: GUID.dat where GUID == xxxxxxxxxxxxxxxxxxxxxxxxxxxxx (the internal contents aren't relevant, but it's just text da...

Guide to choosing between REST vs SOAP services?

Does anyone have links to documentation or guides on making the decision between REST vs. SOAP? I understand both of these but am looking for some references on the key decision points, eg, security, which may make you lean towards one or the other. ...