DNN Community Blog

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.


The “Tasks” Module Overview

By now we’ve got the correct software installed on our machines, we’ve downloaded the DNN Platform install file, walked through the install process, and have a working site that’s just ready for a custom module. Now we’re cooking with gas!

We’re finally at a point to where we can discuss some of the details of the module that we hope to create. Our custom “Tasks” module will be very basic in nature. The more complexity we add to the module the more potential for confusion and frustration that we also add. When I first wanted to learn module development I just wanted to know how to have one field of data and display it on the screen. I figured if I could get that far then I could repeat and extend as I wished. So with that perspective in mind the main point here is that we simply want to get our foot in the door with module development first before we get too fancy.

With that said we will not be reviewing some slightly advanced concepts. The items we’re not going to get into, but yet that most modules include, are:

  • Localization: The ability to localize your modules interface into different languages
  • IUpgradeable/ISearchable/Iportable/IHydratable/IActionable: Interfaces that provide more robust functionality related to upgrading, indexing in search, exporting content, etc.
  • DAL2: DAL2 is a Micro-ORM (Object Relational Mapper) that makes it easy to do CRUD (Create-Read-Update-Delete) operations in your module. We will not be using DAL2 in this blog series so that we can get a more firm understanding of stored procedures in SQL.
  • Caching: In some instances it’s good to cache data. We will not be covering caching data in this blog series

The topics that we are skipping here are indeed important and beneficial to know, but we can get by with our entry level module with just the bare minimum. After the series is complete, we may return to expand on some of these subjects and concepts.

So what will our basic module do? Our “Tasks” module will list out “Task” items, allow users to add new items, edit their own items, and allow admin users to indicate whether or not they want to show items that are already “completed”. Each “Task” item will have a Title, a Description, and an “Is Complete” property that will show up as a checkbox, which will indicate whether a “Task” has been completed.

The envisioned user-interface for the module will look similar to the below image.

Then we will create a setting for our module so that you'll know how to create settings

Now that we’ve got a mental picture of what we intend to create we’re ready to move forward to the next blog entry which will discuss Module Development Templates.

Go to the Next Blog Entry: Module Development Templates

Comments

James Brown
Link to the series introducton
http://www.dnnsoftware.com/community-blog/cid/155064/module-development-for-non-developers-skinners-dnn-beginners--blog-series-intro

Link to the previous Blog Entry:
http://www.dnnsoftware.com/community-blog/cid/155070/installing-dnn
James Brown Monday, June 15, 2015 11:31 AM (link)

Comment Form

Only registered users may post comments.

NewsArchives


Aderson Oliveira (15)
Alec Whittington (11)
Alex Shirley (10)
Andrew Nurse (30)
Anthony Glenwright (5)
Antonio Chagoury (28)
Ash Prasad (30)
Ben Schmidt (1)
Benjamin Hermann (25)
Benoit Sarton (9)
Beth Firebaugh (12)
Bill Walker (36)
Bob Kruger (5)
Brian Dukes (2)
Brice Snow (1)
Bruce Chapman (20)
Bryan Andrews (1)
cathal connolly (55)
Charles Nurse (163)
Chris Hammond (209)
Chris Paterra (55)
Clinton Patterson (33)
Cuong Dang (21)
Daniel Bartholomew (2)
Daniel Mettler (149)
Dave Buckner (2)
David Poindexter (4)
David Rodriguez (3)
Doug Howell (11)
Erik van Ballegoij (30)
Ernst Peter Tamminga (74)
Geoff Barlow (10)
George Alatrash (2)
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)
Ken Grierson (10)
Kevin Schreiner (6)
Leigh Pointer (31)
Lorraine Young (60)
Malik Khan (1)
Matthias Schlomann (15)
Mauricio Márquez (5)
Michael Doxsey (7)
Michael Tobisch (3)
Michael Washington (202)
Miguel Gatmaytan (3)
Mike Horton (19)
Mitchel Sellers (28)
Nathan Rover (3)
Navin V Nagiah (14)
Néstor Sánchez (31)
Nik Kalyani (14)
Peter Donker (53)
Philip Beadle (135)
Philipp Becker (4)
Richard Dumas (22)
Robert J Collins (5)
Roger Selwyn (8)
Ruben Lopez (1)
Ryan Martinez (1)
Salar Golestanian (4)
Sanjay Mehrotra (9)
Scott McCulloch (1)
Scott S (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)
Timo Breumelhof (24)
Tony Henrich (3)
Torsten Weggen (2)
Vicenç Masanas (27)
Vincent Nguyen (3)
Vitaly Kozadayev (6)
Will Morgenweck (39)
Will Strohl (165)
William Severance (5)

Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out