Friday, February 19, 2016

The Value of STDOUT in Web Development

Rosetta Team. This is a short note for those of you not familiar with the fundamentals of web development. The previous examples which describes printing data on the STDOUT stream that usually appears on the computer's console might seem very simple. One will likely notice that in more than one of the languages that he command for this is simply "print". Although seemingly trivial, this example shows the commonality among many programming languages; however, it shows some unique differences in console printing approaches when one considers the object-oriented languages JAVA and C#. These require the use an object's method when printing instead of a stand-alone procedure.

The true power in the development potency of the previous example on STDOUT is this, it is the primary stream for sending an HTTP (HyperText Transfer Protocol) response. When developing web-scripts such as servlets and CGI (Common Gateway Interfaces), one will simply structure an HTML (HyperText Markup Language) response. This is the content which the client browser will display from the "prints" on the STDOUT stream from the web-script. Subsequently, the web server with is networking software handles sending the browser this HTML content in an the form of an HTTP response. This is the Power of Print!

Keep Learning. Keep Striving. Happy Coding. The Rosetta Team.

No comments:

Post a Comment