将java cms功能集成到具有高度动态内容的网站中的策略(Lucene / Mysql / Nosql)
我意识到有很多问题,例如“我应该使用什么 cms/什么是最好的”,但我正在寻找将 cms 功能集成到一个已经运行的网站中。
这个网站(与旅游相关的价格比较网站)是用java构建的,使用Tapestry 5作为它的网络框架。它广泛使用 Lucene / Solr。
我正在寻找一种能够编写其他内容丰富的页面的方法,该方法结合了要在 CMS 环境中编写的内容,而其他内容是高度动态的,并且来自例如 Solr / Lucene 或域对象(通过 Hibernate 获取) )。
目前,我使用 mysql 和 excel 作为 CMS 的一种非常粗糙的方式。 -->拥有遵循特定格式的 Excel 文件并将内容导入 mysql 中。该网站然后查询 mysql 的内容。
显然,这是可以被批准的。 我想我正在寻找应该在什么级别上与现有 CMS 集成的指导。
选项:
1 - 松散耦合 - 目前首选 - 使用基于遵循 JSR-170 规范的内容存储库的 CMS。这里我想到了木兰,以及其他一些植物。
- 只需在 Magnolia 中创作存储在内容存储库中的页面/页面片段。 - 让一个定期程序查询内容存储库、提取数据并像以前一样填充 MYSQL。
优点: - 网站像以前一样工作,没有改变
缺点: - 无法就地编辑页面。
2-拥有一个可定制的 CMS,我可以将 solr / lucene 功能引入 CMS。
亲: - 就地编辑 - 更好的编辑工作流程 - 编辑保存在一处,等等。
缺点: - 需要对现有 CMS 进行定制,而且可能需要定制很多。但从长远来看,这对我们来说可能是值得的。
3-介于两者之间? (就像开始能够将 cms 的就地编辑器部分合并到我们的网站中,并保存到我们现有的后端) 欢迎提出建议。
我敢打赌我不是唯一一个拥有这样的用例(在高水平上)的人,并且想知道其他人做了什么/会建议什么。
特别是:您知道哪些 Java CMS 可以在上述范围内进行定制。出于某种原因,我比我短暂测试过的其他产品(Alfresco、Hippo)更喜欢 Magnolia,
感谢任何帮助。
谢谢, 吉尔特-扬
I realize a lot of questions like 'what cms should I use / what is the best' have been asked, but I'm looking for integrating cms-functionality in an already functioning website.
This website (travel-related price-comparison website) is built in java with Tapestry 5 as it's web-framework. It makes extensive use of Lucene / Solr.
I'm looking for a way to be able to author additional content-rich pages, which combines content to be authored in a CMS-environment while other content is highly dynamic and results from for example Solr / Lucene or Domain Object (fetched through Hibernate).
For now I used mysql and excel as a really crude way for a CMS. --> Have Excel-files following a specific format and import the content in mysql. The website than queries mysql for the content.
Obviously, this can be approved.
I guess I'm looking for guidance at what level the integration with an existing CMS should be done.
options:
1- Loosely coupled - PREFERRED FOR NOW - Use a CMS based on a content-repository which follows the JSR-170 specs. Magnolia, as well as some others come to mind here.
- Simply author pages / page-snippets in Magnolia which are stored in the content repository.
- Have a periodic program query the content-repository, extract the data and populate MYSQL like before.
pros:
- website works like before, without changes
cons:
- no way to edit pages in-place.
2- Have a CMS that is customizable in such a way, that I can bring the solr / lucene functionality into the CMS.
pro:
- in place editing
- better editing workflow
- editing is kept in one place, etc.
cons:
- needs customization to existing CMS, and probably lot's of it. But may be worth the time for us on the long run.
3- Something in between? (like begin able to incorporate the inplace-editor part of a cms into our website, and saving to our existing backend)
suggestions welcome.
I bet I'm not the only one having such a use-case (on a high level), and am wondering what others have done / would suggest.
In particular: what Java CMS do you know of that are customizable to the extent as described above. For some reason I'm liking Magnolia far better than the others I've tested briefly (Alfresco, Hippo)
Any help appreciated.
Thanks,
Geert-Jan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为此,我们使用 Atlassian Confluence。它不是 CMS,而是一个高质量的 wiki,但对我们来说,它比 Magnolia 等“真正的”CMS 更合适。我们的优势是:
我认为它会适合您的场景,但我无法告诉您这是否是最佳选项。您可以利用 Remote API 通过 Tapestry 应用程序检索内容。但我认为它不支持 JSR-170。
We use Atlassian Confluence for this. It's not a CMS — it's a high-quality wiki — but for us it was more suitable than a 'real' CMS like Magnolia. The strong points for us were:
I think it would work in your scenario, but I can't tell you if it is the best option. You could make use of the Remote API to retrieve content via your Tapestry application. I don't think it supports JSR-170 though.