Revision history for NewFileStructure
Revision [23406]
Last edited on 2016-05-20 07:38:48 by DarTar [Replaces old-style internal links with new pipe-split links.]Additions:
~-[[Ticket:446 | Extensible architecture for Wikka components - #446]]
~-Complete separation of core code from [[http://docs.wikkawiki.org/InstallingPlugins | plugins]]
~-Complete separation of core code from [[http://docs.wikkawiki.org/InstallingPlugins | plugins]]
Deletions:
~-Complete separation of core code from [[http://docs.wikkawiki.org/InstallingPlugins plugins]]
Additions:
~~&Note that we will need to introduce a system to notify the user that the upgraded core version may be more recent (and contain security patches) than the hacked one
Additions:
.....................lang/ <----------newaction's language files
.......modern/ <----------Wikka may bundle a few extra themes that will be maintained by the Wikka Devs
.......modern/ <----------Wikka may bundle a few extra themes that will be maintained by the Wikka Devs
Deletions:
.......modern/ <----------Wikka may bundle a few extra themes that will be updated on every ugrade
Additions:
.....................lang/ <----------newaction's language files
Additions:
..............css/ <----------myaction's stylesheets
..............inc/ <----------myaction's dependencies
..............js/ <----------myaction's JS
..............myaction.php <---------- myaction's code
docs/ <----------core documentation
lang/ <----------core language files
plugins/ <----------PLUGIN TREE (will *not* be overwritten during an upgrade)
.......actions/ <----------plugin actions (user-installable)
..............newaction/ <----------plugin action (user-installable)
.......formatters/ <----------plugin formatters (user-installable)
.......handlers/ <----------plugin handlers (user-installable)
.......templates/ <----------plugin themes (user-installable)
setup/ <----------core installation files
.......sql/ <----------default tables definition
..............inc/ <----------myaction's dependencies
..............js/ <----------myaction's JS
..............myaction.php <---------- myaction's code
docs/ <----------core documentation
lang/ <----------core language files
plugins/ <----------PLUGIN TREE (will *not* be overwritten during an upgrade)
.......actions/ <----------plugin actions (user-installable)
..............newaction/ <----------plugin action (user-installable)
.......formatters/ <----------plugin formatters (user-installable)
.......handlers/ <----------plugin handlers (user-installable)
.......templates/ <----------plugin themes (user-installable)
setup/ <----------core installation files
.......sql/ <----------default tables definition
Deletions:
..............inc/ <----------action dependencies
..............js/ <----------action JS
..............myaction.php <---------- action code
docs/ <----------documentation
lang/ <----------language files
plugins/ <----------plugin tree (will NOT be overwritten during an upgrade)
.......actions/ <----------plugin actions
..............newaction/ <----------plugin action (not bundled with core engine)
.......formatters/ <----------plugin formatters
.......handlers/ <----------plugin handlers
.......templates/ <----------plugin themes
setup/ <----------installation files
.......sql/ <----------default tables
Additions:
~-Complete separation of core code from [[http://docs.wikkawiki.org/InstallingPlugins plugins]]
lang/ <----------language files
lang/ <----------language files
Deletions:
Additions:
~-[[Ticket:446 Extensible architecture for Wikka components - #446]]
>>This is a page to discuss the draft of the new file structure of Wikka.
The new file structure should follow these general principles:
~-Complete separation of code code from [[http://docs.wikkawiki.org/InstallingPlugins plugins]]
~-Folder structure to allow single plugins to be completely self-contained
~-Override mechanism to allow custom hacks (components in the plugins tree override the corresponding default ones)
~-l10n ready components
~-Custom theme support
===Initial proposal===
%%
3rdparty/ <----------core 3rd party components
actions/ <----------default actions
.......myaction/ <----------example of default action folder
..............css/ <----------action stylesheets
..............inc/ <----------action dependencies
..............js/ <----------action JS
..............myaction.php <---------- action code
docs/ <----------documentation
formatters/ <----------default formatters
handlers/ <----------default handlers
libs/ <----------core libraries
plugins/ <----------plugin tree (will NOT be overwritten during an upgrade)
.......actions/ <----------plugin actions
..............myaction/ <----------customized myaction (overrides the default one)
.....................css/
.....................inc/
.....................js/
.....................myaction.php
..............newaction/ <----------plugin action (not bundled with core engine)
.....................css/
.....................inc/
.....................js/
.....................newaction.php
.......formatters/ <----------plugin formatters
.......handlers/ <----------plugin handlers
.......templates/ <----------plugin themes
.....................fancy/
............................css/
............................js/
............................footer.inc.php
............................header.inc.php
.....................steampunk/
............................css/
............................js/
............................footer.inc.php
............................header.inc.php
setup/ <----------installation files
.......sql/ <----------default tables
templates/ <----------core themes (bundled with the engine)
.......default/ <----------main default theme
..............css/ <----------default stylesheets are moved inside the main default theme folder
.....................wikka.css
..............js/
..............footer.inc.php
..............header.inc.php
.......modern/ <----------Wikka may bundle a few extra themes that will be updated on every ugrade
..............css/
.....................wikka.css
..............js/
..............footer.inc.php
..............header.inc.php
%%
>>This is a page to discuss the draft of the new file structure of Wikka.
The new file structure should follow these general principles:
~-Complete separation of code code from [[http://docs.wikkawiki.org/InstallingPlugins plugins]]
~-Folder structure to allow single plugins to be completely self-contained
~-Override mechanism to allow custom hacks (components in the plugins tree override the corresponding default ones)
~-l10n ready components
~-Custom theme support
===Initial proposal===
%%
3rdparty/ <----------core 3rd party components
actions/ <----------default actions
.......myaction/ <----------example of default action folder
..............css/ <----------action stylesheets
..............inc/ <----------action dependencies
..............js/ <----------action JS
..............myaction.php <---------- action code
docs/ <----------documentation
formatters/ <----------default formatters
handlers/ <----------default handlers
libs/ <----------core libraries
plugins/ <----------plugin tree (will NOT be overwritten during an upgrade)
.......actions/ <----------plugin actions
..............myaction/ <----------customized myaction (overrides the default one)
.....................css/
.....................inc/
.....................js/
.....................myaction.php
..............newaction/ <----------plugin action (not bundled with core engine)
.....................css/
.....................inc/
.....................js/
.....................newaction.php
.......formatters/ <----------plugin formatters
.......handlers/ <----------plugin handlers
.......templates/ <----------plugin themes
.....................fancy/
............................css/
............................js/
............................footer.inc.php
............................header.inc.php
.....................steampunk/
............................css/
............................js/
............................footer.inc.php
............................header.inc.php
setup/ <----------installation files
.......sql/ <----------default tables
templates/ <----------core themes (bundled with the engine)
.......default/ <----------main default theme
..............css/ <----------default stylesheets are moved inside the main default theme folder
.....................wikka.css
..............js/
..............footer.inc.php
..............header.inc.php
.......modern/ <----------Wikka may bundle a few extra themes that will be updated on every ugrade
..............css/
.....................wikka.css
..............js/
..............footer.inc.php
..............header.inc.php
%%
Deletions:
>>This is a page to discuss/modify the draft of a new file structure for Wikka.