Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 159369

Summary: Apache Rivet is a powerful, flexible, consistent, fast, and robust solution to creating web applications
Product: Gentoo Linux Reporter: Michael R. Lawrence <wolfstar>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED CANTFIX    
Severity: enhancement CC: apache-bugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
URL: http://tcl.apache.org/rivet/
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael R. Lawrence 2006-12-29 05:31:15 UTC
PHP Like setup of TCL/TK another TCL Apache DSO might be worth a loook
EBUILD needed

Powerful: Apache Rivet puts the Tool Command Language in the hands of the programmer, allowing him or her to manipulate data easily and concisely. Millions of lines of Tcl code already exist - all you have to do is glue them together to create unique and useful applications. Rivet unites this power with the Apache web server.

Flexible: The original design constraints for Tcl required that it be flexible enough to be inserted and function in an extreme variety of environments. That's still true today, and makes Tcl, and as a consequence, Apache Rivet, easy to integrate into your business to leverage existing systems.

Consistent: The Tool Command Language is integrated with Apache Rivet in such a way as to provide you with an easy-to-learn interface that won't surprise you. Because of this, you can use the same, elegant programming language for your web applications, GUI's (with the Tk toolkit), and quick'n'dirty system administration tasks. Very simple!

Fast: A dedicated team of programmers works to make sure Apache Rivet locks in tightly with both Tcl and Apache, ensuring that you get as much performance as your hardware can handle. Where you need to squeeze out the last bit of speed, the Tool Command Language provides you with a high-quality C API which lets you write Tcl extensions in no time.

Robust: Created in the late 80's by U.C. Berkeley professor John Ousterhout, Tcl has stood the test of time, being used in such notable companies as IBM, Oracle, Cisco, AOL, and many, many others. There is a core group of maintainers who oversee the development and maintainance of the Tool Command Language, so that it continues to improve, yet maintains its rock-solid nature. 

Rivet Templates (.rvt)  	Tcl Scripts (.tcl)
Templates let you add a bit of code to your HTML, to add dynamic content to it, or speed up creation of repetitive elements. Templates are appropriate for quick'n'dirty pages, where you just need to do some scripting quickly. But they are also appropriate for the 'display' component of your complex application. 	Pure Tcl scripts let you do the heavy lifting to control your application. A sensible design pattern is to put most of your complex logic in these files, and then parse template files to display the results. This means that those who are creating the HTML files don't have to know much Tcl, and only need to call a few simple commands.

  <table>
    <tbody>
      <tr>
	<td>
<?
foreach line [chat::model::getlines $user] {
    puts "$line<br>"
}
?>
	</td>
      </tr>
    </tbody>
  </table>

	

proc chat::model::getlines {user} {
    set sk [chat::model::getsock]
    puts $sk [list user $user cmd get msg ""]
    if { ! [eof $sk] } {
	gets $sk data
	return "$data"
    } else {
	error "Problem with socket"
    }
}

Powered by Apache 	Powered by Tcl
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-09-14 14:19:06 UTC
seems this request hasn't turned into an ebuild yet. If you want to help with it, it's not that hard to write one: http://devmanual.gentoo.org/quickstart/index.html

If you need further help, feel free to ask on forums or #gentoo-dev-help or #gentoo-sunrise on irc (latter is also useful if you want to maintain the app yourself)

note: we're not turning you down for this request in any way, it's just that we don't have ressources to fix all of them. though if you're willing to help, it would be more than nice to do so, as that is what we definately need :)