与 Java 应用程序集成的博客引擎。哪个博客引擎?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7269153/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
A blog engine to integrate with a java app. Which blog engine?
提问by mist
I have to setup a blog engine that "has to be integrated with a java app". These are my requirements, I'm not kidding. The java app is a web app that serves very dynamically changed content.
我必须设置一个“必须与 Java 应用程序集成”的博客引擎。这些是我的要求,我不是在开玩笑。Java 应用程序是一个 Web 应用程序,它提供非常动态变化的内容。
What exactly the blog and this app are going to exchange - I do not know, because my client doesn't know. (yes, I know, my client is ..., but this is the case).
博客和这个应用程序到底要交换什么 - 我不知道,因为我的客户不知道。(是的,我知道,我的客户是……,但情况确实如此)。
I think I have two options: a java blog engine and wordpress.
我想我有两个选择:java 博客引擎和 wordpress。
Wordpress is popular, stable, customizable, ..., but in PHP. Java blogs are not popular, but in Java.
Wordpress 是流行的、稳定的、可定制的,...,但在 PHP 中。Java 博客并不流行,但在 Java 中。
In a previous project I was using a .NET blog, called dasBlog, it was not popular and not easily customizable. I don't want to make that mistake again.
在之前的一个项目中,我使用了一个名为 dasBlog 的 .NET 博客,它并不流行,也不容易定制。我不想再犯那个错误。
If I can be able to fully control a Wordpress blog (publish posts, edit sidebar contents, make wordpress ask me for content for a sidebar, ...) via JAX-RPC or REST and if that is straightforward, maybe I would choose Wordpress.
如果我能够通过 JAX-RPC 或 REST 完全控制 Wordpress 博客(发布帖子,编辑侧边栏内容,让 wordpress 向我询问侧边栏的内容,...),如果这很简单,也许我会选择 Wordpress .
What do you think?
你怎么认为?
回答by mist
For wordpress-java integration I found these:
对于 wordpress-java 集成,我发现了这些:
Quercus (runs PHP): http://wordpress.tv/2008/10/27/spreading-the-word-to-java-bring-wordpress-and-java-together-with-quercus-slides/
Quercus(运行 PHP):http: //wordpress.tv/2008/10/27/spreading-the-word-to-java-bring-wordpress-and-java-together-with-quercus-slides/
Java API for wordpress http://code.google.com/p/wordpress-java/(This is my favorite, but I don't know how powerful it is)
wordpress的Java API http://code.google.com/p/wordpress-java/(这是我最喜欢的,但我不知道它有多强大)
java port of wordpress: http://www.theserverside.com/news/thread.tss?thread_id=50890(I don't like this one)
wordpress的java端口:http: //www.theserverside.com/news/thread.tss?thread_id =50890 (我不喜欢这个)
回答by pap
It's not that uncommon to combine a java-app with a wordpress installation (I have done so myself at least once). Just front with an apache, running php and wordpress and have your java app running "behind" on it's own context. Tricky parts are if you need to share sessions and logins.
将 java 应用程序与 wordpress 安装相结合并不少见(我自己至少这样做过一次)。就在 apache 前面,运行 php 和 wordpress,让你的 java 应用程序在它自己的上下文中“在后面”运行。棘手的部分是如果您需要共享会话和登录。
回答by Anantha Sharma
you can also try apache-roller, its no match to the UI of wordpress. but it can get the job done...
您也可以尝试apache-roller,它与 wordpress 的 UI 不匹配。但它可以完成工作......