title: How to decide between developing a web application and a desktop application
body: <p>I am a software engineer intern for a manufacturing company and they want me to develop an application for the company. They are leaning towards a web application however, I wish to know whether a desktop application would better fit the job. Therefore, I have been googling and looking through stackoverflow to find out what the pros and cons between desktop applications and web applications are. The following is essentially what I found:</p>
  
  <p><em>Quick disclaimer, I have background in C# and WPF so I am a bit biased as it would be easier for me to develop a desktop application. I have no web experience so there is nothing I can really talk about in that area which is why I wish to know more about whether this application is better suited as a web application or desktop application. I am absolutely open to learning Php and web development to expand my abilities. I have started (a bit) looking into developing the web application using Php7 with Laravel framework.</em></p>
  
  <p>Pros of desktop applications:</p>
  
  <ol>
  <li>Typically faster than Web Applications (Assuming web application will perform complex queries, calculations, etc, and not just display markups)</li>
  <li>Development of GUIs is faster</li>
  <li>More secure as desktop applications are private by default.</li>
  <li>There are more available controls allowing for a more rich and interactive experience for user (Or at least, these controls are easier/faster to implement on desktop based applcations compared to a web-based application)</li>
  <li>Can take advantage of user hardware.</li>
  </ol>
  
  <p>Cons of desktop applications:</p>
  
  <ol>
  <li>Use/deployment is limited by system (However, this should not be a problem because all our systems are Windows based.)</li>
  <li>Updates and installation must be manually implemented.</li>
  <li>If every client desktop gets a database connection, scaling is not
  good as database suffers from heavy load. (However, this probably
  will not be the case since we won't have more than 500 users).</li>
  </ol>
  
  <p>Pros of web application</p>
  
  <ol>
  <li>Cross platform (No need to deal with different operating systems) so it is easily portable</li>
  <li>Development is quick and easy</li>
  <li>Deployment is easy as updates are automatic and server side.</li>
  <li>Large community support and available frameworks.</li>
  </ol>
  
  <p>Cons of web application</p>
  
  <ol>
  <li>Larger overhead (Applications tend to be slower due to need to transmit data across the internet).</li>
  <li>Need to deal with different browsers. Javascript most likely needs to be tweaked to be perfect on one web platform (Chrome, Firefox, etc) and will not be perfect on the others. (However, this is not that big of a deal).</li>
  <li>Security is an issue since data will be public.</li>
  </ol>
  
  <p>Please let me know if any of the above is outdated (most of the posts I found were from 2011 or prior) or wrong. Also, if there is any other pro/con to consider.</p>
  
  <p>Moving on to the application description....</p>
  
  <p>Background on the company: We build and process dozens of different parts every day. For each type of part, after X amount of the part is processed, a sample needs to be taken for inspection. So for example, part Y has 3 samples taken every 120 minutes to be inspected (Because the machine typically finishes processing X amounts in 120 minutes). The inspection results (measurement data) are then stored in the database (MySQL database).</p>
  
  <p>General summary of the application's purpose:</p>
  
  <ol>
  <li>View the schematics of all the parts we design (We store all the schematics as pdfs on a network drive, so this is simply just pulling up the specific pdf requested from the drive and displaying it onto the application).</li>
  <li>View/update the status of all the machines in the company (What parts are they working on, are they online/offline, etc). A certain user (Inspector) will use this application to update machine status/information. Then another user (Operator) will use the application to view the statuses.</li>
  <li>Monitor part inspections. So, for every machine and part being processed, there will be a timer to let a Operator user know when a certain part needs to be submitted for inspection. Upon part submission, an inspector will then receive a notification to inspect the part, and after letting the application know that they completed the inspection, the timer will restart to let the operator know whens the next time they need to submit a part.</li>
  <li>The application will calculate statistical data (For example, Cpk values) from the part measurements obtained from inspection results and display the statistical data along with a graph/chart.</li>
  </ol>
  
  <p>I hope I explained all of this clearly enough. Some other things to note, from my understanding, the users will not need remote access. This application will pretty much only be used on company site. Also, the original reason that the company wanted a web application was because operators will be using a tablet for the application and the tablets they acquired were original android based. However, they decided to switch to using Windows Surface tablets so WPF applications are now a possibility.</p>
  
  <p>With all of this being said, I am really looking for input on what route people with more experience would recommend. I am still in college so please forgive my lack of knowledge/experience. What else should I be thinking about when deciding between a web application and desktop application? </p>
  
  <p>Here are some of the pages I have seen while pondering this topic:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/1072904/advantages-of-web-applications-over-desktop-applications">Advantages of web applications over desktop applications</a></li>
  <li><a href="https://www.quora.com/How-much-different-is-it-to-build-a-web-application-vs-a-desktop-application" rel="noreferrer">https://www.quora.com/How-much-different-is-it-to-build-a-web-application-vs-a-desktop-application</a></li>
  <li><a href="https://www.quora.com/What-are-the-advantages-and-disadvantages-of-web-based-application-development-vs-desktop-application-development" rel="noreferrer">https://www.quora.com/What-are-the-advantages-and-disadvantages-of-web-based-application-development-vs-desktop-application-development</a></li>
  </ol>
  
  <p>There were more stackoverflow pages but the one listed above pretty much has everything that the other pages stated.</p>
  
  <p>EDIT: Seems like web-application is winning so far (Not that I mind at all, I am actually excited to develop a web-application based off what I am hearing). Is there anyone who would rather do a desktop application? If so, why?</p>