`

[1] Refinery CMS: 介绍与基本使用

 
阅读更多
CMS 在百度百科的解释为
CMS是Content Management System的缩写,意为"内容管理系统",它具有许多基于模板的优秀设计,可以加快网站开发的速度和减少开发的成本。

   按我的简单理解其实就是一个可视化的编辑,最直观的理解就是iteye现在这个博客发表编辑功能,先上refinerycms的截图:

 

 

 很酷吧!

 

如果你是新手,现在肯定在想这个是怎么跑进来的,不过在介绍使用之前,先介绍一下refinerycms吧。

 

引用官方介绍是最好的了

Refinery CMS, 写道

 

Refinery CMS, often shortened to Refinery, is an open source content management system written in Ruby as a Ruby on Rails web application with JQuery used as the JavaScript library. Refinery runs on Rails 3.2.

 大概的意思在于“ Refinery 是一个开源的内容管理系统,使用Ruby 、Ruby on Rails和jQuery框架开发,Refinery已经支持Rails 3.2”

 

由上图可以看到Refinery默认配置有Dashboard、Images、Pages、Files、Inquiries、Setting、Users,大概可以理解为:

  1. Authentication – manages users and sessions within Refinery. 
  2. Core – contains default layouts, views, javascripts and CSS. This extension also has an extension API for extending Refinery and everything Refinery needs to hook into Rails.
  3. Dashboard – shows you what’s recently been updated.
  4. Images – handles image upload, insertion and processing images using Dragonfly.
  5. Pages – allows you to manage pages including the structure of your site displayed in the front end.
  6. Resources – handles file upload and storage.

 

 

简单的介绍后,现在来一次简单的Getting Start:

 

  • 环境搭建
    1: ruby 1.9.3p194
    2: rails 3.2.13
    3: refinerycms 最新版本
    4: ImageMagick: stable 6.8.0-10
  • 创建新项目: refinerycms begin_cms_with_refinery 

  • cd到项目的目录下,执行rails server,访问http:localhost:3000/ 

本来想于写详细一点,但在家里的网络bundle install 时很慢,而且这个开始使用还是挺简单的,Refinery CMS的开篇至此OK。

 

参考资料,均来自官方文档:

1, http://refinerycms.com/guides/installation-prerequisites

2, http://refinerycms.com/guides/getting-started

 

  • 大小: 69.5 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics