8. Linux file system Standard directory structure / - the topmost /dev - all the devices are accessible as files /var - “variable” data such as mails, log files, databases /usr - almost all the packages installed /etc - configuration files /home - home directories for all the users /root - home directory of the privileged user root /mnt - used to mount other directories/partitions.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19. * mod_alias - to map different parts of the URL tree * mod_include - to parse Server Side Includes * mod_mime - to associate file extensions with its MIME-type * mod_rewrite - to rewrite URLs on the fly * mod_speling (sic) - to help your readers who might misspell URLs * mod_ssl - to allow for strong cryptography using SSL * mod_userdir - to allow system users to have their own Web page directories
20. BUILD : As with any source installation, you'll then need to build the installation: make make install CUSTAMIZE : Assuming that there were no problems, you are ready to customize your Apache configuration. This really just amounts to editing the httpd.conf file. This file is located in the PREFIX/conf directory.
21. TEST YOUR SERVER : Open a Web browser on the same machine and type http://localhost/ in the address box. You should see a page similar to the one in the partial screen shot above
22.
23.
24.
25. Similarly, to use PostgreSQL with PHP5 you should install php5-pgsql package. To install php5-pgsql you can enter the following command in the terminal prompt: sudo apt-get install php5-pgsql CONFIGURATION : By default, the Apache 2 Web server is configured to run PHP5 scripts. In other words, the PHP5 module is enabled in Apache2 Web server automatically when you install the module. Please verify if the files /etc/apache2/mods-enabled/php5.conf and /etc/apache2/mods-enabled/php5.load exist. If they do not exists, you can enable the module using a2enmod command.
26.
27.
28.
29.
30. CONFIGURATION : You can edit the /etc/mysql/my.cnf file to configure the basic settings -- log file, port number, etc. For example, to configure MySQL to listen for connections from network hosts, change the bind_address directive to the server's IP address: bind-address = 192.168.0.5
31. After making a change to /etc/mysql/my.cnf the mysql daemon will need to be restarted: sudo /etc/init.d/mysql restart
32. AJAX or Asynchronous Javascript and XML, is the building blocks of Web 2.0 sites. AJAX can serve as an XML data transport layer or returning pre-formed HTML then injected into the browser DOM. Considered by many to be a mesh of DHTML and XMLHttpRequest this technology allows AJAX developers to provide rich content experiences without constant page reloads AJAX :
33.
34. METHOD DESCRIPTION open(method,url,async) open(method,url,async) Specifies the type of request, the URL, and if the request should be handled asynchronously or not. method: the type of request: GET or POST url: the location of the file on the server async: true (asynchronous) or false (synchronous) send(string) Sends the request off to the server. string: Only used for POST requests
35.
36. The responseText Property If the response from the server is not XML, use the responseText property. The responseText property returns the response as a string, and you can use it accordingly: EXAMPLE : document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
37. The responseXML Property If the response from the server is XML, and you want to parse it as an XML object, use the responseXML property:
38. CSS (Cascading Style Sheets) : Style sheets are a very powerful tool for the Web site developer. They give you the chance to be completely consistent with the look and feel of your pages, while giving you much more control over the layout and design than straight HTML ever did.
39. THE STYLES : One of the more common styles applied to HTML is the color and size of text. In HTML 3.2 you would create a blue H4 headline like this: <font color="#0000ff"><h4>a blue headline</h4></font>
40.
41.
42.
43. HTML Basic Document <html> <head> <title>Document name goes here</title> </head> <body> Visible text goes here... </body> </html>
44. Heading Elements <h1>Largest Heading</h1> <h2> . . . </h2> <h3> . . . </h3> <h4> . . . </h4> <h5> . . . </h5> <h6>Smallest Heading</h6> Text Elements <p>This is a paragraph</p> <br /> (line break) <hr /> (horizontal rule) <pre>This text is preformatted</pre>
45. Logical Styles <em>This text is emphasized</em> <strong>This text is strong</strong> <code>This is some computer code</code> Physical Styles <b>This text is bold</b> <i>This text is italic</i> Links, Anchors, and Image Elements <a href="http://www.example.com/">This is a Link</a> <a href="http://www.example.com/"><img src="URL" alt="Alternate Text"></a> <a href="mailto:webmaster@example.com">Send e-mail</a>
46. A named anchor: <a name="tips">Useful Tips Section</a> <a href="#tips">Jump to the Useful Tips Section</a> Unordered list <ul> <li>First item</li> <li>Next item</li> </ul> Ordered list <ol> <li>First item</li> <li>Next item</li> </ol>
50. Other Elements <!-- This is a comment --> <blockquote> Text quoted from a source. </blockquote> <address> Written by W3Schools.com<br /> <a href="mailto:us@example.org">Email us</a><br /> Address: Box 564, Disneyland<br /> Phone: +12 34 56 78 </address>
51.
52. RSS : The weblog has an RSS feed in place, subscribers to the blog can choose to be automatically notified of this new blog post. RSS (or Really Simple Syndication), is a method for delivering regularly changing Web content. Many blogs and Internet publishers syndicate their content as an RSS Feed to allow people to subscribe to it easily. TAG : The content by users adding "tags" - short, usually one-word descriptions - to facilitate searching, without dependence on pre-made categories. Collections of tags created by many users within a single system may be referred to as "folksonomies"
53. TAXONOMY : Folk Taxonomy or Folxonomy allows users to create tags which means that you can have a virtually infinite set. Systems that use folxonomy include Drupal, Joomla, Flickr, YouTube, Revver, and Google Video. Taxonomies are used when: *  you don't know how many elements might need to be classified * when you need a classification system that can deal with disparate elements. * Folxonomy also creates structure, but it is much more organic than a taxonomy.ÂÂ
54. WYSIWYG : WYSIWYG is an acronym for What You See Is What You Get. The term is used in computing to describe a system in which content displayed during editing appears very similar to the final output, which might be a printed document, web page, slide presentation or even the lighting for a theatrical event ATOM : Atom is a simple way to read and write information on the web, allowing you to easily keep track of more sites in less time, and to seamlessly share your words and ideas by publishing to the web.