Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

The Community Blog is a personal opinion of community members and by no means the official standpoint of DNN Corp or DNN Platform. This is a place to express personal thoughts about DNNPlatform, the community and its ecosystem. Do you have useful information that you would like to share with the DNN Community in a featured article or blog? If so, please contact .

The use of the Community Blog is covered by our Community Blog Guidelines - please read before commenting or posting.


Adding Core Taxonomy to Your Module: Part 1 – Getting Started

In this blog series I will cover how developers can implement Taxonomy & Folksonomy in their own custom modules. Having spent the last few days trying to implement in my own custom module, I realized there is a lack of information on this subject available today which I found somewhat surprising (considering the demand for taxonomy integration into the core, which we finally received in 5.3). Hopefully, this blog series will help fill that void and soon module developers will be adapting core taxonomy in their own modules. In this blog entry, Part 1, I will cover what developers should know and consider prior to working on their own integration.

Before getting started you should read the background information on the core implementation of Taxonomy. To do so, please view the two blog posts done by Charles Nurse on this topic. Part 1 discusses the Core Taxonomy manager while Part 2 provides an overview of the data layer. While Part 1 of Charles blog provides some information any module developer should review, understanding Part 2 is critical for this blog series. I should also point out that my blog series will be focusing on Taxonomy and Folksonomy (as well as Content, which is required for Taxonomy/Folksonomy integration) and I will NOT be integrating MetaData. For a number of reasons I have decided not to cover MetaData but the primary one is that, currently, nowhere in the user interface of the framework is this exposed.

Now that you have some background on the core implementation, I should touch on a few things about my setup (and this series). First, I wanted to create a module (for my own needs) that utilized taxonomy/folksonomy but I wanted to approach this blog series without going through all the steps of creating the module. Therefore, I built the module and made it work prior to any integration of taxonomy/folksonomy which this series will assume you have done as well. Second, my module is a single module but it contains many Content Items (which we will cover later in the series, Part 2). What this means is it is like a forum, blog, or news module and contains multiple content entries within a single module instance (Ex. a forum would contain multiple threads, each thread being its own Content Item within a single forum module instance). Because of this, this series will focus on these type of modules with multiple Content Items within a single module instance (although it should be easy enough to adopt this to a single Content Item module scenario). Third, I found a few ‘quarks’ in using core taxonomy, all of which I logged in Gemini and should be fixed in a future version. Nothing I found was a show stopper for development but I will make note of any of my observations throughout the series if it affected a specific area I am covering.

Finally, the remaining things about my setup worth mentioning are:

  1. My module is written in C#, although I will post code snippets in VB.NET as well (if applicable).
  2. My module is built using MVP (Model View Presenter) style Module Development using the WebForms MVP project as a basis (I will cover the complete development of my module, minus taxonomy integration, in another blog series in the future).
  3. I make use of nAnt for module packaging.
  4. My module adheres to the DotNetNuke API 100% and does not use any third party libraries (outside of what DNN uses) that are not 100% open source.
  5. My module is built against the 5.4.2 core version of the framework. You will definitely need to be using at least 5.4.0 in your own module but I recommend the newest release available on the 5.4.x path (or greater) for your development (due to bug fixes).

The last thing I think I should touch on here is the level of complexity (or lack thereof). Assuming you have a working module, the hardest part of the integration (for me, at least) was learning how to utilize taxonomy properly in the framework which is exactly what this series is covering. My guess is that after reading this blog series it should only take DotNetNuke module developers 2-6 hours to implement taxonomy in their own modules depending greatly on the complexity of their module (again, this is assuming the developer has a fully working module).

I know this is only a ‘teaser’ blog entry but it is critical to understand what I have here prior to diving into any specific development details (I also felt it was good to break the series up into small blocks of information). In the next part of the series I will be covering Content Items.

Comments

Comment Form

Only registered users may post comments.

NewsArchives


Aderson Oliveira (22)
Alec Whittington (11)
Alessandra Daniels (3)
Alex Shirley (10)
Andrew Hoefling (3)
Andrew Nurse (30)
Andy Tryba (1)
Anthony Glenwright (5)
Antonio Chagoury (28)
Ash Prasad (37)
Ben Schmidt (1)
Benjamin Hermann (25)
Benoit Sarton (9)
Beth Firebaugh (12)
Bill Walker (36)
Bob Kruger (5)
Bogdan Litescu (1)
Brian Dukes (2)
Brice Snow (1)
Bruce Chapman (20)
Bryan Andrews (1)
cathal connolly (55)
Charles Nurse (163)
Chris Hammond (213)
Chris Paterra (55)
Clint Patterson (108)
Cuong Dang (21)
Daniel Bartholomew (2)
Daniel Mettler (181)
Daniel Valadas (48)
Dave Buckner (2)
David Poindexter (12)
David Rodriguez (3)
Dennis Shiao (1)
Doug Howell (11)
Erik van Ballegoij (30)
Ernst Peter Tamminga (80)
Francisco Perez Andres (17)
Geoff Barlow (12)
George Alatrash (12)
Gifford Watkins (3)
Gilles Le Pigocher (3)
Ian Robinson (7)
Israel Martinez (17)
Jan Blomquist (2)
Jan Jonas (3)
Jaspreet Bhatia (1)
Jenni Merrifield (6)
Joe Brinkman (274)
John Mitchell (1)
Jon Henning (14)
Jonathan Sheely (4)
Jordan Coopersmith (1)
Joseph Craig (2)
Kan Ma (1)
Keivan Beigi (3)
Kelly Ford (4)
Ken Grierson (10)
Kevin Schreiner (6)
Leigh Pointer (31)
Lorraine Young (60)
Malik Khan (1)
Matt Rutledge (2)
Matthias Schlomann (16)
Mauricio Márquez (5)
Michael Doxsey (7)
Michael Tobisch (3)
Michael Washington (202)
Miguel Gatmaytan (3)
Mike Horton (19)
Mitchel Sellers (40)
Nathan Rover (3)
Navin V Nagiah (14)
Néstor Sánchez (31)
Nik Kalyani (14)
Oliver Hine (1)
Patricio F. Salinas (1)
Patrick Ryan (1)
Peter Donker (54)
Philip Beadle (135)
Philipp Becker (4)
Richard Dumas (22)
Robert J Collins (5)
Roger Selwyn (8)
Ruben Lopez (1)
Ryan Martinez (1)
Sacha Trauwaen (1)
Salar Golestanian (4)
Sanjay Mehrotra (9)
Scott McCulloch (1)
Scott Schlesier (11)
Scott Wilkinson (3)
Scott Willhite (97)
Sebastian Leupold (80)
Shaun Walker (237)
Shawn Mehaffie (17)
Stefan Cullmann (12)
Stefan Kamphuis (12)
Steve Fabian (31)
Steven Fisher (1)
Tony Henrich (3)
Torsten Weggen (3)
Tycho de Waard (4)
Vicenç Masanas (27)
Vincent Nguyen (3)
Vitaly Kozadayev (6)
Will Morgenweck (40)
Will Strohl (180)
William Severance (5)
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out