You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2009/07/02 17:29:32 UTC

svn commit: r790624 - in /tcl/site/rivet: index.html rivet.css static/about.html static/ajax.html static/download.html static/file_download.html static/file_upload.html static/scripts.html static/shaded_table.html static/templates.html

Author: mxmanghi
Date: Thu Jul  2 15:29:30 2009
New Revision: 790624

URL: http://svn.apache.org/viewvc?rev=790624&view=rev
Log:
Added style for 'last modified' box, added support for last modification timestamp

Modified:
    tcl/site/rivet/index.html
    tcl/site/rivet/rivet.css
    tcl/site/rivet/static/about.html
    tcl/site/rivet/static/ajax.html
    tcl/site/rivet/static/download.html
    tcl/site/rivet/static/file_download.html
    tcl/site/rivet/static/file_upload.html
    tcl/site/rivet/static/scripts.html
    tcl/site/rivet/static/shaded_table.html
    tcl/site/rivet/static/templates.html

Modified: tcl/site/rivet/index.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/index.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/index.html (original)
+++ tcl/site/rivet/index.html Thu Jul  2 15:29:30 2009
@@ -209,11 +209,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 20-06-2009 00:57:23 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:$Author: $</div>
-		<div class="rightaligned">:20-06-2009</div-->
+		<div class="rightaligned">:20-06-2009 00:57:23</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>

Modified: tcl/site/rivet/rivet.css
URL: http://svn.apache.org/viewvc/tcl/site/rivet/rivet.css?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/rivet.css (original)
+++ tcl/site/rivet/rivet.css Thu Jul  2 15:29:30 2009
@@ -107,6 +107,14 @@
     margin:		0.8em auto;
 }
 
+#last_modified {
+    border-top:		1px solid #ccc;
+    font-size:		80%;
+    padding:		5px;
+    text-align:		right;
+    margin-top:		2em;
+}
+
 .example-contents p {
     width:		90%;
 }
@@ -155,8 +163,8 @@
     text-align:	 	center;
     font-size:		150%;
     font-weight:	bold;
-    border-bottom:	1px solid black;
-    margin-bottom:	0.5em;
+    border-bottom:	1px solid #ccc;
+    margin-bottom:	1em;
 }
 
 ul {

Modified: tcl/site/rivet/static/about.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/about.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/static/about.html (original)
+++ tcl/site/rivet/static/about.html Thu Jul  2 15:29:30 2009
@@ -117,11 +117,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 20-06-2009 00:00:17 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:</div>
-		<div class="rightaligned">:20-06-2009</div-->
+		<div class="rightaligned">:20-06-2009 00:00:17</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>

Modified: tcl/site/rivet/static/ajax.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/ajax.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/static/ajax.html (original)
+++ tcl/site/rivet/static/ajax.html Thu Jul  2 15:29:30 2009
@@ -135,22 +135,20 @@
   <p>
    <b style="border-bottom: 1px solid black;">Brief introduction to Ajax</b>
    <p>
-			    Ajax is a web programming technique that heavily relies on the abilty of JavaScript to manipulate
-			    data in the background of a web browser. Modern browsers offer to JavaScript library calls that build 
-			    and send http GET/POST requests to a web server demanding that scripts 
-			    (e.g. Tcl scripts run by Rivet) be run with the arguments encoded in the request. These scripts 
-			    produce in response some output and JavaScript can be set up to handle it asynchronously 
-			    to extract information to be displayed on the browser. 
-			    Therefore through Ajax becomes possible (at least in principle) to build web applications that 
-			    are more responsive and flexible:
-			    instead of going through the cycle of request-generation-transfer-display of a whole page, 
-			    Ajax allows the programmer to request from the webserver only the essential data, also in response
-			    of some user interaction. Imagine the case of options or menus of a form that can be dynamically 
-			    and consistently updated depending of other choices the user makes during the interaction with the
-			    page.
+			    Ajax is a web programming technique that heavily relies on the abilty of a web browser to run in backround
+			    JavaScript functions. JavaScript functions can be run as callbacks of events generated by a user interaction 
+			    but they can also react to other I/O events, for example network events. 
+			    Modern browsers endow JavaScript with the ability to build http GET/POST requests to be sent to a remote
+			    webserver. Generally these requests refer to scripts (e.g. Tcl scripts run by Rivet) which inherit as 
+			    variables the arguments encoded in the request. 
+			    The output produced by these scripts is sent back to the browser where callbacks functions extract 
+			    information and hand it down to functions that directly manipulate a page's DOM.
+			    Therefore through Ajax becomes possible to build web applications that are more responsive and flexible: 
+			    instead of going through the cycle of request-generation-transfer-display 
+			    of a whole page, Ajax scripts request from a webserver only the essential data to be displayed.
 			    Ajax emphasizes the requirement of separation between data and user interface, saves 
 			    the server from sending over the same html code and graphics if only a fraction of a page has to be 
-			    updated, allows the programmer to image dynamical solutions to complex forms and makes possible
+			    updated, allows the programmer to design flexible solutions for complex forms and makes possible
 			    to find new innovative approaches to simple problems (e.g. Google tips that show up as you type in
 			    a query). A downside of this approach is the large number of complexities, subtleties and incompatibilities 
 			    that still exist in the way different versions of popular browsers handle the DOM elements of a page.
@@ -165,11 +163,11 @@
    <p>
 			    By creating an instance of this class a POST or GET request can be sent to the server and the response is 
 			    stored in a property ('returnedText') of the communication object. It's become widely customary to encode 
-			    these responses in XML messages. You can invent your own message definitions (either based on XML or anything 
+			    these responses in XML messages. You can invent your own message structure (either based on XML or anything 
 			    else), but one has to be aware that if the http headers are properly set and the message returned to the 
-			    client is a well formed XML fragment, also the property XMLResponse is set with a reference to an object 
-			    that represents the DOM of the XML response. By means of the XML W3C DOM tree methods and properties you 
-			    can read and manipulate the data embedded in the XML message.
+			    client is a well formed XML fragment, also the property XMLResponse is assigned with a reference to an object 
+			    that represents the DOM of the XML response. By means of the XML W3C DOM interface the programmer can easily
+			    manipulate the data embedded in the XML message.
 			</p>
   </p>
   <p>
@@ -280,11 +278,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 02-07-2009 14:51:15 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:$Author: </div>
-		<div class="rightaligned">:02-07-2009</div-->
+		<div class="rightaligned">:02-07-2009 14:51:15</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>

Modified: tcl/site/rivet/static/download.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/download.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/static/download.html (original)
+++ tcl/site/rivet/static/download.html Thu Jul  2 15:29:30 2009
@@ -100,11 +100,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 02-07-2009 15:11:17 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:</div>
-		<div class="rightaligned">:</div-->
+		<div class="rightaligned">:02-07-2009 15:11:17</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>

Modified: tcl/site/rivet/static/file_download.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/file_download.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/static/file_download.html (original)
+++ tcl/site/rivet/static/file_download.html Thu Jul  2 15:29:30 2009
@@ -218,11 +218,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 02-07-2009 15:12:18 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:</div>
-		<div class="rightaligned">:</div-->
+		<div class="rightaligned">:02-07-2009 15:12:18</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>

Modified: tcl/site/rivet/static/file_upload.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/file_upload.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/static/file_upload.html (original)
+++ tcl/site/rivet/static/file_upload.html Thu Jul  2 15:29:30 2009
@@ -175,11 +175,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 02-07-2009 15:14:30 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:</div>
-		<div class="rightaligned">:</div-->
+		<div class="rightaligned">:02-07-2009 15:14:30</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>

Modified: tcl/site/rivet/static/scripts.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/scripts.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/static/scripts.html (original)
+++ tcl/site/rivet/static/scripts.html Thu Jul  2 15:29:30 2009
@@ -153,11 +153,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 22-06-2009 17:16:10 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:$Author: $</div>
-		<div class="rightaligned">:22-06-2009</div-->
+		<div class="rightaligned">:22-06-2009 17:16:10</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>

Modified: tcl/site/rivet/static/shaded_table.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/shaded_table.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/static/shaded_table.html (original)
+++ tcl/site/rivet/static/shaded_table.html Thu Jul  2 15:29:30 2009
@@ -155,11 +155,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 24-06-2009 16:20:32 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:$Author: $</div>
-		<div class="rightaligned">:24-06-2009</div-->
+		<div class="rightaligned">:24-06-2009 16:20:32</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>

Modified: tcl/site/rivet/static/templates.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/templates.html?rev=790624&r1=790623&r2=790624&view=diff
==============================================================================
--- tcl/site/rivet/static/templates.html (original)
+++ tcl/site/rivet/static/templates.html Thu Jul  2 15:29:30 2009
@@ -157,11 +157,11 @@
 </div>
 
 </div>
-		    
+		    <div id="last_modified">Last Modified: 20-06-2009 00:01:31 UTC</div>
 		</div>
 		<div class="clearfloats"></div>
 		<!--div class="leftaligned">:$Author: $</div>
-		<div class="rightaligned">:20-06-2009</div-->
+		<div class="rightaligned">:20-06-2009 00:01:31</div-->
 		<div>
 		    <table align="center" width="100%">
 			<tr>



---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org