• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to build a CodeIgniter survey application

My plan is to build a CI survey application. The basic requirements are:
  • The admin user must be able to create a survey, using various types of questions (based on templates).
  • He must also be able to edit or delete a survey.
  • When the survey is completed, other users must be invited to fill in the survey.
  • In the end, the admin user must be able to generate a report with the results.
Of course, there's a lot more to it than that, but that's the general picture.

My biggest question is: how does the data model look like for an application like this? Which tables and fields, and which relationships between tables?
And how do I cope with questions that can have multiple answers (like in a set of checkboxes)?

I want to make a good plan for this before I start. And not get stranded half way.
Maybe there are good examples available that I can learn from?
Any help is appreciated.

Don't reinvent the wheel https://www.limesurvey.org/en/

(05-23-2015, 06:21 PM)Lolivaress Wrote: Don't reinvent the wheel    https://www.limesurvey.org/en/

I am familiar with LimeSurvey and it's great. But I want to implement a survey application within my own CodeIgniter applications. LimeSurvey is way too heavy for that. Compared to CI, it has a tremendous footprint (CI takes only a few MB's, LimeSurvey 128 MB).
No doubt there's a lot to learn from the way LimeSurvey is set up. One important thing for me was how to store questions and answers in the database. Having LimeSurvey as a good example could be very useful.
So thanks for the tip.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.