design
Today, I found a really good CMS. I'm looking for ruby 3 CMS for a while. I found this CMS solution that use my favorite NoSQL database system: MongoDB. I think multi site feature is rare in ror applications. Locomotive CMS do it.
Locomotive is an open source CMS for Rails 3. It's super flexible and integrates with Heroku and Amazon
Some features from technical Specs:
Here is my HTML number formatter. Sometimes the browsers wrap the numbers along thousand separator or decimal pont, but this function prevents this event.
function html_number_format($number, $decimals = 2, $dec_point = '.', $thousands_sep = ',') { if ($number === FALSE) { return '---'; } return '<span style="white-space: nowrap;">'.number_format($number, $decimals, $dec_point, $thousands_sep).'</span>'; }
See the following code:
<div style="background-color: #fff; border: 1px solid #000;"> <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="214" HEIGHT="200" CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0"> <PARAM NAME="MOVIE" VALUE="http://banner.example.com/banner.swf"> <PARAM NAME="PLAY" VALUE="true"> <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME="QUALITY" VALUE="high"> <PARAM NAME="SCALE" value="noborder"> <EMBED SRC="http://banner.example.com/banner.swf" WIDTH="214" HEIGHT="200" PLAY="true" LOOP="true"
I've read a great article about 960.gs and compass comparison. This article may help you chose the right CSS framework for your project.
