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 ...
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...
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...
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...
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>...
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...
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 ??
...
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...
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.
...
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...
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?
...
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...
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...
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...
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)
...
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?
...
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...
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...
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...
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.
...