基于文件系统的 Web 内容

发布于 2024-09-06 20:04:47 字数 451 浏览 6 评论 0原文

为了简化编辑,我计划从文件系统中提取 Java Web 应用程序的内容。这些文件很可能只是简单标记(如 JTexy 或 Markdown)中的文本。

我计划实现的是一个保存文件内容的树状结构。 它应该被缓存并最终应该处理授权。

我正在寻找一个简单易用的东西,而不是像 OpenCMS 这样成熟的 CMS,但如果它提供一个简单的 api 来访问内容并且可以保持它的依赖关系较小,那么其他东西(如厚客户端内容编辑器)是一个额外的好处。

也许来自这个列表: http://java-source.net/open- source/content-managment-systems

您会推荐什么?

谢谢, 翁德拉

I plan to pull my Java web apps's content from a filesystem, for the sake of simplicity of editing. These files will be most probably only a text in a simple markup like JTexy or Markdown.

What I plan to implement is a tree-like structure keeping the content of the files.
It should be cached and eventually should handle authorization.

I am looking for a simple-to-use thing, not a full-blown CMS like OpenCMS, but if it provides a simple api to access the content and can keep it's dependencies small, the other stuff like thick client content editors is a bonus.

Perhaps something from this list: http://java-source.net/open-source/content-managment-systems

What would you recommend?

Thanks,
Ondra

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

东北女汉子 2024-09-13 20:04:47

为什么不使用带有 (f)cgi perl 脚本的简单 Apache Web 服务器来转换 markdown 并使用 mod_proxy 来缓存结果。

美丽在于简单!

Why not use a simple Apache webserver with a (f)cgi perl script to convert the markdown and a mod_proxy to cache the results.

Beeautiful in its simplicity!

执笔绘流年 2024-09-13 20:04:47

如果您不打算重新发明轮子,那么您可能应该使用 CMS。

正如您所写,OpenCms 是一个成熟的 CMS”,但在您的上下文中它也应该“易于使用”。

If you do not intend to reinvent wheels then you should probably use a CMS.

As you write OpenCms is a full-blown CMS", but it also should be "simple-to-use" in your context.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文