At some point in life, there can be situations that we have to decide whether to invest effort into a product/service that we will bring to a market to sell. Michael E. Porter came up with a framework in 1979 that helps us analyse the market situation so that we can decide whether it is worthwhile for us to enter the market with a product/service that we have in mind. This post documents my understanding of Porter's five forces for my future references.
There is a number dial that changes rapidly and a text field for the user to enter his name. When the user clicks on the "get lucky number" button, jQuery is used to send the lucky number on the number dial and the user name to the server.
The server generates a text file based on the input from the user and sends the file back to the browser. The browser will then show a download dialog box for the user to decide whether to save a copy of the file or view the file using one of the native applications found in his/her computer.