4 ms·
One bit of advice, don't go for React/Angular/front-end unless you actually need to or you actually want to. Whatever web framework you're using (probably some
by pythonaut_16 9y ago
One bit of advice, don't go for React/Angular/front-end unless you actually need to or you actually want to.
Whatever web framework you're using (probably some variation of Spring if you're using Java) should have built in templating which should be more than sufficient to build an MVP/Proof of concept imageboard. I doubt 4chan is running any kind of SPA either.
Then if your project is successful or you want to stick with it, you can build your frontend javascript app as a phase 2. In most webframeworks you'll do largely the same query/controller work to get the data for both a JSON API and a templated web page. The API will just map that data to JSON while the templated page will map the values into an HTML response.
- vinceguidry 9y agoThis, 100%. Fancy Javascript frameworks are super-complicated, and are easy to misuse. Unless you spend the time learning the principles, all you're doing is needlessly introducing abstractions.
- eeZah7Ux 9y ago...and unnecessary for 95% of webapps. Most of the time user have to click few buttons and refresh few divs and nothing more.