Web Languages

Learning Project Summary

 * Suggested Prerequisites:
 * None
 * Time investment:
 * Non-technical Activities: 2-3 hours of study, 1 hour in completion of the exercises
 * Technical Activities: 2-3 hours per language.
 * Assessment suggestions:


 * Portal:
 * School:
 * Department:
 * Stream
 * Level:Novice

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:
 * 2) * What is the main website for the language?
 * 3) * What is the most popular development environment for the language.
 * 4) * What deployment environment is necessary to run programs? Do you need a particular web server?  What frameworks do you need to have running?
 * 5) 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:
 * 4) * Create an array with 4 places.
 * 5) * Initialize the array with the the letters A,B,C,D randomly. Repeats are allowed. Create a form with 4 text boxes.
 * 6) * Create a form with 4 text boxes and a "guess" button.
 * 7) * Every time a user clicks on the guess button the program compares the input to the array and returns a result:
 * 8) ** The number of letters that are in the correct position and the correct letter.
 * 9) ** The number of letters that are in the solution but are not in the correct position.

Tests and Quizzes
What are web programming languages

Active participants
Active participants in this Learning Group
 * Eshafoshaf 15:56, 9 February 2007 (UTC)