Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Module vs Plugin
Jason
#1 Posted : Monday, October 24, 2011 12:34:55 PM(UTC)
Rank: Member
Groups: Registered

Joined: 10/16/2011(UTC)
Posts: 27
Location: Athens, Greece
What are the differences between module and plugin?
When should we use the one or the other?
jifeng
#2 Posted : Tuesday, October 25, 2011 2:14:54 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
Module is a mini mvc site with full functions host on kooboo cms page.

Plugin is a custom logic extension for kooboo cms page.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
ella
#3 Posted : Monday, February 27, 2012 10:40:08 AM(UTC)
Rank: Advanced Member
ella
Groups: Registered

Joined: 6/30/2011(UTC)
Posts: 57
Location: Russia
1) Can you write some example situations when I can better create a module and when I can better create a plugin. It's really difficult for me.

2) For example, I need to show some data (from another system, from its MS SQL Server DB) on some place of kooboo page. I must create a module or a plugin?
Ethan
#4 Posted : Monday, February 27, 2012 1:58:27 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 2/27/2012(UTC)
Posts: 4
ella;5735 wrote:
1) Can you write some example situations when I can better create a module and when I can better create a plugin. It's really difficult for me.

2) For example, I need to show some data (from another system, from its MS SQL Server DB) on some place of kooboo page. I must create a module or a plugin?


Hi Ella,

You can create a page plugin to get data from another system and store in the viewdata pass to layout/view.
I often use plugin to handle form post and pass data to view.

The below link will help you save time.
http://koobootoolkit.cod...gins%2fExamplePlugin.cs

Module work like mini system in the page.
You can insert forum module, poll module, blog module in the page.
1 user thanked Ethan for this useful post.
ella on 2/28/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.084 seconds.