2017 © Pedro Peláez
 

application app-questionnaires

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

image

mvccore/app-questionnaires

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

  • Friday, June 8, 2018
  • by tomFlidr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

THIS REPOSITORY IS DEPRECATED

MvcCore - Application - Questionnaires & Statistics

Latest Stable Version License Packager Build PHP Version, (*1)

Demo

Features

  • MvcCore application managing questionnaires with anonymous statistics
  • all questionnaires and questions readed from XML (dynamic forms completing by XML content)
  • all answers stored in mysql/mssql database in 3 tables
  • each questionnaire shoud have any number of questions
  • possible answer types:
    • single line text
    • multiline text
    • number/float
    • checkbox - yes/no
    • checkbox - yes/no with additional single line text
    • checkbox group
    • radio buttons
    • connections for options
  • each question has it's advanced configuration for answer(s) in custom XML file
  • each questionnaire has it's own statistics for each question/answer(s)
  • questionnaire forms and statistic results have desktop and mobile version
  • result application currently packed in preserve package mode, 4 packing configurations included in ./.packager/
  • packed with Packager library - mvccore/packager), all packing ways possible:
    • PHAR file
    • 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 directory
cd 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 directory
cd app-questionnaires
# run build process into single PHP file
sh make.sh

Windows:

# go to project root directory
cd 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/

The Versions

08/06 2018

dev-master

9999999-dev

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

  Sources   Download

BSD-3-Clause

The Requires

 

statistics framework mvc questions questionnaires mvccore simple mvc super fast mvc easy mvc single file application

07/10 2017

v4.2.0

4.2.0.0

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

  Sources   Download

BSD-3-Clause

The Requires

 

statistics framework mvc questions questionnaires mvccore simple mvc super fast mvc easy mvc single file application

04/06 2017

v4.1.2

4.1.2.0

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

  Sources   Download

BSD-3-Clause

The Requires

 

statistics framework mvc questions questionnaires mvccore simple mvc super fast mvc easy mvc single file application

03/06 2017

v4.1.1

4.1.1.0

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

  Sources   Download

BSD-3-Clause

The Requires

 

statistics framework mvc questions questionnaires mvccore simple mvc super fast mvc easy mvc single file application

12/05 2017

v4.1.0

4.1.0.0

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

  Sources   Download

BSD-3-Clause

The Requires

 

statistics framework mvc questions questionnaires mvccore simple mvc super fast mvc easy mvc single file application

29/01 2017

v4.0.0

4.0.0.0

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

  Sources   Download

BSD-3-Clause

The Requires

 

statistics framework mvc questions questionnaires mvccore simple mvc super fast mvc easy mvc single file application

18/01 2017

v3.0.0

3.0.0.0

MvcCore Application - Questionnaires & Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

  Sources   Download

BSD-3-Clause

The Requires

 

statistics framework mvc questions questionnaires mvccore simple mvc super fast mvc easy mvc single file application

05/01 2017

v2.0.0

2.0.0.0

MvcCore Application - Questionnaires - more complex example how to build very portable application with any tasks types defined in XML.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

statistics framework mvc questions questionnaires mvccore simple mvc super fast mvc easy mvc single file application