ArticleslgStudy

computer science

TWiki

TWiki is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand TWiki rather than just read about it. In short: TWiki is a Perl-based structured wiki application, typically used to run a collaboration platform, knowledge or document management system, a knowledge base, or team portal. Users can create wiki pages using the TWiki Markup Language, and developers can extend wiki application functionality with plugins.

TWiki — main illustration
TWiki — illustration

Key takeaways

  • TWiki belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect TWiki to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of TWiki from memory before moving on to harder problems.

Reference excerpt

TWiki is a Perl-based structured wiki application, typically used to run a collaboration platform, knowledge or document management system, a knowledge base, or team portal. Users can create wiki pages using the TWiki Markup Language, and developers can extend wiki application functionality with plugins. The TWiki project was founded by Peter Thoeny in 1998 as an open-source wiki-based application platform. In October 2008, the company TWiki.net, created by Thoeny, assumed full control over the TWiki project while much of the developer community forked off to join the Foswiki project.

Major features Revision control - complete audit trail, also for meta data such as attachments and access control settings Fine-grained access control - restrict read/write/rename on site level, web level, page level based on user groups Extensible TWiki markup language TinyMCE based WYSIWYG editor Dynamic content generation with TWiki variables Forms and reporting - capture structured content, report on it with searches embedded in pages Built in database - users can create wiki applications using the TWiki Markup Language Skinnable user interface RSS/Atom feeds and e-mail notification Over 400 Extensions and 200 Plugins

TWiki extensions TWiki has a plugin API that has spawned over 300 extensions to link into databases, create charts, tags, sort tables, write spreadsheets, create image gallery and slideshows, make drawings, write blogs, plot graphs, interface to many different authentication schemes, track Extreme Programming projects and so on.

TWiki application platform TWiki as a structured wiki provides database-like manipulation of fields stored on pages, and offers a SQL-like query language to embed reports in wiki pages. Wiki applications are also called situational applications because they are created ad hoc by the users for very specific needs. Users have built TWiki applications that include call center status boards, to-do lists, inventory systems, employee handbooks, bug trackers, blog applications, discussion forums, status reports with rollups and more.

User interface The interface of TWiki is completely skinnable in templates, themes and (per user) CSS. It includes support for internationalization ('I18N'), with support for multiple character sets, UTF-8 URLs, and the user interface has been translated into Chinese, Czech, Danish, Dutch, French, German, Italian, Japanese, Polish, Portuguese, Russian, Spanish and Swedish.

TWiki deployment TWiki is primarily used at the workplace as a corporate wiki to coordinate team activities, track projects, implement workflows and as an Intranet Wiki. In 2007–2009, the TWiki community estimated 40,000 corporate wiki sites and 20,000 public TWiki sites. TWiki customers include Fortune 500 such as Disney, Motorola, Nokia, NYU, Oracle Corporation and Yahoo!, as well as small and medium enterprises, such as ARM Holdings and DHL. TWiki has also been used to create collaborative internet sites, such as the City of Melbourne's FutureMelbourne wiki where residents could collaborate on a future plan.

Realization TWiki is implemented in Perl. Wiki pages are stored in plain text files. Everything, including meta such as access control settings, are version controlled using RCS. RCS is optional since an all-Perl version control system is provided. TWiki scales reasonably well even though it uses plain text files and no relational database to store page data. Many corporate TWiki installations have several hundred thousand pages and tens of thousands of users. Load balancing and caching can be used to improve performance on high traffic sites. TWiki has database features built into the engine. A TWiki Form is attached to a page as meta data. This represents a database record. A set of pages that share the same type of form build a database table. A formatted search with a SQL-like query can be embedded into a page to construct dynamic presentation of data from multiple pages. This allows for building wiki applications and constitutes the TWiki's notion of a structured wiki.

Forks of TWiki Forks of TWiki include:

2001: Spinner Wiki (abandoned) 2008: Foswiki, launched in October 2008 when a dispute about the future guidance of the project could not be settled, resulting in the departure of much of the TWiki community including the core developer team

Gallery

See also

Comparison of wiki software

References

External links Comparison between TWiki and MediaWiki Archived 17 May 2008 at the Wayback Machine TWIKI.NET - company providing commercial installation, support and hosting solutions for TWiki WikiMatrix description of TWiki Foswiki.org - The Free and Open Source Wiki site

Illustrations

TWiki illustration
TWiki illustration
TWiki illustration
TWiki illustration

Worked examples

Example 1 — a first encounter with TWiki

Start with the simplest possible case. Write down what TWiki claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to TWiki before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about TWiki ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of TWiki

In research
TWiki appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses TWiki in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
TWiki is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cross-platform software, Free content management systems, Free software programmed in Perl, so understanding it makes those chapters shorter.
In everyday life
Look for TWiki outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “TWiki” →

How to study TWiki in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what TWiki means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain TWiki out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is TWiki in simple terms?

TWiki is a Perl-based structured wiki application, typically used to run a collaboration platform, knowledge or document management system, a knowledge base, or team portal. Users can create wiki pages using the TWiki Markup Language, and developers can extend wiki application functionality with pl…

Why does TWiki matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study TWiki?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on TWiki.

Tags

  • Cross-platform software
  • Free content management systems
  • Free software programmed in Perl
  • Free wiki software
  • Groupware
  • Software using the GNU General Public License

Keep exploring