Ask coding questions

← Back to all posts
Web Programming
tperr

I am looking to create a web page for one of my teachers that includes him or other students being able to enter data into some sort of form and then having it be displayed, so which language would be a good one to do something like this in?

Voters
Omay
tperr
Comments
hotnewtop
ArchieMaclean

Other people's suggestions are good...or you could check out my tutorial on using Django (python) :)

It is not quite finished but should be done pretty soon :)

It depends on whether you want to save the data - if you do, using HTML, CSS, JS probably won't work (unless you're using Node.JS).

a5rocks

Oh if you are doing database work, you most likely want a back end (unless you want to expose database keys, etc). I would recommend Flask (it's easy), or the respective easy web framework for your lang.

tperr

@a5rocks thank you I will look into it

Pythonier

Try Html5 (Html, Css, and Javascript)

tperr

Would you have any idea on how to do [email protected]

Zavexeon
Kids-FunFun

NISE WEB CRETER TECHER

vlad94568

python will also work

vlad94568

html or javascript

MarkelL

HTML, CSS, JavaScript and PHP are your best friends then!

OathOfCode

You could use python! its very easy!
You will have the ability to save information between files and have them displayed!

algore

Well the best language for that would be either PHP, or Python both great backend programming language, and you would have to have an SQL framework such as MySQLi or something similar, although having user input being displayed back onto a page, is a huge security no-no unless you know what your doing, so make sure no data is stored on this website.

ayn

"him or other students being able to enter data into some sort of form and then having it be displayed" can be done with just very basic html and javascript dom manipulation.

tperr

Yes I’ve thought of that but do you know of any way to store the [email protected]

ayn

@tperr Do you need to do it on a server? or locally?

tperr

It could be locally but the goal would be able to still be able to access the data after the website closed so would something like a server [email protected]

ayn

@tperr If it's from the same computer/browser then saving it as a cookie
https://www.w3schools.com/js/js_cookies.asp
or local storage
https://www.w3schools.com/jsref/prop_win_localstorage.asp
would work.

If you you need it to be persistent across different computers then yes you would need a database to do that. I recommend PHP/MySql to get started.

tperr

Thank you I will [email protected]