application-design

.Net application design

Hi, We are making an application with the details below. 1) Web/Desktop App on C#.Net 2) Stores users activity timestamp as a datetime field. We need to store this timestamp in UTC format. Now, while displaying it will be converted to user's timezone. Problem The user can float from one office to another. (multiple offices all in ...

How to design Java application?

What are the general guidelines and best practices to keep in mind while designing Java application [Simple console apps to J2EE apps]?. Hi I recently completed Java programming tutorial from Sun and practised core java (I have previous programming experience). Now I understand the basics of Inheritance, Abstraction , Polymorphism,Enc...

Designing iPhone iOS4 application behavior: running in background vs. terminating application

We're developing iPhone GPS application for car drivers. As you probably know, iOS4 introduced multitasking, so our application can run in background - and it is. It's part of its functionality. The problem is with standard method of closing applications on iOS4. Here are two scenarios: 1) User wants to put application to background: ...

Application development with hotkeys

I'm writing application that will have global hot keys option and I need keys binding panel where user can define their own key shortcuts. I want something similar to Eclipse binding control in Windows - Preferences - General - Keys. I see that other applications use similar concept when typing keys in that control, for example "ctrl+" i...

architecthure for a large data driven website

I know how to create small data driven websites but want to get an idea on how to convert them to handle large data flow. The questions are based on a site that would act mostly like stack overflow, craigslist etc where people could post stuff and others reply and would have basic search capabilities based on tags. Are regular relatio...

Application design for 5 years

My question is not technical. It's more of a philosophical and really down to individual preference. I am designing and developing an application (web + desktop) and this just occurred to me and was wondering if you guys (programmers and designers) ever came across this before: Some designers believe in making applications that will run...

When is it appropriate to intentionally delay an application's actions?

I was in a discussion in another forum where I disagreed with the purpose of intentionally delaying an application's actions, and I'm hoping someone can clarify where doing would be considered acceptable design. The scenario presented by the developer was that in their application, they add a delay of "a second or so" when updating a re...

Are replication data-centers useful for speeding up responses?

There are different types of data-centers so I want to explain that I'm talking about data-centers setup with the purpose of providing content faster to a certain local on the planet. From what I understand, each data-center shares access to the data storage and basically just exists somewhere in the world to keep requests from travaili...

What, specifically, belongs in a Model, a View, and a Controller?

I've been learning about the Model-View-Controller paradigm ("MVC"), but I'm quite confused since some tutorials contradict other tutorials. My current understanding of the process looks something like this: Router / Dispatcher / Front Controller: Though not specifically referenced in the "MVC" name, the Router is still a very import...

Application Design - Differences between iPhone and Cocoa applications?

In iPhone development for every page you see there are 2 files, a nib file, and a view Controller (books.nib, booksViewController.m), but in a Cocoa application apple suggests to have 3 files (books.nil, books.m, booksViewController). What is the point of having 2 class files? is it a bad idea to connect the attributes to the outlets in ...

Framework Brainstorm

Hello All. So we are this company with currently 3 browser based games. We are just 4-5 coders employed and would really like to improve the synergy from our coding. So we are considering making a more generic framework. Currently our games consists of one big mix of html, php, javascript, css & flash (+databases). So basically I woul...

connecting android with mysql

hey guys i am developing a final year location-based project(gps) in android.I have to create a server using php and mysql which contains name and location(in latitude and longitude) of important hospitals in Mumbai.The android client should be able to retrieve the the latitude and longitude of locations in mysql(external) database and t...

Smartphone app design document template?

Hello all, Im looking for a design document (templat) for smart-phone applications, I don't really mind which platform, because it should be easily transferable! I am aware that there are lots of widget & icon design guide lines available but I am also looking for some more high-level, well-rounded design such as use-case, uml diagrams,...

Writing a Snow Leopard Service for Finder.app

I am currently looking into solving the problem with the inability to quickly create new files in the Finder. I will open source what I write because I think the Mac community needs this solved. On Windows, you can right-click, create new text file. OS X, you should be able to do this with a service which would work like this: Right-...

Circular dependencies in foreign keys: use it or avoid it?

My application loads lots of data from a database into a complex data structure. The in-memory data structure ressembles the structure of the database, which means that if the database contains the following tables: table A, key is A1 table B, key is B1, one of the columns is a foreign key to [the key of] table A table C, key is C1, o...

Using MS Access database as a file format for desktop application needing open / save type functionality

Hello! This is probably a pretty novice design question. I'm trying to work my way through a number of requirements and give the users the experience they're looking for... I've written a tool that does big calcluation-type things. It currently consists of a class library and command line tool (separate .NET projects.) We're using an...