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

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

Serving Software Downloads in 956 Categories, Downloaded 50.238.666 Times

CGI::Kwiki::New 0.18

  Date Added: May 18, 2010  |  Visits: 1.267

CGI::Kwiki::New

Report Broken Link
Printer Friendly Version


Product Homepage
Download (98 downloads)



CGI::Kwiki::New is the default new wiki generator for CGI::Kwiki. A Wiki is a website that allows its users to add pages, and edit any existing pages. It is one of the most popular forms of web collaboration. If you are new to wiki, visit http://c2.com/cgi/wiki?WelcomeVisitors which is possibly the oldest wiki, and has lots of information about how wikis work. There are dozens of wiki implementations in the world, and many of those are written in Perl. As is common with many Perl hacks, they are rarely modular, and almost never released on CPAN. One major exception is CGI::Wiki. This is a wiki framework that is extensible and is actively maintained. Another exception is this module, CGI::Kwiki. CGI::Kwiki focuses on simplicity and extensibility. You can create a new kwiki website with a single command. The module has no prerequisite modules, except the ones that ship with Perl. It doesnt require a database backend, although it could be made to use one. The default kwiki behaviour is fairly full featured, and includes support for html tables. Any behaviour of the kwiki can be customized, without much trouble. SPECIAL FEATURES CGI::Kwiki will come with some fancy addons not found in most wiki implementations. This comes with the promise that they will not interfere with the sheer simplicity of the default kwiki interface. Check http://http://www.kwiki.org/index.cgi?KwikiFeatures from time to time to see what hot features have been added. Kwiki Slide Show You can create an entire PowerPoint-like slideshow, in a single kwiki page. There is Javascript magic for advancing slides, etc. See the sample page KwikiSlideShow. EXTENDING CGI::Kwiki is completely Object Oriented. You can easily override every last behaviour by subclassing one of its class modules and overriding one or more methods. This is generally accomplished in just a few lines of Perl. The best way to describe this is with an example. Start with the config file. The default config file is called "config.yaml". It contains a set of lines like this: config_class: CGI::Kwiki::Config driver_class: CGI::Kwiki::Driver cgi_class: CGI::Kwiki::CGI cookie_class: CGI::Kwiki::Cookie database_class: CGI::Kwiki::Database metadata_class: CGI::Kwiki::Metadata display_class: CGI::Kwiki::Display edit_class: CGI::Kwiki::Edit formatter_class: CGI::Kwiki::Formatter template_class: CGI::Kwiki::Template search_class: CGI::Kwiki::Search changes_class: CGI::Kwiki::Changes prefs_class: CGI::Kwiki::Prefs pages_class: CGI::Kwiki::Pages slides_class: CGI::Kwiki::Slides javascript_class: CGI::Kwiki::Javascript style_class: CGI::Kwiki::Style scripts_class: CGI::Kwiki::Scripts This is a list of all the classes that make up the kwiki. You can change anyone of them to be a class of your own. Lets say that you wanted to change the BOLD format indicator from "*bold*" to bold. You just need to override the "bold()" method of the Formatter class. Start by changing "config.yaml". formatter_class: MyKwikiFormatter Then write a module called "MyKwikiFormatter.pm". You can put this module right in your kwiki installation directory if you want. The module might look like this: package MyKwikiFormatter; use base CGI::Kwiki::Formatter; sub bold { my ($self, $text) = @_; $text =~ s!(.*?)!$1!g; return $text; } 1; Not too hard, eh? You can change all aspects of CGI::Kwiki like this, from the database storage to the search engine, to the main driver code. If you come up with a set of classes that you want to share with the world, just package them up as a distribution and put them on CPAN. By the way, you can even change the configuration file format from the YAML default. If you wanted to use say, XML, just call the file "config.xml" and write a module called "CGI::Kwiki::Config_xml"..

Requirements: No special requirements
Platforms: Linux
Keyword: Bold Cgi Cgikwikinew Default Kwiki Libraries Module New Programming Wiki
Users rating: 0/10

License: Freeware Size: 76.8 KB
USER REVIEWS
More Reviews or Write Review


CGI::KWIKI::NEW RELATED
Libraries  -  CGI::Out 2006.0215
CGI::Out is a Perl module to buffer output when building CGI programs. SYNOPSIS use CGI; use CGI::Out; $query = new CGI; savequery $query; # to reconstruct input $CGI::Out::mailto = fred; # override default of $ out...
4.1 KB  
Libraries  -  CGI::FormMagick 0.89
CGI::FormMagick is a Perl module to easily create CGI form-based applications. SYNOPSIS use CGI::FormMagick; my $f = new CGI::FormMagick(); # all options available to new() my $f = new CGI::FormMagick( type => file, source =>...
75.78 KB  
Libraries  -  CGI::WML 0.09
CGI::WML is a Perl module with subclass LDSs "CGI.pm" for WML output and WML methods. SYNOPSIS use CGI::WML; $query = new CGI::WML; $content = $query->p("Hello WAP world"); print $query->header(), $query->start_wml(),...
21.5 KB  
Libraries  -  CGI::Expand 2.02
CGI::Expand is a Perl module that can convert flat hash to nested data using TT2s dot convention. SYNOPSIS use CGI::Expand; use CGI; # or Apache::Request, etc. $args = expand_cgi( CGI->new(a.0=3&a.2=4&b.c.0=x) ); # $args = { a =>...
8.19 KB  
Libraries  -  CGI::Utils 0.09
CGI::Utils is a Perl module for retrieving information through the Common Gateway Interface and mod_perl. Whats New in This Release: - This release adds support for mod_perl 2 in addition to mod_perl 1. - It fixes some formatting issues with...
20.48 KB  
Libraries  -  CGI::FormBuilder 3.0501
CGI::FormBuilder is a Perl module to easily generate and process stateful forms. SYNOPSIS use CGI::FormBuilder; # Assume we did a DBI query to get existing values my $dbval = $sth->fetchrow_hashref; # First create our form my $form =...
163.84 KB  
Network & Internet  -  Hop 1.6.0
Hop is a new programming language designed for the Web 2.0. Hop is a higher-order language for programming interactive web applications such as web agendas, web galleries, music players, etc. Hop can be viewed as a replacement for traditional...
655.36 KB  
Modules  -  Filter Default 5.x-1.0
The Filter Default module allows you to assign a default input format for new nodes and comments for each role on your site. It adds a 'Defaults' tab to the Administer > Site configuration > Input formats page on which you can manage the...
10 KB  
Libraries  -  CGI::Request 2.0b1
CGI::Request is a parse client request via a CGI interface. SYNOPSIS use CGI::Request; # Simple interface: (combines SendHeaders, new and import_names) $req = GetRequest($pkg); print FmtRequest(); # same as: print $req->as_string #...
122.88 KB  
Libraries  -  CGI::Cache 1.4200
CGI::Cache is a Perl extension to help cache output of time-intensive CGI scripts. WARNING The interface as of version 1.01 has changed considerably and is NOT compatible with earlier versions. A smaller interface change also occurred in...
44.03 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB