Flux rss

Webmastering - Web Languages

Introduction to the Web

The term "web" refers to the Internet service that allows users to browse through webpages. The protocol used for this type of communication is HTTP protocol (HyperText Transfer Protocol), which explains why the URLs that you type into a browser begin with http://.

Version 1.1 of HTTP protocol is currently being used (specified by the W3C consortium). More and more, however, HTTPS protocol (secure HTTP protocol) is being used along with electronic commerce systems because it is a secure protocol that enables encrypted requests to be exchanged between the browser and the server.

Today, the WAP protocol (Wireless Application Protocol) allows WAP compatible mobile phones to communicate with the mobile telephony operator's WAP gateway. Then the communications are converted according to HTTP protocol by the gateway. The latest version of the WAP protocol specified by the WAP Forum (the authority in charge of defining the WAP standard) is version 1.1 (beginning of 2001).

HTML and Static Pages

For now, the standard language established for the distribution of documents on the web is HTML (HyperText Markup Language). HTML is the language used to specify a document's presentation and hypertext links to other documents through the use of formatting tags.

The W3C, an organisation in charge of standardized Internet rules, specified HTML version 4.01 at the beginning of 2001.

The often talked about DHTML (Dynamic HyperText Markup Language) is not a true markup language. In truth, it is a group of languages that work with HTML that are used to make a webpage more dynamic. These languages are:

  • HTML 4.0 or higher
  • JavaScript, which is used to perform operations on the client's browser
  • DOM (Document Object Model), which defines an object tree structure that represents a document's configuration. DOMs are used to modify the objects included in the document.
  • CSS (Cascading Style Sheet), which groups together in one document the definition of each tag's style for an entire webpage or website

Dynamic Webpages

A "static webpage" is a webpage made up of a text file containing HTML code and possibly some images and links to other documents. A website made up of static webpages is thus defined as a "static website". A static website will work fine if it contains less than a couple dozen pages. However, operating and updating it may run up against the following limitations:

  • difficult to maintain because each page must be manually modified (especially when all the pages have the same menu)
  • impossible to display a page personalised for each visitor
  • impossible to dynamically create a page depending on database entries
  • etc.

This is why solutions have been perfected that allow servers to automatically generate webpages. Many solutions exist that allow scripting languages to be used on web servers. The most widely used are:

  • The first solution, called CGI (Common Gateway Interface), interpreted programs (generally written in perl or C programming language) and then had them send back a content that was compatible with the HTTP protocol
  • Microsoft's ASP language (Active Server Pages) made writing these scripts easier through the manipulation of objects in VBScript
  • The language PHP (Hypertext preprocessor) uses its own language (a derivative of C++ and Perl) and enables many functionalities (equivalent to those in ASP technology)
  • The JSP language (Java Server Pages) is the most recent among these technologies. JSP allows web designers to use all the power of Java to create dynamic webpages.

Java and the Web

For a long time, Java was mostly used to write applets, i.e. small programmes run on the client's browser within a webpage that make the page much more interactive (but much slower, as well).

Now Java is mainly used on web servers for the following reasons:

  • Java is portable (it can be run on every kind of platform)
  • Java is safe (it was designed to not cause any runtime errors that can create security weaknesses for the server)

The different Java objects are:

  • Servlets, which allow user requests to dictate processing (access to databases with JDBC, communication with other servlets thanks to RMI technology, accessing LDAP, etc.) ;
  • JSP pages representing HTML code in which the Java code is called
  • EJBs (Enterprise JavaBeans), server-side components written in Java used to access their methods

Java technologies are based on use of these three objects within an application server, i.e. a specific server using a virtual Java machine. The main application servers are:

XML

HTML quickly showed its limitations not only because of its limited number of tags but especially because it is impossible to separate content and presentation, which leads to problems when making even minor adjustments to presentation. Thus, XML was introduced as a meta language, i.e. a language used to define a new language (comprised of new tags).

Moreover, given that XML separates the presentation from the data, it is possible to exchange documents in XML format without influencing their form. This makes adapting content to a browser and other display devices simple (in that way, WML (Wireless Markup Language) is an XML implementation option for displaying webpages on mobile terminals).
XSL (eXtensible StyleSheet Language) is used to format an XML document with the help of formatting rules in order to compose a document in another format (HTML, WML, PDF, LaTeX, etc.)

XML organises information according to a tree structure defined by the DOM (Document Object Model). Thus, it is possible to read an XML document by using a parser (also called a syntactic analyzer), i.e. a programme that uses a function library (API, for Application Programmable Interface) to read and modify an XML document.

Last update on Thursday October 16, 2008 02:43:13 PM.

This document entitled « Webmastering - Web Languages » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Domain Names, DNS, and Web servers, Confused? Hey im a little confused on how all this stuff works (read title), i thought i understood it but then i run into HUGE road blocks. I kno how to program in all the web languages, run a web server via ip address (xxx.xxx.xxx.xxx), and use other... en.kioskea.net/forum/affich-18988-domain-names-dns-and-web-servers-confused
Build multi-language website Hello, I try building website that have two or more languages, but I can not do it. I don't the ways or methods to like that. So could you please tell me the methods to do? Thanks en.kioskea.net/forum/affich-12042-build-multi-language-website
IT professions - Webmaster (Website administrator) A webmaster (also called a website administrator) is in charge of maintaining and developing the company's website. To do so, he/she works to define the architecture and tree structure of the website, sometimes in concert with an interface designer... en.kioskea.net/metiers-informatique/webmaster.php3
Change the language of your websiteChange the language of your website Option 1: Option 2: If you have ever changed the language of a website that you have visited, you would have noticed that some websites prefer to ask you from which country you are from before... en.kioskea.net/faq/sujet-596-change-the-language-of-your-website
How to access Google in your preferred language?How to access Google in your preferred language? Google is an American corporation with main activity as publishing advertising. To expand its numbers of users on a global scale, Google has extended as a multi-language website enabling you to surf... en.kioskea.net/faq/sujet-366-how-to-access-google-in-your-preferred-language
Publish a PDF file on your websitePublish a PDF file on your Website Proposing a PDF link on your own website is an operation that can seem quite easy if you are a professional webmaster and know how to effectively use HTML tags. For beginners in HTML, a PDF file can be... en.kioskea.net/faq/sujet-569-publish-a-pdf-file-on-your-website
Send me webmastering tipsPlease send me tips and examples together with practical on the way to become a webmaster guru .I also need some latest web building software I am also in need of tutorial of web building inclusive of all essential and mandatory information on how to... en.kioskea.net/forum/affich-10924-send-me-webmastering-tips
Hey webmasters!!Hi webmasters, is it you who created such sites like yahoo / google and managing them? en.kioskea.net/forum/affich-2720-hey-webmasters
Webmaster forums for the non-technical?Hello, I am looking for a friendly webmastering forum where I can find webmasters who share my interests. Most of the webmastering forums I go to are dominated by people who are professional web-designers. Though I appreciate their knowledge, I want... en.kioskea.net/forum/affich-603-webmaster-forums-for-the-non-technical
Download AMSNaMSN is a free open source MSN Messenger clone, with features such as: Offline Messaging Voice Clips Display pictures Custom emoticons Multi-language support (around 40 languages currently supported) Webcam support Sign in to more... en.kioskea.net/telecharger/telecharger-61-amsn
Download Anti-pornAnti-Porn is a software of filtration of Web page. In effect, he allows to block Web page very with porno-graphic character. Software blocks billing and access to the suspicious files. Anti-porn also performs a bolting of the cats when a language too... en.kioskea.net/telecharger/telecharger-835-anti-porn
Download E-animAny webmaster must definitely know it that any site without animation would resemble a rose without its colors. How to avoid it if you are beginner in animation? this software contacts you. Offering numerous possibilities, you will find there very... en.kioskea.net/telecharger/telecharger-795-e-anim
Facebook launches Spanish version of websiteThe logo of social networking website 'Facebook' is displayed on a computer screen. Facebook on Thursday unveiled a Spanish version of its hot social-networking website and promised French and German language editions by spring. Facebook on... en.kioskea.net/actualites/facebook-launches-spanish-version-of-website-10073-actualite.php3
Japan finds 38,000 websites in bullying studyJapanese schoolchildren make their way home in Tokyo. Japan's education ministry said Friday that there were at least 38,000 underground websites linked to schools, some of which have become notorious for hate-filled postings by bullies.... en.kioskea.net/actualites/japan-finds-38-000-websites-in-bullying-study-10207-actualite.php3
SKorea ponders closer watch on web after surge of protestsSouth Korean web-based journalists, using the WiBro (wireless broadband) Internet service broadcast live demonstrators' candle-lit vigils in Seoul on June 20. After weeks of tumultuous protests inspired largely by South Korea's netizens,... en.kioskea.net/actualites/skorea-ponders-closer-watch-on-web-after-surge-of-protests-10476-actualite.php3
Webmastering - Measuring traffic Every webmaster's goal is to increase traffic to his or her website, i.e. increase the number of visits everyday. Therefore, it is essential to have indicators that, on the one hand, facilitate the measurement of how website traffic is evolving... en.kioskea.net/web/mesure-audience.php3
Webmastering - Online advertising Online advertising is an advertising method that allows webmasters to make their website financially profitable and cover the costs of hosting and domain names. It is also a special way of ensuring that the services and/or products that your website... en.kioskea.net/web/publicite-advertising.php3
IT professions - Webmaster (Website administrator) A webmaster (also called a website administrator) is in charge of maintaining and developing the company's website. To do so, he/she works to define the architecture and tree structure of the website, sometimes in concert with an interface designer... en.kioskea.net/metiers-informatique/chef-projet-multimedia.php3