简体   繁体   English

使用CMS(Drupal,Joomla,Wordpress等)创建论坛,并在Spring MVC Web应用程序中使用该论坛

[英]Creating a forum with a CMS (Drupal, Joomla, Wordpress etc.), and using that forum in a spring MVC web application

I'm working with spring MVC doing web application. 我正在使用Spring MVC做Web应用程序。 This application is almost complete but I want to add a forum to that web application. 该应用程序即将完成,但是我想向该Web应用程序添加一个论坛。 I heard that doing a forum with a CMS is rather easy, so my question is: 我听说使用CMS创建论坛非常容易,所以我的问题是:

Is it possible to do that forum with a CMS, like Drupal, Joomla, Wordpress, etc., and when I finish doing the forum with one or any other CMS, add that forum to my spring MVC web application? 是否可以使用CMS(例如Drupal,Joomla,Wordpress等)建立该论坛,当我完成使用一个或任何其他CMS进行该论坛时,将该论坛添加到我的Spring MVC Web应用程序中吗?

I never have done this before so I don't know if it's possible to do it, and if it's possible how this will affect my spring MVC project. 我以前从未做过此事,所以我不知道是否有可能这样做,以及是否有可能影响我的Spring MVC项目。 I'm working with spring tools suite. 我正在使用弹簧工具套件。

I also looking for spring packages or APIs, or java APIs, libraries etc., like jForum or any other, to do it without a CMS, but there's not much information. 我还寻找jForum或其他类似的Spring包或API或Java API,库等,以在没有CMS的情况下进行操作,但是信息不多。 Where should I start looking..? 我应该从哪里开始看..?

EDITED 已编辑

i hava a table Users in a oracle database that i use in my spring mvc application since i have a user's module and its work is to crate,modify and delete users and i would like to use the same data from that users table in the forum 我有一个表我在spring mvc应用程序中使用的oracle数据库中的用户,因为我有一个用户模块,它的工作是创建,修改和删除用户,我想在论坛中使用该用户表中的相同数据

The short answer is: No. There's no easy way of doing this. 简短的答案是:不。没有简单的方法可以做到这一点。

The long answer is: It depends on the level of integration you need. 长答案是:这取决于您需要的集成级别。

If you just want show a forum which does not share any data with your spring application, this isn't to difficult. 如果您只想显示一个不与Spring应用程序共享任何数据的论坛,这并不困难。 Just emebed the forum in an iframe. 只是将论坛嵌入iframe中。 Or even simpler: provide a link. 或更简单:提供链接。

Likely you want to share user or any other data (think of users). 您可能想要共享用户或任何其他数据(认为用户)。 This isn't easy since you have to share this data between two different applications running on different plattforms. 这并不容易,因为您必须在运行在不同平台上的两个不同应用程序之间共享此数据。 That is of course possible, but does not come for free. 这当然是可能的,但并非免费提供。

To get a better answer you have to tell us more about your spring application and what kind of data you like to share between the forum and your application. 为了获得更好的答案,您必须向我们介绍有关Spring应用程序的更多信息,以及您希望在论坛和应用程序之间共享哪种数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM