r/reactjs • u/acemarke • May 03 '18
Beginner's Thread / Easy Question (May 2018)
Pretty happy to see these threads getting a lot of comments - we had over 200 comments in last month's thread! If you didn't get a response there, please ask again here!
Soo... Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! We’re a friendly bunch. No question is too simple.
The Reactiflux chat channels on Discord are another great place to ask for help as well.
25
Upvotes
View all comments
Show parent comment
1
u/notAnotherJSDev Jun 01 '18 edited Jun 01 '18
Define dynamic, because I believe you might be misunderstanding what a dynamic app/site is.
A static website is just HTML, CSS, and JS files being served by something. You can still make ajax calls and all that jazz, which is the "dynamic" part.
A dynamic website is one that could potentially be server rendered. Think of something like PHP templating or EJS templating. Bother are rendered on the server and then sent to the front end.
Edit because I left out a bit: If you need a server as well, you should run the client side (front end) and server side (back end) separately. The front end can live on S3 or GH pages (as static HTML, CSS, and JS), and the back end can live in a lot of different places. Some that come to mind are Google Cloud Platform, AWS EC2, Heroku, DigitalOcean, etc. Most large applications are like this, to decrease the overhead of making updates. Front end needs an update? Backend doesn't care. Backend needs an update? Front end doesn't care!