Questions tagged [web-application-design]
75 questions
1
vote
1 answer
How does the web server communicate with the database?
This is just to explain how I think it probably works:
Let's say the web server needs data from 10 tables. The data that will finally be displayed on the client needs some kind of formatting which can be done either on the database or the web…

Utkarsh
- 25
- 1
- 6
1
vote
5 answers
countdown timer reloading again on refreshing
countdown timer code in javascript. But it is restarting again when the page is refreshed. I want the timer should continue even though it is restarted.
Help me to deal with this problem as i am beginner this is my first application i need some…

S Madhu
- 51
- 1
- 8
1
vote
3 answers
Best practices: retaining users' data on content when user accounts are deleted
In a helpdesk application, we store user conversations, user accounts and various contact information linked to those accounts.
Due to the nature of typical helpdesk, even when a user account is deleted we'd still need to retain core profile data…

Jamie Edwards
- 755
- 6
- 15
1
vote
1 answer
Can I use CMS to design css styles and header/footer and leave the content implementation empty to be designed/developed by developers?
We have requirement to employ a CMS for brochureware/marketing websites. But we are thinking to allow content designers to design look and feel of the ecommerce pages in CMS and then leave the content implementation (e.g. jquery/ajax etc) to the…

Imran Qureshi
- 19
- 4
1
vote
1 answer
How to manually change what the users see through a back-end of a Rails app?
I am designing a voting application. Generally I want my users to have just a few views:
View 1: Please wait
View 2: Text of a question
View 3: Text of a question + voting buttons bellow it
View 4: Text of a question + “You voted……

Alexander Popov
- 23,073
- 19
- 91
- 130
1
vote
1 answer
Interfacing django and PHP apps, best approach?
I've got a django application and a WordPress install on the same server. The public website is WordPress and the django app deals with some aspects of the website.
(The site is a theatre website, the django app deals with upcoming shows and ticket…

wjdp
- 1,468
- 19
- 36
1
vote
0 answers
authentication and authorization design in RESTful web application
I have an web application built using RESTful services (JAX-RS).
There are REST calls, and simple JSPs with js files to handle data.
Now I want to implement authentication and authorization in service. What I did earlier was to implement simple…

Jigar Shah
- 2,576
- 6
- 31
- 53
1
vote
2 answers
How implement billing system
I have two collection in database income_funds and expenditure_funds:
income_funds
timestamp
amount
status (not confirmed, confirmed, refunded)
expenditure_funds
timestamp
amount
I need get current account balance and get…

tbicr
- 24,790
- 12
- 81
- 106
1
vote
1 answer
Personalized like/unlike logic - should it be pushed to the view, the data, or the service layer?
Wanted to see if there is a consensus on where the logic for showing liked/unliked buttons be kept, at the client view or on the database query. Pushing the logic to the query itself keeps it clean and consistent, but would require every query for…

MonkeyBonkey
- 46,433
- 78
- 254
- 460
1
vote
1 answer
Best way for downloading many files in a website
I'm designing a website that will let the user synchronize a local folder to an online folder (Kinda like dropbox).
I'm trying to find a way to avoid developing a local tool to do the download and synchronization. And do it somehow online.
Is it…

Nitay
- 4,193
- 6
- 33
- 42
1
vote
1 answer
Buyer and Seller badge assignment module database design
I am developing a B2B trading application, it has buyers and suppliers for various products.
I am trying to develop a "badge assignment module" that will be used to assign badges through admin panel to the buyers and suppliers according to their…

Kumar Gaurav
- 899
- 5
- 19
- 35
1
vote
1 answer
annotations / comments for web form / wysiwyg editor
I am building a web application where users can write articles. It's written in PHP / mySQL.
At the moment I use a simple text form where the users can write their content. Formatting is done later by XML export / Layout application.
BUT: The users…

silvan
- 13
- 3
1
vote
1 answer
Retrieve and display comments/queries from database
I'm developing in php/sql a web application where users will be able to post items that they'd like to sell ( kinda like ebay ). I want non-members to be able to comment on the items or ask queries about items.
My problem is I want to display each…

user1678293
- 85
- 1
- 10
1
vote
1 answer
MVC design - handle file upload before saving the record
We've an MVC web app which has a Claim management wizard (similar to a typical Order entry stuff). Claim can have multiple Items and each Item can have multiple files related to it.
Claim --> Items --> Files
While adding a new Claim - we want to…

Hemant Tank
- 1,724
- 4
- 28
- 56
1
vote
1 answer
war-less jar-based deployment
this time i have a kind of theoretical question.
one of sw developers working for a pretty big company told me today, that they don't use war files for their application deployments. their sw architects believe, that war files are evil, since…

atarno
- 329
- 1
- 3
- 14