I am currently developing a community (for example, a lightweight "social network") for a limited (local) purpose. This is the first project in which SEO does not matter, and where I can happily exclude no-js users. That's why I'm going to start a project and write my first site, which is fully built using Javascript and my first Node application for educational reasons.
Details so far:
Browser: jQuery , maybe JavaScriptMVC (there are some things that I donβt like in JavaScriptMVC (e.g. routes), maybe I write my own MVC or do you know a more suitable structure? )
Server: Node.JS , Express , (maybe socket.io or nowjs for additional features)
I have a few questions. I know that it is better to ask one question, but there are more or less related ones:
Express looks very good, but I'm missing MVC . I could not find any project that implements mvc and builds on Express. Is there a reason for this? Routing is good in Express, but I need a way to distribute the code across multiple files (controllers would be best, I think the application will not be small, and I need to support it)
The application will be more or less completely based on AJAX (json) requests . Is Express the right framework for such applications , anyway? I think the best way to write this project is to expose the json REST api , which can then be requested by the web application via AJAX and the mobile device application (which I am also going to write). In my opinion, the Express' route system is quite suitable for REST. But feel free to recommend a different framework.
source share