Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEvents module source-code changesEvents module source-code changes
Previous
 
Next
New Post
4/28/2008 8:08 AM
 

I recently started going through the Wrox book Professional DotNetNuke 4, with the aim of teaching myself how to design and code modules. I'm already experienced with ASP.NET 2.0 and SQL Server (MCSD), but new to DNN.

I've installed DNN 4.8.2 and am attempting to follow the book through chapter 12 (Beginning Module Development) and 13 (Developing Modules: The Database Layer) which goes through the events module code as an example. Trouble is, its inevitably somewhat out of date.

I have downloaded the source-code for the Events module (3.3.8) from the DNN site and loaded this into VS2005 Pro.

However, the book starts off talking about the AddEvent stored proc, which no longer seems to exist, looking at my database; and the corresponding AddEvent method in the SQLDataProvider class, which also no longer seems to be there. Instead I find a lot of stored procs with names like EventsDelete, EventsGet, etc (good naming convention), but this makes it confusing if trying to follow the book.

I presume some major changes have occured in the Events module since the book was put together?

1. What is the best source of up-to-date developer material for module development, wirth examples?

2. Are the changes to the source and internal design of the Events module documented somewhere?

3. Is the Wrox book still useful for module development?

Many thanks,

Steve Taylor

 
New Post
4/28/2008 3:47 PM
 

If you want to work with the latest source code, download it from http://www.dnnevents.net.  Check out this thread for instructions to setup the latest source code.

Have fun with DNN.


Fuji Nguyen
FREE Visitor Hit Counter
Visit opensource.indyneinc.com for detail.
 
New Post
4/28/2008 6:05 PM
 

Ok, thanks.

I havn't actually had a problem obtaining the source code. Are you suggesting that going through the source-code is really the best (or only) way of learning how to write modules, especially if using the latest version of DNN?

Most tutorials that I've found do seem a bit dated, or maybe its just the furious pace of DNN development that makes them seem so.

There does seem to be a lack of coherent and comprehensive documentation covering the latest version/s of DNN - so maybe I'll just have to go through the code to figure out how it all works. Is this what most people do, in practice?

 
New Post
4/29/2008 2:38 AM
 

Better not start with the Events module. It's a rather big and complex module, so as a learning experience, I do not think it's the right way to go. Download e.g. the sources of the Text/HTML module: much more straight forward, also up to date.

I find the book you mentioned a good starting point, a little bit outdated with all the development on DNN going around.

You might also visit the website of Michael Washington (http://www.adefwebserver.com/), one of the DNN core members. His site contains nice tutorials (apart from his personal wereabouts) on building DNN modules.

My best learning experience advise: join a user group, follow sessions from more experienced people on developing modules, ask questions. Building a network this way might be of great value to you over time.

I wish you a great Event!


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
New Post
4/30/2008 9:21 AM
 

Thanks for reminding me about Michael Washington's site. I had come across it earlier in my DNN wanderings - before the Wrox book turned up - and found it useful, if somewhat eccentrically laid out in parts - I managed to avoid tripping over a wedding dress on the way in and then almost went sprawling when I bashed my shin on an enormous MVP badge that someone had left lying around near the bottom of the homepage (I admit it, I'm envious) .

Joking apart, its good to see he's using some C# in the module tutorials - if I was granted a single wish the one thing I'd change about DNN is to have it re-written from VB into C# having arrived at this point via C, C++ and Java.

Have you come across the other Wrox books on DNN - there's one on skinning and another on module development, I believe - are they worth buying?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEvents module source-code changesEvents module source-code changes


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out