是否有一个小型的全面业务协调办公室网站样本? 我看到Joomla! 守则和我喜欢,但我花了多少时间来理解整个法典。 我很想知道是否有一个简单的样本。 我通过全面制定业务协调办公室方案向你们表明我所说的话,这里是Joomla! s. 行政页码:
<?php
define( _JEXEC , 1);
define( DS , DIRECTORY_SEPARATOR);
if (file_exists(dirname(__FILE__) . /defines.php )) {
include_once dirname(__FILE__) . /defines.php ;
}
if (!defined( _JDEFINES )) {
define( JPATH_BASE , dirname(__FILE__));
require_once JPATH_BASE. /includes/defines.php ;
}
require_once JPATH_BASE. /includes/framework.php ;
require_once JPATH_BASE. /includes/helper.php ;
require_once JPATH_BASE. /includes/toolbar.php ;
JDEBUG ? $_PROFILER->mark( afterLoad ) : null;
$app = JFactory::getApplication( administrator );
$app->initialise(array(
language => $app->getUserState( application.lang )
));
JDEBUG ? $_PROFILER->mark( afterInitialise ) : null;
$app->route();
JDEBUG ? $_PROFILER->mark( afterRoute ) : null;
$app->dispatch();
JDEBUG ? $_PROFILER->mark( afterDispatch ) : null;
$app->render();
JDEBUG ? $_PROFILER->mark( afterRender ) : null;
echo $app;
?>
[EDIT] Note: I should mention that I m familiar with the OO concept. I m a .Net developer for several years now. I just want a (if possible) quick way to know what should be done if this approach is chosen in the web world.