英文:
Developing Social Network App using Spring Boot or Spring MVC
问题
我计划使用Java开发一个社交网络应用程序。我最近学习了Spring MVC和Spring Boot。我对于在我的应用程序中使用哪个更好感到困惑。你能否给我一些建议,哪个更好用?还有前端应该使用什么?
英文:
I am planning to develop a Social Network App using Java. I recently learn Spring MVC and Spring Boot. I
am confuse which one is better to use for my app. Can you please give me some suggestion which one is
better to use? And what to use for front end as well?
答案1
得分: 0
Ehsan,Spring Boot 是创建软件的一种方式,而 Spring MVC 是在 Spring Boot 内部构建软件的结构!Spring 有许多框架,例如 JPA 和 Security。你需要同时使用它们以及其他框架。
我使用 Angular 并且喜欢它。但是,你可以在 React、Vue 和其他选项之间进行选择。
前端不需要依赖后端,请求将使用 API。
英文:
Ehsan, Spring boot is a "way" to create your software, and spring mvc is a structure that how you build your software within Spring Boot! Spring has many frameworks, such as JPA and Security. You need both and more.
I use Angular and I like it. But, you can choose between react, vue and others.
The frontend does not need to depend on the backend, requests will be using API.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论