Web Languages

Content summary

Which Language To Choose Which language you choose may be a more a matter of preference rather than need. Today most of the major languages will do almost anything you want. However, each language has its own strengths and may be more appropriate depending on the project.

The good news is that trying out each of the major languages is fairly easy to do once you have an environment setup. Moreover, you can try most of them for free with the right tools! Although the ideal situation would be for each student to work on all the languages, there may be only specific ones you are interested in. In this case, pick at least two languages and work on the exercises below.

Common Web Development Languages

  • ASP.Net
    • using VB.Net
    • using C#.Net
  • PHP
  • Ruby
  • Python
  • Java
    • Java Servlets
    • Java Applets
    • Java Server Pages
    • Java Beans

Goals

  • Students will be able to compare and contrast major web development languages.
  • Students will be able to create basic "Hello World" programs in multiple languages.
  • Students will have created a simple but non-trivial program in mulitple languages.
  • It is not an objective of this section to be a replacement for indepth study in a particular language.

Activities

Non-technical Exercises

  1. For your selected languages find out the following:
    • What is the main website for the language?
    • What is the most popular development environment for the language.
    • What deployment environment is necessary to run programs? Do you need a particular web server? What frameworks do you need to have running?
  2. Does your language use LAMP or WAMP?

Programming Exercises

  1. Hello World: For your selected languages write and run a simple "Hello World" program. This program should return the string "Hello World". Since most languages would allow you to have an HTML form of some type, make sure this program returns the value of a variable that is set to the value "Hello World."
  2. Simple Math: Create a web page with two textboxes and a button. A user can enter numbers in each textbox and when the button is clicked, the two numbers are added and the result displayed.
  3. MasterMind:
    • Create an array with 4 places.
    • Initialize the array with the the letters A,B,C,D randomly. Repeats are allowed. Create a form with 4 text boxes.
    • Create a form with 4 text boxes and a "guess" button.
    • Every time a user clicks on the guess button the program compares the input to the array and returns a result:
      • The number of letters that are in the correct position and the correct letter.
      • The number of letters that are in the solution but are not in the correct position.

 

This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.



Web_Languages
 

Manage research, learning and skills at IT1me. Create an account using LinkedIn to manage and organize your IT knowledge. IT1me works like a shopping cart for information -- helping you to save, discuss and share.


  Contact Us  |  About IT1me.com |  IT Training & References |  IT Careers |  IT Hardware |  IT Software |  IT Books