Revision [20621]

This is an old revision of NewFileStructure made by DarTar on 2009-05-16 05:02:46.

 

New file structure

See also
  • 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:

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
lang/					<----------language files
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
There are 3 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki