General ⇒ Announcements ⇒ Module instances poll ⇒ Community Forums ⇒ CPG Dragonfly™ CMS

Module instances poll Reply to topic

Poll: Should multi-installed modules share data?
Yes, config tables and others should be shared as it is now. 3
No, each instance should be totally independent. 4
Either. 2
Total Votes 9
Author Message
NanoCaiordo
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 4202
Location: Italy

Thank you for your answer.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4.9 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10




NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
View user's profileVisit poster's websitePhoto Gallery
layingback
Forum Admin

Offline Offline
Joined: Apr 19, 2004
Posts: 1309
Location: Andalucia

I'll abstain as I feel that modules should be written so that multiple instances of them are not even required. Like Pro_News, where each Section is equivalent to a single instance of News, with each Section having its own independent set of Categories.

If you hunt back you'll find arguments in favour written by Kuragari (original author of Pro_News v1BETA).

This approach allows some configuration parameters to be shared and some separate, with the end user/admin involved in making that choice.

It also allows you to display articles frpm > 1 Section on a single page, which is hard to do from the multiple instances approach.

_________________
Pro_News CM™ - Content Management for Dragonfly CMS™ - Now Released as Version 4

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.42 - 2.2.12 / 5.1.72 / 5.4.21 / 9.4
View user's profileVisit poster's websitePhoto Gallery
NanoCaiordo
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 4202
Location: Italy

The multiple instances "feature" is there in case a webmaster wants new instances of the same module with different group and admin permissions, different URLs names, different theme style etc etc.

Unless I'm missing some critical details from your explanation, all the above will be lost.

Any change at core level wont break any of your features. It's up to you, as developer, to use or not this tool ... it's all a matter of preferences.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4.9 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10




NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
View user's profileVisit poster's websitePhoto Gallery
Display posts from previous:
All times are UTC
Post new topic Reply to topic Forum IndexAnnouncements
Page 1 of 1



Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español