茧2.2? 这是值得还是坏消息?

发布于 2024-07-08 03:32:13 字数 159 浏览 14 评论 0原文

我希望将 Cocoon 用于我正在创建的几个网站。 我将在网站上大量使用 xml、xsl 并转换为 html、pdf 和 excel。 我对 coccon 很感兴趣,因为它很好地实现了这些功能。

我想我只是想知道是否有人使用过它并且喜欢它,或者他们是否发现它的麻烦大于其价值。

I am looking to use Cocoon for a couple of sites I am creating. I will make heavy use of xml, xsl and conversion to html, pdf and excel on the sites. I am attracted to coccon as it implements these functions quite well.

I guess I am just wondering if anyone has used it and like it, or if they found it was more trouble than it's worth.

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

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

发布评论

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

评论(3

是你 2024-07-15 03:32:13

Cocoon 是一个非常强大的框架。 但要了解它的各个方面并不容易。 (参见《尤利西斯》的回答)。 一旦您理解了基本概念,尽管在 XML 领域中几乎没有什么可比的。

它集成了很多东西,您确实需要将其精简为您真正需要的东西。 最初的站点地图很大。 大多数新手已经失败了。 (参见 meadandale 的回答)

所以这实际上取决于你真正想用它做什么。 今天我不会再将它用于网络应用程序了。 还有其他框架也关注这一点并且做得更好。 您可能仍然可以将它们与 Coocoon 集成。 好吧,它可能已经有人完成了;)

如果您确实大量使用 xml/xsl 并且需要不同的输出格式,那么可能没有什么比 Cocoon 更好的了。 经过适当的调整,它甚至可以为几个非常大的网站提供服务。

如果您有疑问,它是最受欢迎的开源社区之一。 只要确保它是适合正确工作的正确工具即可。 但从你的描述来看是这样的。 即使您只是将其用于渲染。

它有一点学习曲线 - 但不要沮丧。

免责声明:我是开发人员之一:)

Cocoon is a very powerful framework. But it's not easy to understand all aspects of it. (see Ulysses answer). Once you have understood the basic concepts though there is hardly anything comparable in the XML space.

It has been integrated with so many things that you really need to strip it down to what you really need. The initial sitemap is huge. That's were most newbies already fail. (see meadandale's answer)

So it really comes down to what you really want to do with it. Today I would not use it for web applications anymore. There are other frameworks that have that focus and do a better job at it. You probably can still integrate those with Coocoon. Well, it probably has already been done by someone ;)

If you really make heavy use of xml/xsl and need different output formats, there is probably nothing really better for it than Cocoon. Properly tuned it even serves a couple of really big sites out there.

If you got questions it has one of the most welcoming open source communities. Just make sure it's the right tool for the right job. But from your description it sounds like. Even if you just use it for the rendering.

It has a bit of a learning curve - but don't get frustrated.

Disclaimer: I am one of the developers :)

标点 2024-07-15 03:32:13

只是快速浏览了一下您可以查看的替代方案:

Just had a quick look for alternatives you could look at:

请恋爱 2024-07-15 03:32:13

我使用cocoon 为移动设备(基于设备功能)生成目标内容(例如DHTML、XML、SVG)。

最大的问题是示例配置中默认启用的所有默认组件。 要让应用程序启动并运行,需要做很多工作。

然而,一旦你配置好了一切,它就是一个非常强大的框架。

I've used cocoon for generating targeted content (e.g. DHTML, XML, SVG) for mobile devices (based on the device capability).

The biggest issue is all the default components that are enabled by default in the sample configuration. There's a lot of whack-a-mole to get the application up and running.

However, once you have everything configured, it is a very powerful framework.

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