GithubHelp home page GithubHelp logo

questionnaireexample's Introduction

Questionnaire Example Project

1. Business Data Model

bdm

1.1. Package com.company.model

1.1.1. InstanceAnswer

Instance of an answer (question and its answer)

[list] Attributes
Name Type Description

persistenceId*

Long

question

String

Question answers

answer

String

Value of the answers

1.1.2. Instancequestionnaire

Questionnaire filled out by a user

[list] Attributes
Name Type Description

persistenceId*

Long

questionnaire_name

String

Name of the questionnaire used

◆ answers

List<InstanceAnswer>

List of answers made by the user

1.1.3. Question

A question definition object: a question and a list of answers

[list] Attributes
Name Type Description

persistenceId*

Long

question

String

answer

List<String>

1.1.4. Questionnaire

A questionnaire definition: a name and a list of questions

[list] Attributes
Name Type Description

persistenceId*

Long

questionnaire_name

String

Name of the questionnaire ("Code de la route")

◆ questions

List<Question>

List of questions and answers that are composing the questionnaire

2. Diagrams

2.1. Questionnaire Example (1.0)

The diagram has three lanes. One for creating the questionnaires, one for editing them, and a final one for user to answer to a given questionnaire.

Questionnaire Example 1.0

3. Processes

3.1. Pool Creation (1.0)

Questionnaire creation lane: Initiate the questionnaire objects (Questionnaire and Question). No task is needed. An instantiation form is used.

This is a pretty standard usage of Bonita.

Creation 1.0

3.1.1. Instantiation form

page createquestionnairev1

Page generated with Bonita UI designer

createform

3.2. Pool Edit questionnaire (1.0)

This lane is used to update existing questionnaires. There aren’t any forms. This is managed from the application page.

Edit questionnaire 1.0

3.3. Pool Answer to questionnaire (1.0)

This lane is used to instantiate questionnaires so that users can answer them. A form loads the questions from the definition. When the user submits the form a Instancequestionnaire object is created by a javascript expression.

Answer to questionnaire 1.0

3.3.1. Instantiation form

page answertoquestionnaire

Page generated with Bonita UI designer

answerformselect
answerform

4. Applications

4.1. Questionnaire Manager (1.0)

The questionnaire manager allows users to define questionnaire and update them if needed.
You can also answer to questionnaire from this living application

Profile

[user] User

URL

../apps/questionaire

Home page

viewmyquestionaires

4.1.1. Look and Feel

Layout

custompage_layoutBonita

Theme

custompage_bootstrapdefaulttheme

4.1.2. Pages

Orphan pages
Application Page

viewmyquestionaires

5. Application pages

5.1. page viewmyquestionaires

Page generated with Bonita UI designer

homenotselected
livingapphome

questionnaireexample's People

Contributors

flobob90803 avatar florentsarat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.