You are on page 1of 18

GSoC 2009 Project

Taxonomy Extension

Gartheeban. G
http://theebgar.net
What it is ?

An extension to decouple categorization from


object creation and management, and provide
a human friendly, visually recognizable,
flexible alternative to search indices of
objects.
You would probably already
have come across …

Category, Section, User groups,


Keywords, etc
Comprises of
Taxonomy Library
Taxonomy Component
 Com_Content Integration
 Plugins
TaxonomyCloud Module
Taxonomy Library
Exposes the complete set of features through JTaxonomy
class
When instantiated once, all necessary files, including
JHTMLTaxonomy, get included and ready for action.

Serves through
JTaxonomyTree
JTaxonomyLeaf
JTaxonomyMap
Taxonomy Component
Central place to manage Taxonomy Extension
Taxonomy Component
Add, edit and Delete
Trees and Leaves
And visualize Tree Maps and Leaf Maps
Operation
Interactions
Taxonomy Component - Frontend

Optionally, alias, tree display text, tree notes, leaf info and object
count (including that of the children leaves) can be displayed
Com_content Integration

 By adding a snippet of code to


views/article/tmpl/default.php
 Content_MapTaxonomy Plugin to extract taxonomy
fields from content submission form.
 Content_Taxonomy Plugin to insert taxonomy links into
content output.
Fields and text are generated by Taxonomy Library

Parsing and saving fields are also done by Taxonomy Library


Taxonomy Cloud Module
 Leaves weighted by
their significance
(number of nodes
mapped to them).
 Ordered according
to their weights,
names, or randomly.
 Links to the
corresponding to the
object listing page
What More?
 Auto-complete text fields for free hierarchical leaves
 Auto tagging support through Opencalais
(http://www.opencalais.com) integration
 Exhibit (http://www.simile-widgets.org/exhibit/) integration
 Faceted Search

More importantly pursuing other extensions to


adopt taxonomy framework by demonstrating
its capability
What can be expected by next month?

 Auto-complete text fields


Unit tests
 Support for /from more components
Features
 Scalable and Extendable
 Normalized Tables
 Trees and Leaves as separate entities
 Light weight options made available, and internally used in place
where uniformity has to be maintained
 Outputs are configurable
 Comprehensive and Powerful
 Most of the operations can be done with library directly with little
coding.
 Instantiating JTaxonomy willl alone bring all the features.
 Additional options are supported.
 By default 4 hierarchies supported, and many structures can be
possibly built.
 Instant creation of tree, and tree-mapping for a given structure is
available through JTaxonomy->instantBuild()
Links
 Code :
http://labs.joomla.org/svn/labs/playground/people/garthee/trunk/
 Demo :
http://gsoc.theebgar.net
 Articles and Blogs :
 Profile at GSoC Page :
http://community.joomla.org/gsoc2009/gartheeban-
ganneshapillai.html
 Authors person website :
http://theebgar.net
THANKS TO
Omar Ramos
Luis Galárraga

You might also like