File: upgrade.xml

package info (click to toggle)
libapache2-mod-rivet 2.3.3-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 5,156 kB
  • ctags: 1,093
  • sloc: xml: 7,696; tcl: 6,939; ansic: 5,682; sh: 4,862; makefile: 199; sql: 91; lisp: 78
file content (50 lines) | stat: -rw-r--r-- 2,345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
  <section id="upgrading">
    <title>Upgrading from mod_dtcl or NeoWebScript</title>
    <para>
      Rivet is a break from the past, in that we, the authors, have
      attempted to take what we like best about our past efforts, and
      leave out or change things we no longer care for.  Backwards
      compatibility was not a primary goal when creating Rivet, but we
      do provide this information which may be of use to those wishing
      to upgrade from mod_dtcl or NWS installations.
    </para>
    <section>
      <title>mod_dtcl</title>
      <para>
	Rivet was originally based on the dtcl code, but it has
	changed (improved!) quite a bit.  The concepts remain the
	same, but many of the commands have changed.
      </para>
    </section>
    <section>
      <title>NeoWebScript</title>
      <para>
      	NWS was a server-side scripting environment based on the Apache
        HTTP server and Safe-Tcl and it's not maintained anymore.      
      </para>
      <para>
      	The biggest difference between Rivet and Neowebscript is that 
      	Neowebscript was designed for shared hosting while Rivet is more oriented 
      	toward a site that owns all of its content. In the words of Karl Lehenbauer,
      	NWS author and Rivet Team member:
      	</para> 
      	<para>
      	Rivet, however, is considerably more efficient, powerful, and 
      	evolved, though it still can support multiple independent sites on a single 
      	machine through its <quote>separate virtual interpreters</quote> mechanism.
      	<itemizedlist>
      		<listitem>By powerful, the difference is that the full power of Tcl is available 
      		to webpage authors, not the restricted version that NWS provides. 
      		For instance, you can read or write any file in the system that you 
      		have permission to, require any package, open sockets and pipes, etc.</listitem>
      		<listitem>By efficient, the difference is that Tcl interpreters survive past 
      		the generation of a webpage and are reused again and again, reducing the 
      		overhead of generating a page.
      		</listitem>
				<listitem>By evolved, all of our efforts have gone toward Rivet for many 
				years and so, you know, Rivet does more out of the box than Neowebscript did.</listitem>
			</itemizedlist>
      </para>
    </section>
  </section>