Polling site - JavaScript and how to manage Polls

309
January 31, 2017, at 00:18 AM

so I will create a polling site as a scool project (like http://www.strawpoll.me). I have ~6 months. I am pretty good at HTML and CSS, now learning JS. First question: do I need JS in the site? It will just be basic, so no big effects etc, just make and answer polls. I will be doing the site with a friend who's learning PHP atm, but I am able to help him :). Second question: How should I manage the polls? Like just create a new file for every poll, or somehow get the data through the db and insert it in the page (e.g. someone goes to /1(the poll ID), and then I will get the title, questions etc from the DB and display? Third question: should I maybe use something like smarty?

Thanks in advance, david

Rent Charter Buses Company
READ ALSO
<li> bullets keep showing only on IE. List-type-style is set to None

<li> bullets keep showing only on IE. List-type-style is set to None

First of all, i feel stupid but i just cannot find the problem i experienceExample website : https://www

333
Rails 5 whitelist css property for sanitize helper

Rails 5 whitelist css property for sanitize helper

I need to allow inline "style=position: absolute;" output by sanitize(postcontent)

466
Is it possible to turn off click events but keep hover events on?

Is it possible to turn off click events but keep hover events on?

I am currently developing a web app in meteor with angularI have an html range element that moves along with a video (serving as a progress bar for the video)

315
Add bootstrap styling to wysiwyg library without while allowing product to remain themeable

Add bootstrap styling to wysiwyg library without while allowing product to remain themeable

I'm using bootstrap throughout a web appI've recently added a wysiwyg editor to the app that works great

269