Skip to content

Commit

Permalink
DVelum 0.9.4 initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
k-samuel committed Dec 20, 2014
1 parent f65f831 commit d3cdafa
Show file tree
Hide file tree
Showing 5,397 changed files with 822,825 additions and 1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions DesignerConnections.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
return array(
);
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
dvelum
DVelum
======

Professional PHP/ExtJS-based web development platform
------


DVelum is a professional web-development platform based on PHP and ExtJS that aims at automating routine development tasks and facilitates programming by means of a graphical interface.
It offers highest real-time performance, facilitates and speeds up the development process letting you concentrate on business logic and ignore minor issues.
DVelum is an indispensable toolkit for development of both complex-structured systems (eCommerce, CRM, WebScada, etc. ) and simple websites.

GNU General Public License version 3.0


Downloads https://sourceforge.net/projects/dvelum/files/

Old Version Downloads https://code.google.com/p/dvelum/downloads/list?can=1

Official Site (ENG) http://dvelum.net

Official Site (RU) http://dvelum.ru
61 changes: 61 additions & 0 deletions console.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?php
/*
* DVelum console application
* Return codes
* 0 - Good
* 1 - Empty URI
* 2 - Wrong URI
* 3 - Application Error
*/
if (isset($_SERVER['argc']) && $_SERVER['argc']!==2 ){
exit(1);
}

$_SERVER['DOCUMENT_ROOT'] = __DIR__.'/www';
chdir(__DIR__.'/www');

define('DVELUM', true);
define('DVELUM_CONSOLE', true);
define('DVELUM_ROOT' , __DIR__.'/www');

/*
* Connecting main configuration file
*/
$config = include './system/config/main.php';
/*
* Including Autoloader class
*/
require $config['docroot'].'/system/library/Autoloader.php';
/*
* Setting autoloader config
*/
$autoloaderCfg = $config['autoloader'];
$autoloaderCfg['debug'] = $config['development'];

if($autoloaderCfg['useMap'] && $autoloaderCfg['usePackages'] && $autoloaderCfg['mapPackaged'])
$autoloaderCfg['map'] = require $autoloaderCfg['mapPackaged'];
elseif($autoloaderCfg['useMap'] && !$autoloaderCfg['usePackages'] && $autoloaderCfg['map'])
$autoloaderCfg['map'] = require $autoloaderCfg['map'];
else
$autoloaderCfg['map'] = false;

$autoloader = new Autoloader($autoloaderCfg);
/**
* Convert the data of main_config file
* in to the general form of configuration
* and save a reference for it (for convenience)
* @var Config_Simple $appConfig
*/
$appConfig = Config::factory(Config::Simple, 'main');
$appConfig->setData($config);
Registry::set('main', $appConfig , 'config');

/*
* Starting the application
*/
$app = new Application($appConfig);
$app->setAutoloader($autoloader);

Request::getInstance()->setUri($_SERVER['argv'][1]);

$app->run();
6 changes: 6 additions & 0 deletions deploy/servers.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php return array (
'list' =>
array (

)
);
Loading

0 comments on commit d3cdafa

Please sign in to comment.