English 中文(简体)
铁路对一个主要固定页面和几种形式的网站是否有足够的解决办法?
原标题:Is Rails a light enough solution for a website with mostly static pages and a few forms?

我在寻找更简单的方式起草一个小型个人网站的建议,而不是使用Rub有关铁路(我要说,我有中间经验)。 该网站主要是由丘库(文章、菜单等)建造的固定页面,我希望能够提出像Markdown这样的内容,以便非技术者能够撰写文章。 该网站还需要一些简单的反馈形式。 我可能不需要广泛的测试。

现场将极小,我想完全控制眼光和感觉。 能够安慰铁路、Ruby、Javascript、超文本和CSS。

我不禁要问的是,我是否正在使维护(包括部署)和提交该场址的内容比使用铁路更为复杂。 我听到关于Sinatra的一点意见,即激发了我的兴趣,但从未使用过这一利益——这是否会减少维护费用?

Does the recommendation change if the site requires the user to login?

最佳回答

I ve plumped for Sinatra(有标记模板)。 这样,我就能够很容易地从局部上建立固定的网页,并用奇迹的形式进行游说。 由于答复,两人建议Sinatra,我不想接受对方的答复!

问题回答

2. 查看此处所列一些静态网站发电机:

http://nanoc.stoneship.org/docs/1-introduction/

or here:

https://www.ruby-toolbox.com/categories/static_website_generation

例如,Jekyll正在为建立固定网站而广受欢迎,该网站的作者是Markdown。 OctoPress甚至可能是你需要的;它基于静态网站生成的Jykyll,但涉及的是超文本模板、CSS、Javascript和作为博客或CMS已经建立的所有材料。

You mention a need for forms for feedback. You could combine a static website with a simple Rails or Sinatra app; alternatively, it may be easier to add web forms hosted by many of the services that specialize in that.

I did a site in rails, and now one with Sinatra. I can say as a c programmer at heart that rails confuses me with all the magic . Sinatra just seems a better fit for me. It s easy to set up a db with login, etc...

我发现,Sinatra公司是广告的,开发商实际从事这项工作等。 我将在 her库部署——与Sinatra合作。

But you seem to be describing a Wordpress site - which has control for multiple users, articles, posting, etc. I have built Wordpress and am happy with how easy it all is. The godaddy Wordpress option is really nice. With your own hosted Wordpress you can do a lot. Of course you may have ideas that require some gem, etc.

我认为,对于不以内容为导向但具有原样的场所来说,情况较好。 你们是否愿意学习Sinatra?





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签