I am trying to keep my web application as light as possible by using only the bare minimum requirements for frontend and backend, this means no unnecessary framework or library if possible. My plan is to use vanilla javascript, HTML, and CSS on the frontend. Then on the backend, a number of web APIs and a database will be used to perform all the necessary tasks. I realized that in order to use web APIs and database I will need some sort of framework so my first question is of all the frameworks I can choose from, which framework is the most light weight. My second question is how common is this approach to web development where only a set of web APIs and a database are used on the backend. My final questions are if it’s a very common approach to web development is there any example I can look at so I can see how authentication, authorization, caching, etc. are handled.
If you 100% just want to go with a no framework approach, you could just do the classic LAMPP stack. Linux server running Apache for the web server, MySQL for the database and vanilla JS and HTML for the frontend with PHP on the backend.
In 2024, this approach isn’t very common and frameworks do help a lot but the above should get you started on a non-framework approach.
Kalcooney is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.