从一组内容数据生成静态网站(可能使用 webgen、webby 或类似的工具包)
我的公司(一家工程公司)正在寻求使用一些动态内容重新设计他们的网站。我们有一系列不错的项目,希望按类别在我们的网站上展示。
详细地说,我想要一个“项目类别”菜单,您可以在其中选择一个子项目类别(例如教堂、学校等),该类别链接到一个页面,其中包含已标记的所有项目的图像类别属性。单击图像将带您进入该项目的详细页面。
我已经完成了大量的 asp 和 jsp 页面开发,但我一直在企业环境中的前端工作 - 我从未从后端构建过生产站点。到目前为止我得到的建议是,成熟的 CMS 解决方案有点矫枉过正,因为我们不会有大量的点击次数,而且我们最多会显示几百个项目。
我似乎有一个总体选择 - 是动态生成页面(使用 asp 或 jsp)还是使用工具生成一组静态 html 页面。该工具将根据我可以提供的一组数据(以数据库或文本文件的形式)构建菜单、项目摘要页面和单独的项目页面。
我倾向于尝试使用像 webgen 或 webby 这样的工具由于我们当前的网络托管情况,静态生成网站。关于哪种方法更合适有什么想法吗? webgen 或 webby 是否能够完成我想做的事情?或者有人可以推荐其他更适合完成此任务的网络创作工具吗?
感谢您的任何反馈!
My company (an engineering firm) is looking to redesign their website with some dynamic content. We have a nice portfolio of projects that we'd like to present on our site by category.
To elaborate, I'd like to have a "Projects Category" menu, where you can choose a sub-project category (such as churches, schools, etc) which links to a page with images of all projects which have been tagged with that category attribute. Clicking on an image would then take you to a detailed page for that project.
I have done a good bit of asp and jsp page development, but I've always worked on the front end in an enterprise environment - I've never built a production site from the back end. The advice I've gotten so far is that a full-blown CMS solution would be somewhat overkill, as we won't have a large hit count, and we'll be displaying a few hundred projects at most.
One big-picture choice I appear to have - whether to dynamically generate the pages (with asp or jsp) or to use a tool to generate a set of static html pages. The tool would build the menus, project summary pages, and individual project pages based on a set of data I could provide (in the form of a database or text file.)
I'm leaning towards trying to use a tool like webgen or webby to statically generate the site due to our current web hosting situation. Any thoughts on which approach is more appropriate? Is webgen or webby capable of doing what I am trying to do? Or can anyone recommend other web authoring tools better equipped to accomplish this?
Thanks for any feedback!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您始终可以使用模板工具包:)
You could always use Template Toolkit :)
Jekyll 可能值得一看。
参考:https://github.com/jekyll/jekyll/wiki/
Jekyll may be worth a look.
Refer: https://github.com/jekyll/jekyll/wiki/
我被告知 webgen 无法完成我想做的事情(我自己没有一些手动编码扩展),但 nanoc 可以。
http://nanoc.stoneship.org/
I've been told that webgen can't do what I'm trying to do (without some manual coding extensions myself) but that nanoc can.
http://nanoc.stoneship.org/