Questions tagged [application-design]

Application design covers the entire pre-implementation phase of a project and consists in conceptualizing the architecture, its components, the interactions between each component, the data flows, and the processes to implement.

Filter by
Sorted by
Tagged with
2 votes
2 answers
175 views

In app development is it common to first write your app in a high level language, then rewrite it in a low level language?

Maybe I have misunderstood this concept. But is it common, when developing the backend to an app, mobile or web. To first write it in a high level programming language such as php, python, javascript ...
Arnold Doveman's user avatar
0 votes
1 answer
83 views

What types of operations should go into Node.js as opposed to client side javascript functions

I am building a web app with a lot of different API calls: our own proprietary REST API, third-party library API calls, etc. All of these calls either retrieve data, update data, delete data, or ...
connected_user's user avatar
2 votes
1 answer
673 views

What is the best way to store message threads?

I'm integrating a messaging feature into an application written in Javascript and would like to know which is the preferred data structure of storing messages. The two structures I can think of so ...
Fried_Chicken's user avatar
1 vote
1 answer
99 views

System architecture design advice

We are working on the design for an appointments system which has to work at remote locations, comms via 4G. Unfortunately a connection to the server may not be available at all remote locations, so ...
MartinS's user avatar
  • 111
6 votes
1 answer
432 views

Should data model logic live in database schema?

(Apologies if some of my terminology is off, I have not seen much on this subject and am using be best terms I could come up with) Should data model logic live in the database schema? I am making a ...
Entith's user avatar
  • 338
0 votes
2 answers
2k views

Communicate between browser and client application on localhost

I'm currently developing a Website that requires direct access to the client computer. Therefore I decided to split this project in this three main parts. There are some requirements that have to ...
Christian Klemm's user avatar
-1 votes
2 answers
68 views

How do I let other developers integrate modules into my content generator?

Background: I'm building a desktop app where user ability to develop mods is critical. At its bare bones it is a content generator where the content has many layers, and users can develop their own ...
James's user avatar
  • 9
0 votes
1 answer
55 views

Breaking apart a large javascript application that uses the object namespacing pattern

I have a mission critical Backbone application built before AMD and CommonJS were widely used. This application makes heavy use of the Object Namespacing pattern, so that that all the views, ...
user81971's user avatar
0 votes
1 answer
65 views

Add related record on record creation

My question is at a high risk of being a duplicated one, but that is not for lack of investigation. I've been around with this issue for long, and found nothing to solve it, but it seems such an ...
tebastian's user avatar
2 votes
2 answers
432 views

Search page design with logical operators

I have a page that displays a set of records. The page has filter section to search records. currently the logical operator AND is applied between all the filter conditions. Now the requirement for ...
Saranya's user avatar
  • 131
-3 votes
2 answers
92 views

Which should control the design of application software, Language or Framework or Domain? [closed]

Recently i have been looking more into the design part of application programs. The suggestion seems to be very different across different sources. For example the books like code complete suggest to ...
Arun C's user avatar
  • 103
2 votes
2 answers
160 views

Pricing File Creator

Problem We have a number of different customers getting a number of different price files, each customer can then also have different styles of pricing files for example customers can have just two ...
Houlahan's user avatar
  • 123
2 votes
2 answers
171 views

Application with user-defined column-level permissions

I am redesigning an existing SQL Server-backed web application. This application is used for tracking subjects (names, addresses, phone numbers, etc...) and related data (assessment information, ...
Jerrad's user avatar
  • 121
1 vote
2 answers
105 views

Application design for step by step filling information data flow

Suppose, my application consists of many components, where users need to fill theirs information, something like this: -Select city `-Select library `-Select book `-... a lot of components like ...
Yurii N.'s user avatar
  • 341
5 votes
1 answer
515 views

Should I retrieve related entities from the parent entity or the service layer?

Let's say I have a three tier application structure, with Presentation, Service and Data layers. The data layer is managed by an ORM and has two models/entities, Show and Episode, with a one-to-many ...
Magnus's user avatar
  • 415
0 votes
5 answers
172 views

Do I need multiple sizes for images in my application?

It is common to provide several image sizes with applications; anything from 16x16 to 256x256 and 512x512 for HiDPI monitors. Is there a reason why we need to provide all of them? Can we not supply ...
John Kouraklis's user avatar
0 votes
1 answer
144 views

Best practices to require simultaneous write in storage objects

This question is on program architecture and relationship between DAL, Security and BLL in case, when simultaneous write in several storage objects is needed. I address it to Microsoft SQL Server ...
Marvin's user avatar
  • 3
1 vote
3 answers
445 views

Predefined city/country list vs manual entry for address table

I'm trying to design a database for my POS application and have stumbled when trying to create an address table. I'm confused whether to have city and country tables with predefined values and link ...
Reynaldi's user avatar
  • 201
3 votes
2 answers
5k views

Suitable data store for storing comments in a social media site

I have been developing a blogging site, where people can post an article or blog and others can comments on them. The site is coded in Angular.js, ASP.NET and SQL is being used a data store. For each ...
Pratik Bhattacharya's user avatar
13 votes
5 answers
3k views

Should a single failure fail a bulk operation?

In the API I'm working on there's a bulk delete operation which accepts an array of IDs: ["1000", ..., "2000"] I was free to implement the delete operation as I saw fit, so I decided to make the ...
rath's user avatar
  • 886
1 vote
0 answers
59 views

Data Access And Entity Classes inside MVC

Sorry for this question seems naive. I am new to MVC model (I know I am a bit late to join the club), and I have a question regarding MVC with PHP. I think the implementation language doesn't really ...
Lamar's user avatar
  • 111
0 votes
2 answers
117 views

Need design suggestion about making a online judging system

I am currently working on project that is make a online judging system like codeforces. In this system user can submit code and the system will compile, execute, and generate output on a specific ...
Muztaba Hasanat's user avatar
2 votes
3 answers
1k views

Should Data Access Layer mirror my Database Configuration?

I am trying to decide how (or whether) my Data Access Layer should deal with existing security and integrity protections on the database. The architect in me says that separation of concerns is a ...
user avatar
3 votes
4 answers
169 views

How to separate the logic of my application into a dependency when it is coupled to the structure of the data?

I am about to start prototyping a 'quiz'-like web application that tests test-scoring methodologies, and I have an interesting architectural question. Each quiz given to a user needs to use a set ...
Chris Cirefice's user avatar
0 votes
1 answer
189 views

Seeking advice on design strategy for Java application

I'm a very new programmer developing my first application in Java as a side project for my employer. I'm a part-time student working full-time hoping to eventually score a developer job, and my ...
drs's user avatar
  • 3
3 votes
1 answer
4k views

How to synchronize data between two web services

I'm currently working on a project consisting of two different web applications. One of the applications is a PHP web server with a website front-end and a MySQL database. It consists of Laravel ...
DaveyG_501's user avatar
0 votes
1 answer
222 views

Android Studio, HTML and Java Correlation

I've recently started designing apps in Android Studio, and I've noticed that the same operations (for example, using a widget) can be completed by either going into the activityname_java file and ...
Joe Doe's user avatar
  • 11
-1 votes
1 answer
904 views

About data intensive and form intensive web applications

Can someone please highlight the definition and differences between data intensive and form intensive web applications.It would be really helpful if suitable java based web application framework or ...
javawarrior's user avatar
-1 votes
1 answer
1k views

Choosing default size of application window

Suppose I'm developing an application with a simple graphical user interface, like a basic text editor. How do I choose a good default size of the application window? Should the height of the window ...
August Karlstrom's user avatar
1 vote
0 answers
46 views

How do you feed sets of connected data elements to an artificial neural network?

I'm currently working on a neural network to try to predict movements of electricity prices in a big city with multiple power companies to choose from. I know from a friend in the industry that power ...
TheEnvironmentalist's user avatar
2 votes
1 answer
2k views

How can I find out network latency in rest service

I have two Java applications deployed on tomcat. For inter application communication I provide jar file of application (Java API) to other application and it becomes a method call which is fast. Now ...
Vipin's user avatar
  • 141
9 votes
3 answers
997 views

How to share a code base among 10+ projects and minimize pain?

I have a number of applications that share the same data in the same database. To try and minimize redundancy of code the Data Access Layer is a shared project. This prevents each project from needing ...
tt9's user avatar
  • 621
2 votes
2 answers
144 views

Multi application handling from single GUI [closed]

I'm searching for an approach to a very generic problem. In my recent private project, I want to control different Applications from a single GUI. To make the idea more clear I'll explain my project ...
shup's user avatar
  • 29
0 votes
1 answer
52 views

Should registration be required for an application which relies on success based on unique barcode?

The application goes something like this: Users download app and upon downloading, a unique barcode will be presented to them. The barcode (via phone) is scanned at the checkout (so it eliminates ...
Freddy's user avatar
  • 103
14 votes
3 answers
8k views

What is an "application model"?

Currently I'm studying .NET Core and in the early docs which first introduced .NET Core we see that talk about the many different verticals. This can be seem in this picture: In all the verticals we ...
user1620696's user avatar
  • 4,867
2 votes
2 answers
129 views

Implementing a method that never returns the same data twice

I have a mobile application which retrieves x number of ContentItems from a Web API, however I need a way to only display content that the user hasn't seen before on screen. (Just to be clear, the ...
KidCode's user avatar
  • 2,173
7 votes
1 answer
2k views

Spring Batch + Web Scraping

I need to develop a batch processing that will be executed every day. These are the steps: Read each line of a database table that contains a URL (SQLite) Extract some data, say Users, from that ...
Héctor's user avatar
  • 727
0 votes
1 answer
42 views

Confusion over organization of services

I have the following services: UserServices This has various methods: fetch_by_id(), create() etc. SessionServices Session handling: create(), destroy(), various getters. AnswerServices An answer ...
BugHunterUK's user avatar
0 votes
1 answer
98 views

MySQL: Application Table Design

I'm creating a new site which will have many objects, such as posts(text/photo/video), products, photo galleries, etc. Currently my design is to put all of the objects into a posts table, but I'm ...
timgavin's user avatar
  • 103
3 votes
1 answer
4k views

Folder structure for app with Symfony 2, React, Webpack, and Sass? [closed]

I am creating an app that uses some components of Symfony2 along with React, Webpack and Sass. We will mostly code in PHP, with the other things adding functionality to our app. I'm having a hard time ...
Katrina's user avatar
  • 211
3 votes
1 answer
197 views

Why update client model before sever model?

In tutorials I've seen, when data changes on the client (maybe a TODO is added to the TODOs list) the client side model (and often UI) is updated first, then the server is called to persist that ...
user1775718's user avatar
3 votes
1 answer
459 views

Azure Webjob Creation and workflow management

I am attempting to create a long running job to be used in Azure. I would like to be able to run multiple instances of this job if I needed it. I was thinking of seperating the primary functionality ...
Dan's user avatar
  • 145
4 votes
0 answers
65 views

Update of user interface cycle

I am developing an App for iOS. In an attempt to avoid the pure MVC where everything is packed in the "Controller", I have added a Presenter layer and an Application Layer. In doing so I ...
crom87's user avatar
  • 141
7 votes
1 answer
9k views

How to design a time tracking or activity monitoring application? [closed]

I am trying to build something like Manic Time - which is an application that tracks what the user is currently working on. It worked flawlessly on Windows, but doesn't support Linux. It has mad ...
dufferZafar's user avatar
1 vote
2 answers
2k views

How to acquire data and render page in context of REST/API application?

In typical REST/API application, build on MVC architectural pattern, what is the best available technique for acquiring data for rendering views? Should it be: as in any non-API application: data is ...
trejder's user avatar
  • 2,396
1 vote
2 answers
84 views

Using many Resource URI to create a Record and handling failure

Hi Guys, I have a decision to make to solve a problem, I’m describing the problem below. Application Overview I have an ASP.NET MVC 4 webApp which uses Rest Api for almost all the tasks, from Login ...
DayTimeCoder's user avatar
0 votes
1 answer
511 views

DAL / Model / Application-Design Question for a MVC Application

I have a device that stores raw binary log data as a BLOB in a MySQL DB. That process is a blackbox to me (closed source) which I cannot change. I know, however, how to decode that BLOB and transform ...
lightxx's user avatar
  • 103
6 votes
3 answers
6k views

How to securely implement roles in a Windows Form application?

As an ISV, what is considered best practice for implementing application role based security? In other words, only allow users to access certain features in the application based on what roles they ...
jonchicoine's user avatar
3 votes
1 answer
1k views

How do I handle online payment for items with single quantity? [duplicate]

I would like to implement a robust way to handle ecommerce payment for items with limited quantity, like for example exclusive paintings. Payment would ideally be accepted via PayPal and credit cards....
Karl Cassar's user avatar
4 votes
1 answer
495 views

What is the benefit of offloading email to a transactional mail service?

Why do so many people recommend offloading email to a transactional service such as Mandrill, Postmark or Sendgrid? Is sending email via smtp really that much slower than sending a request out to ...
biagidp's user avatar
  • 151