Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: Apache Rivet 3.1.0 released

127 views
Skip to first unread message

Massimo Manghi

unread,
Nov 28, 2018, 6:19:57 PM11/28/18
to
# Apache Rivet 3.1.0 has been released

* Apache Rivet is a module providing Tcl scripting capability with the Apache HTTP Web Server. With Apache Rivet you can run pure Tcl scripts or parse Rivet templates. Rivet templates allow Tcl code to be embedded in HTML pages, in pretty the same way you can do with PHP. Rivet extends Tcl with several commands providing functionalities needed to control script execution within the Apache web server or other tasks common to the web programming. Rivet comes with a library of Tcl packages providing session management, HTML form output and validation, DBMS abstraction and more

* Apache Rivet runs with Apache 2.4 and requires Tcl 8.6

* Web site: http://tcl.apache.org/

* Distribution: http://www.apache.org/dyn/closer.lua/tcl/rivet



Alexandru

unread,
Nov 29, 2018, 12:51:29 PM11/29/18
to
Interesting but I don't see a Windows version unfortunately...

Massimo Manghi

unread,
Nov 29, 2018, 4:31:48 PM11/29/18
to

On Thursday, November 29, 2018 at 6:51:29 PM UTC+1, Alexandru wrote:
> Interesting but I don't see a Windows version unfortunately...

Not true actally. We don't provide an installer but Rivet compiles using CMake and runs on Windows as well.

-- Massimo

Alexandru

unread,
Nov 29, 2018, 7:47:27 PM11/29/18
to
When I look at this example http://tcl.apache.org/rivet/html/colorful%5ftable.html I wonder, where the code is actually executed, server or client side? If server side, what is the difference between common CGI technique and Rivet?

Rich

unread,
Nov 29, 2018, 10:30:00 PM11/29/18
to
Alexandru <alexandr...@meshparts.de> wrote:
> Am Donnerstag, 29. November 2018 22:31:48 UTC+1 schrieb Massimo Manghi:
>> On Thursday, November 29, 2018 at 6:51:29 PM UTC+1, Alexandru wrote:
>> > Interesting but I don't see a Windows version unfortunately...
>>
>> Not true actally. We don't provide an installer but Rivet compiles
>> using CMake and runs on Windows as well.
>>
>> -- Massimo
>
> When I look at this example
> http://tcl.apache.org/rivet/html/colorful%5ftable.html I wonder,
> where the code is actually executed, server or client side?

If used with Rivet, it would run server side.

> If server side, what is the difference between common CGI technique
> and Rivet?

One difference, no forking. Rivet is an apache module, so the code
runs in a tcl interpreter that runs inside of the Apache server rather
than as a subprocess.

Massimo Manghi

unread,
Nov 30, 2018, 3:01:05 AM11/30/18
to
No forking on every request, which is a substantial gain in performance. Rivet 3.0/3.1 run with any Apache MPM, including the threaded 'worker' MPM and 'winnt' MPM on Windows. But if you run Apache with the 'prefork' MPM on Unix-like systems you can have Tcl interpreters initialized at server init and then cloned into child processes, which can provide a tremendous speedup when initializing an application.

furthermore IIRC cgi scripting doesn't offer template parsing out of the box

-- Massimo

Alexandru

unread,
Nov 30, 2018, 4:06:34 AM11/30/18
to
Fine, I'm an adept now:) The only issue: Just to test Rivet and see if it works with my requirements I need to compile it my self, and I'm not a specialist for compiling. It would be nice to see ste-by-step instructions for Windows on the website.

Massimo Manghi

unread,
Nov 30, 2018, 6:37:22 AM11/30/18
to
I will try to put together such a document to be placed on the web site. Basically you need CMake (https://cmake.org/) and the Community edition of Microsoft Visual Studio (https://visualstudio.microsoft.com/downloads/)

-- Massimo

Georgios Petasis

unread,
Nov 30, 2018, 1:45:38 PM11/30/18
to
There is some initial info inside the cmake directory:

https://github.com/apache/tcl-rivet/tree/master/cmake

George

Massimo Manghi

unread,
Dec 1, 2018, 5:09:39 AM12/1/18
to
I also forgot I reworked the README file in that directory into a manual page available at http://tcl.apache.org/rivet/manual3.1/cmake.html

-- Massimo
0 new messages