You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
standard PHAR package with whole devel directory content
PHP file
strict package
everything is contained in result index.php
only .htaccess or web.config are necessary to use mod_rewrite
preserve package
result index.php file contains PHP files,
PHTML templates but no CSS/JS/fonts or images
all wrapped file system functions are looking inside
package first, then they try to read data from HDD
currently used for packed app in result directory
preserve hdd
result index.php file contains PHP files,
PHTML templates but no CSS/JS/fonts or images
all wrapped file system functions are looking on HDD first,
then they try to read data from package inself
strict hdd
result index.php file contains only PHP files,
but PHTML templates, all CSS/JS/fonts and images are on HDD
no PHP file system function is wrapped
XML files for questionnaires and their questions are excluded from index.php result package,
to define any other questionnaires and questions in future, but rest of the application is portable,
it means everything else is contained in index.php result file.
Instalation
# load example
composer create-project mvccore/app-questionnaires
# go to project development directorycd app-questionnaires/development
# update dependencies for app development sources
composer update
Build
1. Prepare application
go to app-questionnaires/development
clear everything in ./Var/Tmp/
change $app->Run(); to $app->Run(1); in ./index.php
visit all aplication routes where are different JS/CSS bundles
groups to generate ./Var/Tmp/ content for result app
run build process
2. Build
Linux:
# go to project root directorycd app-questionnaires
# run build process into single PHP file
sh make.sh
Windows:
# go to project root directorycd app-questionnaires
# run build process into single PHP file
make.cmd
Browser:
# visit script `make-php.php` in your project root directory:
http://localhost/app-questionnaires/make-php.php
# now run your result in:
http://localhost/app-questionnaires/release/