Difference between revisions of "Sven/Notes"

From Organic Design wiki
(debugging)
(Add new embeds)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=30 March 2007=
+
{| border=0 width="200"
Topics:
+
|Mentor:
==[[W:Client-server|Client Server]] model==
+
|[[User:Nad|Nad]] [[User talk:Nad|(talk)]]
How a client side [[W:Web browser|web browser]] interacts with a [[W:Web server|web server]]. See http://web-sniffer.net for an example of how  http headers interact
+
|}
between the server and client. The [[W:Apache HTTP Server|Apache HTTP Server]] uses a listener process on [[W:Hypertext Transfer Protocol|port 80]] (and ports 21, 443)
 
to communicate with the client using the [[W:Transmission Control Protocol|Transmission Control Protocol]] [[W:Internet protocol suite|TCP/IP]]. The listener uses [[W:Thread (computer science)|threads]] to [[W:Fork (operating system)|fork]] child processes as client requests demand content from the web server.
 
  
Client browsers allow [[W:Cache|caching]] of downloaded web content to save on bandwidth. The browser uses HTTP Response Header information to determine if a cached or new copy of the body of the web content needs to be transmitted to the client browser. The crital part in the HTTP Response Header are the fields;
+
<nowiki><</nowiki>DPL>
 +
titleregexp="Sven/\d"
 +
count=20
 +
include=*
 +
mode=none
 +
ordermethod=firstedit
 +
order=descending
 +
</DPL>
  
Cache-Control: no-cache (completely dynamic),  no-store, max-age=0 (check header everytime), must-revalidate
 
Date: Fri, 30 Mar 2007 09:11:02 GMT
 
  
GET and POST requests are essentially similar, they differ in the amount of content that can be transfered, GET requests are restricted to 4Kb. An analogy in the context of an email message, is that a GET request is like all the information being in the subject line, and a POST request is like an email attachment.
+
{{embed|Sven/30 March 2007}}
+
{{embed|Sven/19 April 2007}}
===See also===
+
{{embed|Sven/24 April 2007}}
*[[Daemonise.pl]]
+
{{embed|Sven/27 April 2007}}
*[[Server.pl]]
+
{{embed|Sven/4 May 2007}}
*[[LiveTemplates]]
+
{{embed|Sven/11 May 2007}}
*[[W:Rewrite_engine|Mod rewrite engine]]
+
{{embed|Sven/18 May 2007}}
 
+
{{embed|Sven/25 May 2007}}
==[[W:Debugging|Debugging]]==
+
{{embed|Sven/1 June 2007}}
There are three ways to debug, use print and echo statements to print [[W:Input/output I/O]] to [[W:Standard streams|STDOUT]], use debugging software available within a program, and use functions which create log files of content at specific points of execution.
+
{{embed|Sven/8 June 2007}}
 
+
{{embed|Sven/15 June 2007}}
==How Mediawiki works==
+
{{embed|Sven/21 June 2007}}
 +
{{embed|Sven/29 June 2007}}
 +
{{embed|Sven/11 July 2007}}
 +
{{embed|Sven/27 July 2007}}
 +
{{embed|Sven/3 August 2007}}
 +
{{embed|Sven/10 August 2007}}
 +
{{embed|Sven/31 August 2007}}
 +
{{embed|Sven/7 September 2007}}
 +
{{embed|Sven/14 September 2007}}
 +
{{embed|Sven/21 September 2007}}
 +
{{embed|Sven/28 September 2007}}
 +
{{embed|Sven/4 October 2007}}
 +
{{embed|Sven/5 October 2007}}
 +
{{embed|Sven/18 October 2007}}
 +
{{embed|Sven/9 November 2007}}

Latest revision as of 22:57, 12 November 2007