Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Plugins instead of blocks?
-
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2204
I've noticed an increase in performance as well as flexibility replacing blocks with plugins. It also allows greater control of output and placement and removes the issue of blocks loading on pages from which they're not called on. The "block" methodology is pretty old, I'm just curious if anyone else has considered this method as a possible replacement? -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
Hypothetically, we have spoken in the past about replacing / removing blocks with special module outputs - since a block is just a module output templated in a particular manner. It's something to think about post .8 anyway.
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
Devin,
Yes it's something i've thought about. You've identified the most of the positives. There are a few negatives though.... The first is usability; new users need to get down to templates and plugins very quickly.
The next is that any configurable options need to be passed as plugin parameters. This makes setting up the plugin harder than configuring a block via the GUI. This also places limits on potential input - imagine, for example, how the menu block would work as a plugin.
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2204
Hi Simon, Mark,
I thought about those issues some.. but I don't have any good answers :) ..maybe "plugin" configurations on the module level.. say an admin type hook that looks for plugins (ie: function.block_someblock.php), etc. maybe a "plugin registry", ala blocks .. yeah, I don't know, I don't think that puts the ease of use back into the equation. Anyway, it's not obstructive, seems a valid utility.. look forward to seeing what you guys come up with though.
thanks for the input
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
