The Tiki co
tiki-*.php: These are the legacy traditional front-ends that users use to access all the various features. Increasingly though, they less used by end-users except by site administrators or content editors.
templates/tiki-*.tpl: The corresponding Smarty templates to the above.
tiki-index.php: This loads a wiki page. The most current approach in building UI for users is to use the wiki page as a kind of general purpose canvas to embed plugins, rather than to have users access the tiki-*.php for each of the different features.
lib/wiki-plugins/wikiplugin_*.php: Wiki plugins, that embed various functionality into wiki pages
templates/wiki-plugins/*.tpl: The corresponding Smarty templates to wiki plugins, if any for a particular wiki plugin.
lib/wiki-plugins/wikiplugin_list.php: The code for https://doc.tiki.org/PluginList, a general purpose query/templating engine to display data from Unified Search
lib/wiki-plugins/wikiplugin_customsearch.php: The code for https://doc.tiki.org/PluginCustomSearch, uses PluginList technology but provides an additional ability to create custom search/filtering interfaces
lib/*/*:php The traditional libs. These exist in subfolders for individual features.
lib/tikilib.php and lib/userlib.php: The oldest and most ancient libs in Tiki which still contain the most core functionality. In the early days of Tiki everything went here until more and more features were added (or refactored) into lib/* foders.
lib/core/*: This is where the new more OOP code goes. The class naming follows Zend folder structure convention.
lib/core/Services: This is where AJAX services go
templates/*/*.tpl (e.g. templates/files/*.tpl): These are the Smarty templates that correspond to the files AJAX service (lib/core/Services/File), for example.
templates/trackerinput/*.tpl and templates/trackeroutput/*.tpl, the tracker input and output templates for Tracker fields corresponding to lib/core/Tracker/Field/*.php
lib/core/Search: This is where all the Unified Search code goes, with the exception of lib/search/searchlib-unified.php and other features such as lib/search/*.php
lib/smarty_tiki/*.php: This is where all the Tiki specific Smarty modifiers, blocks and functions live.
lib/jquery_tiki/*.js: This is where most of the Jquery lives, esp. tiki-jquery.js
lib/tiki-js.js: This is where legacy non-jquery javascript lives, essentially what was introduced before jQuery was used in Tiki.
2 pages link to Introduction to Tiki Code Layout