用于建立个人网站的 Ruby 工具

发布于 2024-10-31 07:56:20 字数 1539 浏览 1 评论 0原文

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

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

发布评论

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

评论(4

花开柳相依 2024-11-07 07:56:20

您并没有真正指定您的网站在静态/动态内容等方面的具体情况,因此真正能做的就是列出一些选项:

在工作中我们使用 Rails,对于我的私人项目,我倾向于使用 Sinatra,并且对其极简主义感到非常满意。不过,我计划很快与 Padrino 合作,因为它似乎处于 Sinatra 和 Rails 之间的一个不错的位置。

You didn't really specify how exactly your site is going to be in terms of static/dynamic content etc, so all one can really do is list some options:

At work we use Rails, for my private projects I tend to use Sinatra and am very happy with its minimalism. I am however planning to do something with Padrino soon, since it seems to be positioned in a nice niche between Sinatra and Rails.

鲜肉鲜肉永远不皱 2024-11-07 07:56:20

我目前正在使用 Nanoc,我绝对建议从静态站点生成器开始。这几乎完全消除了许多类型的问题。它还使您能够将内容作为文本文件存储在文件系统上,而不是处理数据库和特殊的编辑器界面。

如果您需要服务器端编程,那么请升级到使用 Git 作为存储的东西,再次真正避免将您的内容锁定到数据库中。

Compass 非常值得一看,它可以帮助您使用 CSS - Compass 可以与您的任何内容一起使用选择。 Compass 确实需要您花一点时间来学习,但从长远来看可以使 CSS 变得更容易。例如,它具有帮助您设置 CSS3 效果的帮助程序。

I'm currently using Nanoc, and I'd definitely recommend starting with a static site generator. This almost completely cuts out many types of issue. It also enables you to store your content as text files on a filesystem, rather than dealing with a database and special editor interfaces.

If you need server-side programming then move up to something that uses Git as the storage, again really to avoid locking your content into a database.

It's well worth looking at Compass to help you with the CSS - Compass will work with whatever you choose. Compass does require you to spend a little time learning it, but can makes CSS much easier in the longer-term. For example, it has helpers that let you set up CSS3 effects.

水溶 2024-11-07 07:56:20

Jekyll 似乎是现在很酷的孩子们使用的东西。它是一个生成器,而不是 CMS。

您可以在线找到许多具有各种设置的“开源”网站(请参阅此处< /a>)

Jekyll seems to be what the cool kids use these days. It's a generator, not a CMS.

You can find lots of "open source" sites online with various setups (see here)

伤痕我心 2024-11-07 07:56:20

我的解决方案

经过太多思考后,我最终使用了 Nesta CMS正如此 Peepcode 博客中所设想的那样
文章

实际上,我使用自制的 scss 版本 http://semantic.gs 和 html5 样板布局。

Nesta 现在具有插件功能,并且有两个很棒的插件可用:

  1. Blogazine 可以帮助您获取窥视代码博客解决方案
  2. Maldini 从 BibTeX 文件生成引文和参考文献列表

感谢大家分享您的想法。

My Solution

After too much thinking I ended up using Nesta CMS as envisioned in this Peepcode blog
article
.

Actually I use a home made scss version of http://semantic.gs and the html5 boilerplate layout.

Nesta is now plugin capable and has two wonderful plugins available:

  1. Blogazine which helps you obtain the peepcode blog solution
  2. Maldini which generates citations and reference lists from BibTeX files

Thanks everyone for sharing your thoughts.

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