+1-888-365-2779
Try Now
More in this section
Categories
Bloggers
Blogs RSS feed

Building a Module for sitefinity (part 1)

by Ivan Osmak

What is a Sitefinity Module?

Modules are quite probably the most powerful feature of Sitefinity. They allow you to extend Sitefinity in any way you need it to be extended. Need a image gallery on your site? How about blog aggregation tool? Or maybe product catalog? All this you can do by taking advantage of Sitefinity. Now, to see why is this so cool, think for a moment : You already have everything done except that particular functionality (e.g. blog aggregation tool). You don’t have to worry about the site navigation (already done), you don’t need to create an admin area (already done), you don’t need to worry about approval system (already done) etc.

Asp.NET practices

So, at this point you may think, that’s all nice and dandy… but it’ll take forever to learn how integrate my functionality into Sitefinity. Not so. I’m the best proof of that, since I’ve joined Sitefinity team just few weeks ago and I’m already building a module, heck… I’m blogging on how to do it. Namely, the architecture of modules is following all the best practices of for Asp.NET so most of the things will come natural to you. In addition to that, well tought architecture will simply (and unknowlingly) force you in building easy-to-maintain-and-extend modules. Take my word on this…

Now, to avoid risk of sounding like yet another marketer trying to sell you an idea, I’ll admit that you do need to understand some fundamental ideas of Sitefinity Modules. I had few problems on my own, and therefore I’m writing this series in hope to help you avoid these problems in the beginning.

Conclusion

This series will probably be extensive since I’ll try to cover as much of the process along the way, however at the end I’ll distill it into a “quick start” type of article. In the next blog post I’ll describe the basic concepts and ideas that you need to understand about any module. Then I’ll start to build a sampe module and provide you with some source code. So stay tuned…

5 comments

Leave a comment
  1. iosmak Jun 07, 2007

    Hehe, you got me there for a second. I was wondering how in the world did you get the url for this blog, since it’s supposed to be closed.

    Anyhow, I’ll write a new post today.

    See ya.

  2. Slavo Jun 07, 2007

    Alright, that’s what I’m up to as well. I’m another recent sitefinity team member so keep me up to date. I’ll share what I learn too. :) cheers.

  3. Slawek May 08, 2009
    Hi, Could you please tell me how do you do it so that this little blog page and probably others as well have 2MB of javascript to download?

    What is the problem with this blog? It all works soooo slowly.

    Please test it with Firebug or something or try opening it on slow connection. It is just a small blog page and really shouldn't weight this much.

    Regards,
    Slawek
  4. J_Sherman Apr 14, 2011
    Is there a starting place for setting up the Directory Structure for A custom Module. And how can I use the Module in other site already running Sitefinity
  5. Porsche Piwis Aug 10, 2013
    Interesting to see the club logo colours coming back in the collar.

    Leave a comment