Home > Articles > Programming > C#

Why C#?

This chapter is from the book

This chapter is from the book

HTML Ancestry

It all began at the high-energy physics laboratory in Geneva, Switzerland, named CERN. The simple problem encountered by the scientists involved the time delay in disseminating research papers and other documents. And this time delay wasn't restricted to the nucleus of buildings on the CERN campus; their vital statistics were shared throughout the world. It is Tim Berners-Lee, who is credited with designing the system that would allow scientists to easily share fairly complex materials using a simple set of protocols over the Internet (the term used to describe all the worldwide interconnected TCP/IP networks).

NOTE

TCP/IP—is an abbreviation for Transmission Control Protocol/Internet Protocol. A set of protocols that applications use for communicating across networks or over the Internet. These protocols specify how packets of data should be constructed, addressed, checked for errors, and so on.

Tim broke his solution down into two parts: HTTP, the Hyper Text Transfer Protocol definition—which provided a simple way for users to request and receive files over the Internet—and the more familiar HTML or Hyper Text Mark-up Language. Unlike HTTP which defines how information is sent or received, HTML defines the visual presentation of the material on the receiving end.

Needless to say, as originally designed, HTML was never intended for the variety of display potentials presented by today's multitasking object-oriented operating systems like UNIX and Microsoft Windows. Nor was it ever designed to create wild multimedia sites that incorporated graphics and animation. The fledgling Internet was seen more as a library than as a virtual reality mall. As such, the original definition of HTML included as much output display control as would be needed by the typical scientific journal article.

Because HTML's protocols were succinct and complete, they were immediately accepted by the scientific community, which adopted it as their electronic typesetter. Scientists were particularly excited about HTML's ability to create links to other pages of information, making the documents much more alive than a static piece of paper. Unfortunately, this forward-only hot-link capability left something to be desired.

CGI

One of the earliest scripting languages was CGI or Common Gateway Interface. Its most common application is in forms processing. CGI allows you to create pages for users as individual requests come in, and you can customize pages to match that information.

The user usually fills out a form and clicks on a submit button. Then the user's browser sends a request to the server that includes information the user entered into the form. The server then sends this information on to another program for actual processing and responds with the appropriate output at the client or user end. Actually, depending on the kind of server your site resides on, you can write CGI programs in C++, PERL, and even AppleScript.

PERL

PERL is undoubtedly the most common language used for scripting CGI in UNIX environments with its combination of C syntax and the power of UNIX regular expressions. It is possible to write simple programs in PERL with a minimum of effort.

JavaScript and JScript

Netscape Version 2.0 is credited with the introduction of JavaScript. Immediately, Microsoft Internet Explorer 3.0 countered with its own flavor called JScript and VBScript based on the easy-to-learn Visual Basic. The good news is that JavaScript and JScript are evolving towards one another; however, various browsers still respond in non-uniform fashion.

These languages provide HTML developers with additional programming horsepower that enables them to make browsers do new and different things. Not everything has to take place on the server end; now the client can take on more of the responsibility of processing.

VBScript

Offering Visual Basic programmers the programming enhancements of a scripting language, VBScript came bundled with Microsoft's Internet Explorer 3.0. While JavaScript and JScript have a very C- or Java-based aroma, VBScript offers Visual Basic programmers the familiarity of their popular language. VBScript also easily integrates Microsoft's ActiveX controls in a Web environment.

Plug-Ins and ActiveX

Netscape is originally credited with developing the first plug-ins; Microsoft with developing ActiveX controls. The idea behind both is that the controlling software is loaded onto the user's computer (client), and then the Web page contains another file that contains the specific instructions or content.

While there are significant structural differences between plug-ins and ActiveX controls, their basic purpose on the page is basically the same. Like a Java applet, they add additional features and functionality to a Web page without directly affecting the host page. They also create a bidirectional communication between the end-user and the plug-in.

NOTE

Java Applet versus Java Application—Java applets are programs that will only run when hosted by a Web browser, while Java applications are stand-alone programs that are designed to run on any system and need no Web browser or Internet connection.

The downside to both technologies is that they add to the download time of the Web page. In addition to the time it takes to download and install the actual plug-in or control, there's also the extra time to download the content files. In addition, neither technology really provides interaction with other elements on the page. There are some ActiveX controls that provide features like tool tips or pop-up menus, but, like plug-ins, these items are operated directly by the control with no ability to go beyond the feature itself.

It Allows Every Type of Computer World Access!

The Web is, most importantly, platform independent. This means that you can access the World Wide Web regardless of whether you're running on a low-end PC, an Apple Mac, an expensive Silicon Graphics workstation, a VAX cluster, or a multi-million dollar Cray super computer!

Web Browsers—The Electronic SEARS Catalog

A Web browser, as mentioned earlier, is a program that you use to view pages on the World Wide Web, sometimes called web clients. A vast diversity of Web browsers are available for just about every type of architecture you can imagine, most importantly graphical-user-interface-based systems or GUI systems such as X11, Windows, and Mac platforms. There are even text-only browsers available for simple dial-up UNIX connections.

Full Color Shopping at Your Fingertips

One of the key features of Web browsers is their ability to display both text and graphics in full color on the same page, and all of this with a simple URL address, followed very often by nothing more than consecutive mouse clicks. If you are just jumping onto your Internet surfboard for the first time, you may not be aware that in its fledgling state the Internet was accessed by non-standard, confusing, command-line, text-only protocols. Of course, today's state-of-the-art rendition reacts to simple mouse clicks and is much more interesting with its new sound and streaming video capabilities. Even 3D virtual-reality simulations are possible with VRML (Virtual Reality Modeling Language).

NOTE

VRML—You can find a very interesting World Wide Web Virtual Library at http://www.w3.org, supported by individuals interested in promoting/sharing information on this extremely exciting outgrowth of HTML.

Info Info Everywhere

Of course, the very name, World Wide Web, indicates that the information you are downloading is potentially distributed throughout the entire globe. Since the information you are accessing occupies vast amounts of disk storage particularly when you include images, multimedia, and streaming video, there hasn't been a computer built to date that could house this bit explosion in one physical location.

Actually, this distributed diversity of data storage repositories is to your advantage. Were this information stored in a single location, imagine the chaos generated by a downed mainframe! The Web is so successful in providing so much information because that information is distributed globally across thousands of Web sites. And the best part about the interconnection is that if one leg of the information route is interrupted, for any reason, an alternate Web link takes over.

Provides Full Bidirectional Communication

An exciting aspect to Web interaction is its provisions for you to "talk back." Take, for example, a radio or television broadcast. This is one directional output.

The exciting news is that with today's evolution of HTML your document's display instructions are not limited to text only, but can now include graphical and auditory elements and can communicate back to the server.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020