承接 mvccore/app-questionnaires 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mvccore/app-questionnaires

Composer 安装命令:

composer require 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.

README 文档

README

MvcCore - Application - Questionnaires & Statistics

Latest Stable Version License Packager Build PHP Version

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/

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-01-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固