This page is formatted in a plain simple data and HTML layout. (tags & tables)
Students may submit external CSS files for formatting and decoration.
div #buttons .section #firststeps #design #css #scripts #cgi #xml #tools #links
First know the languages you are using.
Then you can most effectively use the tools such as editors and IDEs.
The Head section
The Body section
Identify each element in your pages. Assign format attributes to each in the CSS section or file. This will help save tremendous amounts of time when you wish to change something. It also gives great flexibility in the formatting. The one site you must see while visiting CSS Land is CSS ZenGarden!
Decide how much interactive functionality you wish to put in your pages. Design what will happen when the user makes mouse clicks, mouse rollovers, etc. Tie together the elements and the Javascript functions. AJAX means Asynchronous Javascript And XML. This technique is used to refresh portions of the page to save time and prepare the page in the background. Google Maps uses AJAX to prepare the maps before the user moves to a new area. This makes the viewing easier and smoother for the users. It lets the page anticipate the next changes.
This can add attractive animation but don't go overboard. People won't want to wait long times for a loading file. Remember also that Flash is proprietary and that it will make updating and maintaining your site somewhat more complicated. GIF files are small image files that have multiple frames and move in sequence like a film. The GIF format is limited to 256 colors, however. Visit Blue Jam for a stunning example of Flash gone wild!
Does your site need a database? Will you be publishing large amounts of data or data that change frequently or on a regular basis? Will you collect information from your visitors? Which database is available to you? There are several good database engines for the web. Another good option is to use flat files to hold the data.
There are several great scripting languages - try them all and pick your favorite. Which language will you prefer?
This is a useful way to organize data and to store it so that other users can copy it and work with it.
Once all the files are ready, you will "upload" them to your server. This is done with FTP software. There are many versions of FTP. Pick your favorite.
CSS - Cascading Style SheetsThe styles apply to both HTML and user-defined elements. There is also simple functionality such as sensing mouse hover events. Unfortunately, CSS is not uniformly implemented in all browsers. MSIE, for example, does not comply closely with web-standards so the CSS that MSIE will support is limited. Nevertheless, you can still use CSS to enhance and layout your web sites.body { background: black url(../images/bg_SaturnTitan.jpg) 0 0 no-repeat fixed; background-position:center 0px; text-align:center; } .center { position:relative; display:block; margin:0px auto; padding:0px; margin:auto auto; width:700px; text-align:left; vertical-align:middle; } #attention { display:none; } #menu { display:none; } #buttons { position:fixed; display:inline; width:100px; left:4px; top:40px; border:4px groove gray; margin-bottom:6px; padding:3px; } #buttons input {display:block; width:100px; } #sensehover {text-decoration:underline;} #sensehover:hover {text-decoration:none; color:#9999ff;} |
JavaScript is a small programming language that provides functionality for web pages. It makes HTML into "Dynamic HTML" - DHTML. It works with the HTTP Document Object Model - the DOM. JavaScript is object oriented and case sensitive. Javascript (which is from Netscape) is not related to Java (from Sun Microsystems). The similarity in names was simply due to uncoordinated advertising campaigns by people who were strung out on caffeine.
XML - "eXtensible Markup Language"Here is an example of an XML document.The tags have descriptive names, so it is easier to make a program to sort them out. < p-language > < p-lang-num >45< /p-lang-num > < p-lang-name >XML< /p-lang-name > < description > < whatisit > XML is based upon SGML- the prototype MarkupLanguage. It is used primarily in the transfer or re-use of data. < /whatisit > < whyuseit > with XML, you can make your own tags. a program can then access each piece of data distinctly and interpret the data according to the tag labels. programs can easily use xml as a data exchange format. this can reduce the amount of programming needed to interpret data in transference, processing and display. < /whyuseit > < howtouseit > XML can be formatted with XSL & CSS. < /howtouseit > < /description > < /p-language > |
Here are some links to understand the usage and potential of XML. |
Web ApplicationsWeb applications allow users to work with browsers. Making your program into a web application means that anyone with a browser can use your program, regardless of which operating system or machine they have. Most often used as programs on the server that process incoming data from web site visitors. For example: CGI programs often accept a click on a page as a request for data, access a data file or database engine and return a page with the requested information which is up to date. CGI enables the programmers to prepare a database instead of updating each and every page with the new information. This makes presentation of large amounts of data and many different kinds of data possible. CGI - Common Gateway InterfaceThere are dozens of languages usable for Web CGI applications.
WSGI - Web Server Gateway InterfaceThere are many frameworks working towards a new definition of the web.
CGI Examples:www.astrofaces.com This button displays a page generated by Perl from a research site that uses CGI programs: Here is a more detailed request of the same site. Select a dot ("radio button") then click the button. |
Tools, Ancillary Software
|
||||||
MS-Firefox | An archived parody site that points out that Microsoft copied Firefox for all their new features in MSIE7. |
Information Week | Article on the spoof "MS-Firefox", Firefox and MSIE |
CNET | MSFirefox site was created and pulled down in 2006 | Organizations |
---|---|
W3C | WorldWideWeb Consortium |
NCSA |
National Council ?? |
SIIA | Software Information Association involved in many aspects and in SIF software information ? for children's educational institutions | Language sites |
ASP |
From Microsoft, Active Server Pages works only with Windows IIS servers. It is not open source or cross-platform. |
CSS |
Cascading Style Sheets provide the formatting for HTML and XML pages. This enables programmers to separate the formatting from the data and provides flexibility and saves time and effort. (This is good because programmers are lazy and they don't like to do things twice) |
Flash |
From Macromedia / Adobe - Flash provides graphic animation for web sites which responds to user actions such as mouse movements and clicks. |
HTML |
Tim Berners-Lee developed html and the browser as a subset of SGML for posting data on the CERN research projects in 1992. Before this, the Internet was email and searches of lists by several simple search programs. HTML was the innovation that made the Internet into the World Wide Web. |
Java |
Java is an interpreted language from Sun Microsystems - This language is a complete application language with servlets and applets for the web. High level computer engineers have criticized Java as "over-engineered" and unwieldy - unnecessarily complex. Java is cross platform and interpreted by the browser, not compiled. |
Javascript |
Netscape originated Javascript to enhance their Navigator. It is a small language designed for enhancing web documents with functionality and has become accepted as an integral part of what is called DHTML - dynamic html. There is no relation between Javascript and Java. The similarity in names is simply due to advertising campaigns organized by people who were strung out on caffeine. Javascript has recently gained new momentum as AJAX - Asynchronous Javascript And XML. Ajax is a technique which enables a web page to refresh a portion of the page. This is often used to make pre-emptive changes which the user may need in a few moments - see Google Maps. |
Perl |
Started by Larry Wall in 1987, Perl has become one of the most popular scripting languages on the web. It is cross-platform and open source. |
PHP |
started by Rasmus Lerdorf in 1995, the PHP language has become one of the most popular programming languages for web applications. PHP runs on the server, is cross platform and open source. |
Python |
Started by Guido von Rossum in 1990, the Python language named after Monty Python, is a very poular and effective interpreted language. Python is cross platform and works in several web application frameworks. |
Vista Smalltalk |
SmallTalk |