Click here to Skip to main content
15,890,438 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Eddy Vluggen16-Aug-17 12:52
professionalEddy Vluggen16-Aug-17 12:52 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Mycroft Holmes15-Aug-17 12:42
professionalMycroft Holmes15-Aug-17 12:42 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
jschell21-Aug-17 4:57
jschell21-Aug-17 4:57 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
jschell16-Aug-17 6:41
jschell16-Aug-17 6:41 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Gerry Schmitz16-Aug-17 6:50
mveGerry Schmitz16-Aug-17 6:50 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Kevin Marois16-Aug-17 7:05
professionalKevin Marois16-Aug-17 7:05 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Eddy Vluggen21-Aug-17 9:22
professionalEddy Vluggen21-Aug-17 9:22 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Kevin Marois16-Aug-17 7:16
professionalKevin Marois16-Aug-17 7:16 
jschell wrote:
I had a real app that represented a dentists office and QA claimed that the address could be updated by two people. So I came up with the following real (reasonably) valid business case.
1. Parents are divorced and fighting over child custody.
2. Parent A is in the office and insisting that child's address be set to their address.
3. Parent b is on the phone and insisting that child's address be set to their address.

The above is an example of one record that has two different values. The only problem is that there is absolutely no way for software to determine which one is correct. Locking doesn't solve anything. Notifications do not solve anything.


I totally disagree. Your example is perfect case FOR locking..

User A with parent standing there clicks "EDIT". All other instance's EDIT buttons become disabled.
User B with parent on phone can now not modify the record until the other user is done.

I'm currently working on a mid-sized app for a construction company. There are 5 users in two buildings on site. The app existed when I got there. One problem they have is exactly this scenario...multiple users attempting to update a job record at the same time. It IS happening because the app isn't doing anything to prevent it.

I hear you and others here saying there's no use case for this and I'm left scratching my head because this scenario most definitely exists and needs to be handled.

The only use case where this doesn't need to be addressed is when there's only one user.

jschell wrote:
What is the business use case for that?

Not everything built into an app comes out of the customer requirements. There are expectations that the app will function correctly, and we as developers are responsible to ensure that happens. If you're not building in safeguards, then bad things WILL happen.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

GeneralRe: Call Into or Notify Other Instances Of Your App Pin
jschell18-Aug-17 12:11
jschell18-Aug-17 12:11 
AnswerRe: Call Into or Notify Other Instances Of Your App Pin
Gerry Schmitz15-Aug-17 7:40
mveGerry Schmitz15-Aug-17 7:40 
Questionplatform for an app for Ease of Access searched Pin
Erhy31-Jul-17 6:07
Erhy31-Jul-17 6:07 
AnswerRe: platform for an app for Ease of Access searched Pin
Afzaal Ahmad Zeeshan31-Jul-17 6:30
professionalAfzaal Ahmad Zeeshan31-Jul-17 6:30 
GeneralRe: platform for an app for Ease of Access searched Pin
Erhy31-Jul-17 6:51
Erhy31-Jul-17 6:51 
AnswerRe: platform for an app for Ease of Access searched Pin
Afzaal Ahmad Zeeshan31-Jul-17 7:38
professionalAfzaal Ahmad Zeeshan31-Jul-17 7:38 
GeneralRe: platform for an app for Ease of Access searched Pin
Erhy22-Aug-17 10:39
Erhy22-Aug-17 10:39 
QuestionDesign and Architecture Pin
ijekhuenmen eromosele26-Jul-17 5:02
ijekhuenmen eromosele26-Jul-17 5:02 
AnswerRe: Design and Architecture Pin
Richard MacCutchan26-Jul-17 5:10
mveRichard MacCutchan26-Jul-17 5:10 
GeneralLooking for technological suggestion Pin
Kishor Mhaske20-Jul-17 0:08
Kishor Mhaske20-Jul-17 0:08 
QuestionAPI for online collaboration and file sharing Pin
petter201210-Jul-17 13:49
petter201210-Jul-17 13:49 
AnswerRe: API for online collaboration and file sharing Pin
Pete O'Hanlon10-Jul-17 20:06
mvePete O'Hanlon10-Jul-17 20:06 
GeneralRe: API for online collaboration and file sharing Pin
petter201211-Jul-17 0:22
petter201211-Jul-17 0:22 
GeneralRe: API for online collaboration and file sharing Pin
Gerry Schmitz11-Jul-17 6:56
mveGerry Schmitz11-Jul-17 6:56 
GeneralRe: API for online collaboration and file sharing Pin
petter201211-Jul-17 9:12
petter201211-Jul-17 9:12 
AnswerRe: API for online collaboration and file sharing Pin
jschell13-Jul-17 6:47
jschell13-Jul-17 6:47 
QuestionBusiness language Solution? Pin
Joer4x425-Jun-17 9:08
Joer4x425-Jun-17 9:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.