The tag has no wiki summary.

learn more… | top users | synonyms

14
votes
3answers
5k views

MVVM, DDD, and WPF Layered Application Project Structure Guidance

I am trying to setup my application's structure in VS and I want to "try" and future proof it to a reasonable level. This application will be a WPF re-write of an old Winform app that had followed no ...
14
votes
2answers
1k views

Suggestions for a GUI library in Haskell [closed]

As the Haskell Wiki itself states: There is a large number of GUI libraries for Haskell. Unfortunately there is no standard one and all are more or less incomplete. In general, low-level veneers ...
13
votes
6answers
7k views

What use is a Business Logic Layer (BLL)?

In reading up on good practice for database applications I've frequently come across advocates of so-called "business logic layers" and I'm trying to decide if it's best for my project to use one ...
13
votes
3answers
6k views

What is the best way to structure an Android application?

I am starting a new Android application. What is the best structure to use? I am planning to make it a multi-package design as follows: Main package, including the Activity Service and data layer ...
11
votes
4answers
559 views

When it comes to hosting your personal throw-away projects, does one service and project structure stand out?

I'm looking at Google Code, SourceForge, BitBucket, and GitHub, since they seem to be the big players. Now, I haven't broken down all of the features that they provide yet, but I'm really looking for ...
11
votes
4answers
7k views

How to properly structure a project in winform?

A while ago I started to create a winform application and at that time it was small and I did not give any thought of how to structure the project. Since then I added additional features as I needed ...
10
votes
1answer
4k views

Organizing code for iOS app development

I've been developing an app for the iOS platform, and as I've been going along, I've noticed that I've done a terrible job of keeping my files (.h, .m, .mm) organized. Is there any industry standards ...
9
votes
5answers
517 views

Architecture(structure)-oriented vs. feature-oriented project structure

The project, I have involved, has an architecture-oriented project's file/folder structure: Root |____ Node1 |____ Event Handlers | |___ <all event handlers of project> ...
8
votes
4answers
1k views

What's the best way to organize our unit tests

We've built up a substantial number of unit tests for our main program over the years. Several thousand. The problem is that we don't have a clear idea of what tests we have because there are so many. ...
7
votes
1answer
947 views

Separating java projects

I have a large java project, and we use maven for our build cycle. This one project is used extensively - in other projects, in various applications, some of which are contained in it and some which ...
6
votes
3answers
551 views

C project avoiding naming conflicts

I'm struggling to find pragmatic real-world advice on function naming conventions for a medium sized C library project. My library project is separated into a few modules and submodules with their own ...
6
votes
2answers
515 views

How to structure this program?

I am struggling with the best way to structure a program that I am writing because the method I currently have feels very clunky and each part depends a lot on the others. This is what the program ...
5
votes
3answers
415 views

Should a standard include header be specified in each file or as a compiler parameter?

I've got a file such as this: #ifndef STDINCLUDE #define STDINCLUDE #include <memory> #include <stdexcept> #endif I want this file to be included in every header file, because I use ...
5
votes
1answer
274 views

Structure vs. programming

Is it bad that I often find myself spending more time on program structure than actually writing code inside methods? Is this common? I feel I spend more time laying the foundation than actually ...
5
votes
3answers
2k views

How should I structure a solution for a long term project?

I'm about to create a do-everything dashboard for my team and am still having second thoughts about my project/solution structure. Since this could be a long ongoing project, I want to get the ...
5
votes
2answers
125 views

How to structure many projects that can be versioned and deployed separately

My team is in a situation where we need to create about 30 different processors. By processors I mean code that takes data from a DB and sends it to a remote service somewhere else in the world. They ...
5
votes
4answers
249 views

Should I include dependencies for which I have the source as projects in my solution?

We have various projects in source control for web and desktop applications. Invariably, many of them use third-party open source projects or even common libraries within our organization as ...
5
votes
1answer
380 views

Setting up Clojure Project And Sub Projects

This is primarily a lein question about setting up a major project and its sub-projects, and is not intended to be a discussion question. Instead, I am interested in either a pointer to documentation ...
4
votes
2answers
326 views

Setting up and syncing a developer (local) version and a public version of a website

What is the best and most efficient way to set up two versions of the same website? I want one version that is online and open for everyone to use but I also want a developer version where I can ...
3
votes
2answers
560 views

Extend the class or create an instance?

I'm reading Pro PHP and jQuery and want to rebuild the example. The author is creating a database connection class: class DB_Connect { protected $db; protected function __construct($dbo = NULL){ ...
3
votes
2answers
140 views

I have a legacy project that I'm working on, how should I improve its structure?

I have a slightly old PHP project I'm working on for a client (I think it was started around 5 years ago), it makes extensive use of the outmoded mysql_query function, which is concerning not only ...
3
votes
1answer
336 views

Architecting an organization's web strategy. What is the preferred method here?

I'm working on a solution for an organization that needs to last them long term (as subjective as that is). They currently have a Joomla installation whereby the CMS talks directly to the database, ...
3
votes
1answer
205 views

Project structure: where to put business logic

First of all, I'm not asking where does business logic belong. This has been asked before and most answers I've read agree in that it belongs in the model: Where to put business logic in MVC design? ...
3
votes
1answer
153 views

Code structure for multiple applications with a common core

I want to create two applications that will have a lot of common functionality. Basically, one system is a more advanced version of the other system. Let's call them Simple and Advanced. The Advanced ...
2
votes
3answers
532 views

Naming the project containing only interfaces

I've extracted interfaces from my repository classes, like ICustomerRepository, IProductRepository and so on. The project which contains the repositories is named X.DataAccessLayer. Should I call the ...
2
votes
2answers
642 views

How to structure a project that supports multiple versions of a service?

I'm hoping for some tips on creating a project (ASP.NET MVC, but I guess it doesn't really matter) against multiples versions of a service (in this case, actually multiple sets of WCF services). ...
2
votes
3answers
273 views

C++ project organization to reduce unit testing build time

I want to organize tests for a project large enough that build time matters (especially for the CI server). Say I have this code that I would like to test : //foo/greet.cpp #include <stdio.h> ...
2
votes
1answer
96 views

Two closely related projects — Two repositories or one?

Background I am coding two closely related Java projects. The first project is Single Facility Simulator, which simulates a very simple supply chain with a single facility. The second project is ...
2
votes
2answers
2k views

Should we call Web API from MVC application in same solution?

I am working on a project in MVC that has mobile application so one thing is clear that we have to use Web API so it can used in mobile application. After creating API when we started to develop Web ...
2
votes
1answer
50 views

How to approach the creation of a “Unit Outline” generator?

I am the Studies Coordinator at a College and we currently have somewhere in the order of 100-200 unit outlines that are created at the beginning of each semester. Those outlines need to have ...
2
votes
1answer
164 views

Testing controller logic that uses ISession directly

I have just read this blog post from Jimmy Bogard and was drawn to this comment. Where this falls down is when a component doesn’t support a given layering/architecture. But even with ...
2
votes
2answers
598 views

Front-end structure of large scale Django project

Few days ago, I started to work in new company. Before me, all front-end and backend code was written by one man (oh my...). As you know, Django app contains two main directories for front-end: ...
1
vote
1answer
3k views

Separating front end from back end - Tomcat

I'm currently working with a company that uses Java / Tomcat / Spring for the back end of our web applications. As a front-end developer, I'm feeling more and more strongly that the back end should be ...
1
vote
1answer
160 views

How should a GUI application written in WinAPI be structured and organized? [closed]

I've done an extensive amount of GUI programming in Winforms and WPF using C#, and a tiny bit in C++ using MFC. I'm building a personal project using WinAPI mainly to gain a deeper knowledge in ...
1
vote
2answers
80 views

How to handle enums in an indirection with functionpointers at ANSI-C?

Moinsen, I am somehow stucked in a design problem. Language is ANSI-C. Lets assume we have a tinkerbox of software-modules: one module for the logic Logic (at least) one module doing some logging ...
1
vote
1answer
103 views

Making applications build system-aware

Build systems for web applications are great: they give dependency management, code minification, and the ability to use tech like SASS or CoffeeScript that require pre-processing. However, I find ...
1
vote
1answer
68 views

Are there any additional considerations to make when designing a site structure if you plan to use persistent connection technologies?

As the title states, I'm thinking of making a simple-card-game based website, using persistent connection technology (Something like signalR) for the actual game part of it. I've never planned a site ...
1
vote
1answer
95 views

Proper library for enums

I'm trying to refactor some code such that the display is separate from the implementation, and I'm not sure where to put the existing enums. My project is currently structured as follows: ...
1
vote
1answer
186 views

In Python, what is the proper testing structure for packages containing packages? [closed]

Which is the preferred test package structure for packages containing subpackages: Tests in Subpackages? a/ __init__.py b.py c/ __init__.py cc.py test/ __init__.py ...
1
vote
0answers
285 views

How to organize cross platform js/web application?

My friend and I are working on an application that already works for Windows 8 and is written in Javascript, HTML, and CSS. Our desire is to make it cross platform for areas like windows mobile, ...
1
vote
2answers
279 views

Client Server .NET application with queuing message

I am new, so forgive me if my question is mistaken or anything, just give me an alert and I'll be glad to fix it. Me and my team is about to develop a system where the database is located in a ...
1
vote
2answers
274 views

taxonomy of software project resourcing models

I would like to understand the impact of different resourcing models for software projects. First, I would like to identify the different resourcing approaches that are used to resource software ...
0
votes
2answers
143 views

Reasonable to use different version controls for different parts of a web application?

I am contemplating a few different techniques for organizing code for a larger web application. For this situation, the server runs some Microsoft solution (probably ASP.NET MVC or OpenRasta) and the ...
0
votes
2answers
115 views

Can a layer consist of multiple projects / dlls?

I am working on the architecture for a new web application and I am pretty much a complete newbie when it comes to architecture. Working my way through .NET Application Architecture Guide, 2nd Edition ...
0
votes
1answer
87 views

Do you keep your project code names the same in the source tree?

Sometimes when I start working on a project, I just can't think of a good name, or think of a good name that isn't already taken. As a result, I'll end up picking some sort of code name for the ...
0
votes
2answers
267 views

How to design (just the outline) an enterprise class PHP application

For the last year or so, I have been working on a very large application. I am currently on version 17 of it, and every time, I start over with some of the code from before. But now, this is starting ...
0
votes
1answer
191 views

Are there elements common to nearly every SRS?

An SRS is a staple of any serious contract work, and it can be incredibly dull for those who've never had the misfortune of needing to read one through in one go. I'm writing a series of document ...
0
votes
1answer
107 views

What's in the “contrib” folder?

Often open-source software projects have a folder called "contrib". For example, Django has one. What is it for?
0
votes
1answer
133 views

impact of product information leak due to matrix resource models for development projects [closed]

I read somewhere that Amazon has a dedicated team for each of its major products. This approach facilitates the growth of the domain knowledge for each product team and as a result of this retained ...
0
votes
2answers
89 views

How to properly structure a collection of immutable constants

I'm in the design stages of a program that based upon input received, would select a particular category, and action within that category. The category, the action within in, and the value(s) related ...