Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.156.376 Times

trillbox 0.03

  Date Added: October 08, 2010  |  Visits: 605


Report Broken Link
Printer Friendly Version

Product Homepage
Download (72 downloads)

trillbox is a flexible and extendable toolkit for building dynamic Web pages. Written in Perl and based on Template::Recall, it provides "widgets" (or controls) that you can quickly integrate into your Perl Web application. trillbox widgets are designed to be independent points of control that can be easily plugged into a Web programming system, e.g. a CGI application, template-based, or included as part of an application framework. Widgets purposely have no direct knowledge of each other in order to offer the greatest flexibility (although they may be designed so that output and input can be piped between widgets). trillbox adds easy, "pluggable" components to your web application. By way of introduction, we will step through a simple CGI application that uses the Trillbox::DataTable component to output data from a table in a MySql database. We will start simple and get progressively more complex as we go. Here is the script #!C:/zangweb/perl/bin/perl.exe use CGI qw(:standard); use DBI; # Load our TR widgets from here use lib ../../; use Trillbox::DataTable; print header; print start_html; print "< h2 >Trillbox::DataTable demo< /h2 >"; my $dbh = DBI->connect( "DBI:mysql:database=test;host=localhost", "root", "", {RaiseError => 1} ); my $dt = Trillbox::DataTable->new(); $dt->set( table_attrs => border="1" ); $dt->set( colnames => [ ID,Product,Price ] ); # Connect DBI output to DataTable: $dt->set( bind_data => $dbh->selectall_arrayref("select * from trillbox_intro") ); $dbh->disconnect(); # Output the data print $dt->output(); print end_html; Notice the statement use lib ../../; prior to use Trillbox::DataTable;. This instructs our script that we will find the trillbox components two directories above the location of the script. After this line of code, you can add any component you like simply with use Trillbox::Component; You may download and put trillbox in any location that is appropriate. The use lib path statement tells your code where the components may be found. This allows you to run trillbox on servers that may not have the dependent modules installed. This is a standard CGI script, so we do the usual things like print header, and print start_html. Using DBI, we connect to a MySql server, in this case, one running on our workstation. Then, we instantiate the Trillbox::DataTable object via its new() method. No parameters need to be passed to new(). You set properties on the object using the set() method. In the following statement, we set the attributes of the produced by $dt so that it has a border. We use set() again, this time to set the column header names of the table. set() expects one or more name/value pairs. In this case, colnames is the property name, and the anonymous array represents the column header values. set() is probably the most overworked method of the Trillbox core components. We now use it to set the bind_data property of $dt to the output from the DBI object. You can see that we pass our SQL statement into the $dbh->selectall_arrayref() method, and it returns a reference to an array, which is exactly what bind_data expects. Any array in your code can be "bound" to DataTable by passing a reference to it. (Note that it expects a 2-dimensional array, that is, an array of arrays.) Whats New in This Release: - Added Treeview widget. - Build nested structures of nodes, like a file system directory tree..

Requirements: No special requirements
Platforms: Linux
Keyword: Array Building Dynamic Web Cgi Data Datatable Dbi Http Internet Output Print Trillbox Web Widgets
Users rating: 0/10

License: Freeware Size: 10.24 KB
Utilities  -  Aptana
Aptana is a robust, JavaScript-focused IDE for building dynamic web applications..
74.3 MB  
Programming  -  Ext Core 3.1.0
Ext Core is a cross-browser javascript library for building dynamic web pages. It includes: * High performance, lightweight * Clear, maintainable code * An intuitive, easy to use API * MIT Open Source licensed
911.36 KB  
Network & Internet  -  mod_cbroker 3.1.1
mod_cbroker is an Apache module, for effective building of CORBA applications WWW front-ends, easy integration CORBA applications into Web. With ModCBroker it is possible to create WWW interfaces layer in general CORBA infrastructure of...
1.1 MB  
File Sharing  -  Kenbushi Lite 6.2.0
Kenbushi is a powerful media center with integrated file sharing, web server and data backup over LAN/Internet. Versions are available for Windows, MacOS X, MacOS Classic and Linux..
10.6 MB  
Network & Internet  -  Site Editor 0.5
Site Editor is a CGI script which allows a user to manage their web space without needing ftp access. With only a web browser you can browse your web space, edit text files, upload files, and create and remove directories. Site Editor also has...
11.26 KB  
Specialized Tools  -  Excavator 1.0.11
Diggernaut is a cloud based service for web scraping, data extraction and other ETL (Extract, Transform, Load) tasks. If you are a reseller of goods and your supplier does not let you have their data in a suitable format, such as excel or csv, you...
45.5 MB  
Dial-up Networking Tools  -  Taoist V.P.N
Key Benefits to using Taoist VPN Secure your web session, data, online shopping, and personal information online with HTTPS encryption. Protect yourself from identity theft online. Secure your IP address for your privacy online and private...
2.31 MB  
Utilities  -  GlassWire Data Usage Security 0.0.42r
Instantly see which apps are wasting your data, acting suspiciously, slowing your phones Internet speed, or causing you to go over your carrier data limits. GlassWire makes it easy to keep track of your mobile carrier data usage and WiFi Internet...
7.71 MB  
Network & Internet  -  mod_gridsite 1.1.18
mod_gridsite is a loadable module for the Apache web server which provides access control and page formatting for GridSite HTTP(S) Fileservers, Websites and Web Services hosts. mod_gridsite also intercepts some processing in the standard mod_ssl...
153.6 KB  
Networking Tools  -  Protoscope 0.7.2
Protoscope is a utility that aids Web developers by revealing the HTTP communication in their own applications. It is a nice tool for Web developers who want to "look under the hood" as they develop. Protoscope is somehow like a HTTP proxy serve...
14.34 KB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  IPv6 CARE 3.2b
IPv6 CARE, "IPv6 Compliant Automatic Runtime Environment", is a Linux tool able to patch ipv6-agnostic programs on-the-fly ('patch' mode). It can also generate a diagnosis about the IPv6 compliance of an application ('check' mode).
409.6 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB