+ 4

Can I create a dynamic website using only javascript with html and css?

Can I create a dynamic website without using Php, only by Javascript ? The website should be connected to a database.

26th Dec 2016, 7:30 PM
Mohammed ES.Sebaiy
Mohammed ES.Sebaiy - avatar
18 ответов
+ 15
By javascript yes, but not by the basic of javascript, as it here learned. Because this pure javascript, implemented in browsers does not support for connecting into database. You have to find and use some extended frameworks with Javascript to do it.
26th Dec 2016, 7:55 PM
Petr Hatina
Petr Hatina - avatar
+ 4
- Yes you can create some simple dynamic web sites with just html, javascript and css, that will allow to present information and react to the user input (like calculations or choice of what next page to present, or hide data on the page). - javascript framework like angular.js may be helpful (but not mandatory) where native JavaScript code would otherwise be very complex. - In addition though, some sort of backend scripting and/or database is needed if data need to be stored permanently or shared with others.
31st Dec 2016, 7:19 AM
ifl
ifl - avatar
+ 2
HTML and CSS is shown and used in the WebBrowser of the Client, as well as Javascript only runs in the browser. You probably need a dynamic component on the serverside as well. Specially when the web server should connect to the database and not the client. To accomplish this you could use java servlets.
26th Dec 2016, 7:54 PM
Nero
+ 2
yes, but you will have to use a framework just like angular.js which is a very good framework for JavaScript for making dynamic web sites
31st Dec 2016, 5:56 AM
Moustafa Mahmoud
Moustafa Mahmoud - avatar
+ 2
Use node js as back end and you are a star 🌟
31st Dec 2016, 7:50 AM
Gaurav Singh
Gaurav Singh - avatar
+ 1
yes you can
31st Dec 2016, 9:53 AM
vadim lepilov
vadim lepilov - avatar
+ 1
not advisable learn php and mysqli is better for backend but you can manage react.js and node.js
31st Dec 2016, 11:24 AM
elahmad
elahmad - avatar
+ 1
Yes! As a complex example see http://isomatic.de which does not communicate with the server (with one single exception).
31st Dec 2016, 4:22 PM
kowa
0
You can do this with Node.js for the back-end and MongoDB for the database. But it is not easy....
26th Dec 2016, 10:56 PM
Jean-paul Reman
Jean-paul Reman - avatar
0
Yes you can create a dynamic website using javascript, html and css. But you require some framework with javascript to do that; like angularjs.
31st Dec 2016, 3:18 AM
Lokendra Prajapati
0
If you want to connect it to a database you will need php and SQL.
31st Dec 2016, 5:47 AM
Malvern Panashe Mhepo
Malvern Panashe Mhepo - avatar
0
yess
31st Dec 2016, 8:03 AM
MOHIT PANDEY
MOHIT PANDEY - avatar
0
use it jquery to build dynamic website
31st Dec 2016, 8:08 AM
Ganesh YDG
Ganesh YDG - avatar
0
creat new server
31st Dec 2016, 10:17 AM
[No Name]
0
yes u can
31st Dec 2016, 10:33 AM
Sharif Siddiqui
Sharif Siddiqui - avatar
0
yes you can create, but you won't be able to handle the huge amount of data on that.
31st Dec 2016, 10:44 AM
Sohel Siddique
Sohel Siddique - avatar
0
you can use node.js for backend. its language is javascript
31st Dec 2016, 10:47 AM
reza
reza - avatar
0
yes
31st Dec 2016, 1:19 PM
Abdel Rahman Abdel Motaal
Abdel Rahman Abdel Motaal - avatar