-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0.0 Extension Model/Standard #2500
Comments
Current questions in my mind: Version
Installer
<?php
interface InstallerInterface
{
public function setBundle(Bundle $bundle);
public function install();
public function upgrade($oldVersion);
public function remove();
}
Bundle class
Hooks
AdminInterface
Zikula\Core\Api\AbstractApi
|
Regarding the
This is something cool for 1.4, but will most definitely be replaced by "a proper thing" in 2.0:
This cannot be done in 1.4, because Symfony Users and Security models are not yet adopted. |
One of the 'highlights' of Zikula over the years has been the security and permissions system. I'm sure Symfony is awesome, but we should consider how we might leverage what we have in addition to symfony's features. We don't have to always replace, replace, replace. If we do that, then we can just eliminate zikula and use symfony 😄 Anyway - I just think it is a discussion worth expansion. @Guite - maybe we can add some time on the agenda at the camp to discuss this ticket and related topics. |
added to list of topics on last keynote slide ;-) |
…tallerInterface and abstract some of the functionality to avoid code duplication. refs #2500
For "fun" I've created a few code demos. see: https://github.com/zikula/core/compare/FC-features and https://github.com/zikula-modules/Pages/compare/FC-features and https://github.com/craigh/BreakIt/compare/FC-features updated 19 June |
Hi, quick one so permissions system and users. Same as @craigh I think our perms system is what defines Zikula and make it special. We may want to review it make it more user friendly. I have read sf docs about auth some time ago and I do not know if this is replaceable with our perms system I think it work in different layers/scopes you know more about that than me... Users I do not know yet how sf users works but I think anything will be better than our current profile/users module. |
I really didn't intend to say: "Remove all the Zikula stuff and replace it by Symfony". What I really meant was: "Review all the cool and good working Zikula stuff and see if we can build bridges to the Symfony counterparts". |
Version Capabilitiesin
values for each are arrays, but I think these can be standardized and made more useful. for example: "capabilities": {
"hook_subscriber": {"class": "Zikula\\FooModule\\Hooks\\Definition"},
"searchable": {"class": "Zikula\\FooModule\\Helper\\SearchHelper"},
"admin": {"route": "zikulafoomodule_admin_index"}
} |
There also is the question where to place these new classes and interfaces:
|
When moving the Hooks from the version class into the composer.json file, #236 should also be considered. |
Also #249 (Module dependencies with an or) might be taken into account - although I think we could also close that one. |
Also see #1286 (drak's 'What Modules can do') |
I've created a SpecModule to enable further discussion |
…tallerInterface and abstract some of the functionality to avoid code duplication. refs #2500
…tallerInterface and abstract some of the functionality to avoid code duplication. refs #2500
…tallerInterface and abstract some of the functionality to avoid code duplication. refs #2500
…tallerInterface and abstract some of the functionality to avoid code duplication. refs #2500
…tallerInterface and abstract some of the functionality to avoid code duplication. refs #2500
…tallerInterface and abstract some of the functionality to avoid code duplication. refs #2500
…tallerInterface and abstract some of the functionality to avoid code duplication. refs #2500
Closed as completed in the 1.4 FC layer. Feel free to reopen if you disagree. |
This ticket is meant to encourage a discussion and (eventual) finalization of a model/standard/prototype/pattern for Core 2.0.0 Extension Bundles.
current 1.4.0 standard is documented here
Core 2.0.0 will 'evolve' this standard but is not required to maintain Backward Compatibility.
Easy agreement on the following:
\Zikula\Core\AbstractBundle
which extends\Symfony\Component\HttpKernel\Bundle\Bundle
composer.json
file (1.4 Module Standard & 1.4 Theme Standard)The text was updated successfully, but these errors were encountered: