design

Top Down v. Bottom Up design approach

Duplicate: http://stackoverflow.com/questions/130933/design-coding-top-to-bottom-or-bottom-to-top I think I have found in my recent experience that I design software differently than most of my peers. I tend to take the incremental bottom up approach after gathering enough requirements to get a high level idea of the components in ...

what's the best way to communicate architecture design?

I have been responsible for architecture design in quite a few projects. The mostly used tools for communicating architecture design is class diagram, package diagram, sequence diagram, delopyment diagram. And in some cases flow chat is also used for important business process modeling. For now I think it is OK. But I am wondering if the...

Why does the java.util.Set<V> interface not provide a get(Object o) method?

I understand that only one instance of any object according to .equals() is allowed in a Set and that you shouldn't "need to" get an object from the Set if you already have an equivalent object, but I would still like to have a .get() method that returns the actual instance of the object in the Set (or null) given an equivalent object as...

Where can i get a good guideline/suggestion on designing a complex website?

Am in the process of building an enterprise web application and i know its gonna be very complex especially the workflow and navigation process. I intend to use django as my framework and mysql as the backend database. Am looking at an application with over 300 tables!!! (its an app i had already done as a desktop application and am pla...

How to design a REST API for a webservice whose RPC method has overloaded meanings?

Existing XML webservice Processes XML-RPC style requests in which an operation element which identifies the method to dispatch to. For example: <protocol><operation>810</operation><user>...</user></protocol> The number of parameters vary. The XML-RPC handler interprets the 810 token to mean two things. If it receives an element <user>...

Visio stencils for lookless user interface (wireframes)

For the first UI design I would like to populate my windows and dialogs with lookless controls. The controls may not be styled at all (no XP or Vista style). Ideally, they look so minimalistic (black-and-white rectangles) that it's clear where a text box, a button or a scroll bar. Because I'm working with Visio, my first idea were to l...

Why split a BizTalk solution into multiple projects

I've read it's good practice to split a biztalk solution into multiple projects - seen some debate as to the exact nature of the split - could be split by artifact, i.e. Schemas, Orchestrations, Maps, etc. - could be split by function But what's the benefits / con's ?? ...

Constituents of a good relational database design

What are the constituents of a good relational database design? I'd want to ask this question in a bit unusual way, lets see if anyone likes the idea. Also read on to see how it's not a duplicate of the question about DB design best practices (or any other question for that matter). The idea is that as a result of voting we will have co...

Is BIT field faster than int field in SQL Server?

I have table with some fields that the value will be 1 0. This tables will be extremely large overtime. Is it good to use bit datatype or its better to use different type for performance? Ofcource all fields should be indexed. ...

Architectural design documentation strategies

I am trying to document a software project up to the current stage. The readership would involve myself (in a future time), other developers (currently and in the short-term future), as well as end users. Therefore, the documentation has descriptions of design requirements, architecture/design (data structures, architecture, user interfa...

How to locate JLabels to an absolute position on Java GUI

I have many JLabels (which includes ImageIcons) in a JPanel. And this JPanel is only a panel on the GUI; there are lots of other panels. I want to place labels to the exact pixel coordinates on their JPanel container. How can I do that without using GroupLayout? ...

Ruby-like array arguments implementation in PHP

I program in PHP mostrly and Ruby sometimes I happen to be in need of a way to implements those "hash arguments" into my PHP funcions (Like, say, an HTML select helper) draw_select :name => :id, :onclick => 'alert(this.value)' The problem in PHP is that I would have to define an argument order to implement many possible attributes. I...

Java Utility Class vs. Service

What's the difference in Java between a utility class (a class with static methods) and a Service class (a class with public methods that provides a "service"). For example, one can argue that a cryptographic object (providing methods to encrypt, decrypt, hash or get a salt value) is a Service provider, but many group this functionality...

The trick to design a webpage very fast

Hello, I'm under very hard pressure to complete designing of a basic company website. Are there any tips and tricks that will help me finish the job very quickly? I don't know if some people use any specific software to get it done very fast or maybe shortcut keys or different designing standards or maybe some css/html templates? I re...

Recommendations on HTML Form Input Field Lengths (e.g. username, e-mail)

Are there any guidelines/recommendations on how long the input fields should be on HTML forms. Specifically: Viewable length (the length of the input field the user can see on the screen - without having to scroll horizontally. i.e. SIZE, not MAXLENGTH) Capture length (the number of characters the HTML form will save to the database) ...

Can someone summarise visibility choices for Java interfaces?

I have two questions really: 1) When would you use a package-private interface? 2) Is there a way to have a public interface which is closed for implementation outside its package? ...

Emailer in Java using Strategy Pattern

UPDATED: Added one more question (Question #4). Hi all, I'm building myself a custom emailing utility. Now, to obey Single Responsibility Principle, I want to have the following classes: MailerSender, MailProvider and EmailObject. The MailSender is more of a delegate, check it out below: public class MailSender { private IMailPr...

How to model an OO style interface for C functions?

I have a C module which is created by the Real-time Workshop based on a Simulink Model. This modules provides three public functions: int init(); int calc(double *inputarray, double *outputarray); int term(); Based on the contents of the outputarray, I can model a class called OutputThing. I want to integrate those functions in a wra...

Deep vs. Flat Object Model

Which would you recommend - a deep objects hierarchy (where each object hold a reference to it child objects), or flat objects (where you provide services to retrieve child objects)? Let's assume that you are creating a database management application. You will have objects such as: Server Database Columns Views Which option would y...

Open source Business Object design framework for .NET

What are the Open source options available for Business Object design framework in .NET. One we are already using is CSLA.NET by Rockford Lhotka, which is a very good framework. But I am interested in knowing other options. If anyone know any other good one please reply here. ...