这是否是开发社交网络网应用的最佳方式,使用Angular 8和JSP?

huangapple go评论70阅读模式
英文:

Is it the best way to use Angular 8 and JSP for developing Social Network web application

问题

我正在开发一个社交网络Web应用程序。我已经使用Angular 8构建了登录和注册页面,并在前端使用了Java和Spring框架作为后端来进行所有验证。下一步,当用户登录时,我希望用户进入他的个人资料页面,可以添加他的照片,上传照片,并且可以查看其他人的个人资料、评论和点赞其他人的照片。有几个问题:

  1. 使用JSP是否是最佳方式?
  2. 当我想要从一页重定向到另一页时,应该使用哪些技术?例如,我希望用户能够访问其他人的个人资料并进行点赞和评论?
英文:

I am developing a social network web application. I already built the login and registration pages with all validation using Angular 8 as front end and Java, Spring framework as back end. Next step when a user login I want user goes to his profile where can add his photo, upload photos, and can look to others profile and comment and like to others photos. have a few questions:

  1. Is it the best way to use JSP or not?
  2. What technologies I should use when I want to redirect from one page to another page? For example I want a user be able to go to others profile and like and comment?

答案1

得分: 1

坚持使用Angular,我认为没有理由将JSP与Angular混合使用,特别是如果您已经有了Angular。否则,您将失去Angular在渲染时间上的优势。
这里有一个很好的示例:https://github.com/oktadeveloper/okta-spring-boot-2-angular-7-example
展示了如何创建一个漂亮干净的Angular/Spring Boot应用程序。

英文:

stay with Angular, I don't see reason to mix JSP with Angular, especially if you have that one already. Otherwise you lose rendering time advantage in Angular.
Here is great example https://github.com/oktadeveloper/okta-spring-boot-2-angular-7-example
how to create nice clean Angular/Spring Boot application.

huangapple
  • 本文由 发表于 2020年9月30日 15:30:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/64132843.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定