design

What is a "field"? "Field" vs "Field Value"

In a passport there is a field: First Name, and that field has a value John. I assert that it is correct to describe the relationship as follows: Field First Name: Has a name (First Name). Has a set of valid values (e.g. defined by regex [A-Za-z. ]{1,30} Has a description (name that stands first in the person's full name) And Pas...

Should I make this a read only property or a function.

So in my COM wrapper I have a property like this: public string Name { get { //Call the COM object //Work the returned object //Return the name. } } I was doing some reading on read-only properties vs function and was wondering if I should change this to a function instead, something along the lines ...

Freelance web development: who pays for hosting?

I've never bid on any freelance jobs on GetACoder, eLance, oDesk etc. I've only done sites for friends and family so I've setup the hosting and have performed any updates that we needed after the initial design myself. I know it probably varies from job-to-job, but what is the typical arrangement for hosting and subsequent maintenance ...

How to improve software design skills?

In my point of view, design ability is harder to get than development/coding skills. When confronting a requirement , how to design the function modules, how to construct the program architecture properly? By the way, are there some books related? ...

What is the latest in Website Design

What is the latest in web design (not programming), w.r.t jquery, css, placement of links, usage of footer and header for a social multiuser website ...

Embedding a flowchart design surface in a .net application

I need to incorporate a flowchart design surface into an app we're developing to allow users to create what are essentially workflows/schedules. I need to be able to create my own 'shapes', set custom properties on them and possibly have a bit of logic in there too (if, while etc). I know I need to take a look at hosting WF in the app, ...

In WPF, what is the best way to create a calendar view similar to Outlook 2007?

I'm writing a WPF desktop application and have a view that needs to look like a calendar. I only need to show four weeks (fixed). Each week will have a list of items (probably represented with a ListView). I'm debating between two approaches: Using layout controls - a Grid control where each "cell" contains a ListView Using a ListVi...

What are some good resources for developing RESTful Web Service Schemas?

So, I'm looking at building a brand new REST WS API for my application. I've done my homework on the technical side and feel fairly confident about setting up paths/to/resources.andTheirRepresentations. However, does any one have any suggestions on good resources for processes to develop what those paths should be? What methods should be...

Best way to skin flash player

Is there a good pattern to creating a flash player that is easily skinned, providing different dimensions, buttons, background color, etc? I've considered 2 approaches: 1 The player skin is flat. The logos and buttons are on one large background image. The actual trigger areas are transparent sprites, positions and dimensions defined by...

Asp.Net 2.0 File upload

I know I use the asp FileUpload control for uploading a file but I need to change the design of the control to an image button. Is this possible? ...

Elegant way to view hierarchical data in a web application

This is a rather frustrating problem I have had to solve on multiple occassions, and I never found the solution I came up with entirely satisfactory. Say you have a 'complex' hierarchical data structure you have to present to the user of your web application, and most nodes in the hierarchy should be editable, too. For example, say you...

What is opinionated software?

I often see people say that certain software is "very opinionated" or that Microsoft tends to write "un-opinionated" frameworks. What does this actually mean? ...

Implementation of a user managment dialog in Java

I need a window for my application that allows the user to: see currently existing users create new users change permissions delete users view users details While trying to find a perfect way to create a good user experience, I stumbled upon various different approaches: Dialog Based, Tree Based, etc... I've decided to go with that:...

good c++ documentation design example?

Hello. I'm tuning documentation generator for internal purpose that generates HTML documentation for C++ classes and methods. Is it any example available of good HTML documentation design? MSDN ( like this ) looks kinda outdated, same is doxygen / javadoc / sphinx results. Anyone ever see an documentation that looks REALLY good? ...

Matrix-Algebra Design Decomposition

Hi Guys. I am looking at refactoring some very complex code which is a subsystem of a project I have at work. Part of my examination of this code is that it is incredibly complex, and contains a lot of inputs, intermediate values and outputs depending on some core business logic. I want to redesign this code to be easier to maintain as...

Where should I put a project- or application-wide TraceSwitch in my design?

Hi, I'm trying to enhance my program with some logging functionality provided by System.Diagnostics. As my Solution consists of several projects, I wanted to create a switch for the whole application and one for every project. Now the question is, how can I achieve this and where should I put the switch definition? Starting with the a...

What is the PHP syntax for File/terminal output formatting?

I want to create a command line program using PHP. How do I design the program's I/O? I can send output as text. I am wondering about the specific output syntax. For example: In HTML i use <br/> to pass to a new line. How can I do this using terminal/file output? Is there a reference for terminal/file oriented programming in PHP? ...

Everything is a flow?

Some of my recent web projects that I worked on, use a flow engine as the central abstraction in the presentation and/or (more or less the) business layer. Reflecting on my experiences, I can honestly say that I am not a fan of the flow-centric approach. On the contrary even. I see the same symptoms pop up in projects that use flows as c...

Interface Architecture for Silverlight App

I'm getting ready to develop my first Silverlight app. It is going to be primarily used by my church for data input but also will need to generate at least one report, ideally in Excel but XML/XSLT is not outside the realm... It will be Internet facing and will talk to a SQL Server 2008 db for which I will be creating a web service hos...

Is it bad to use class variables in a multithreaded app?

I inherited a project that needs to be mutithreaded. There is three major classes that get used in the worker threads. BASE CLASS - has an class level SqlDataAdapter and DataTable. INHERITED CLASS ONE - Uses the inherited SqlDataAdapter and DataTable. INHERITED CLASS TWO - Uses the inherited SqlDataAdapter and DataTable. Every thing s...