Sunday, May 12, 2013

Better Fontend Development framework

1.Bootstrap by Twitter
http://twitter.github.io/bootstrap/
This is a easy one for developer who without designer support.

2. Spinejs
http://spinejs.com/
I love this one better than backbonejs. MVC Framework.
More easily to understand. If you know coffeescript, less code!!!

3. AngularJS
http://angularjs.org/
A good Frontend MVC Framework.
Great but not easy to handle.

4.Initializr
http://www.initializr.com/
Easy to generate HTML5 template combine with Modernizr, Bootstrap and let the website Responsive!!

5.Zepto.JS
http://zeptojs.com/
Jquery compatible API. less size.
Shit...it's not support IE...So mostly i use it with Phonegap.

Extra one:
Less / SCSS
OMG...they are css framework.
Let your css can be programable.

If you know this five or four of them, you can find a frontend development.(Not include Hong Kong. They don't know this few of tools.)

In here more advance tools for you and me.

1.Yeoman
http://yeoman.io/
Moden web develop new workflow.

Don't worry...Try and learn....

You are not alone. XD




Friday, August 24, 2012

Rails 3.2 Rack install


As of Rails 3.2, Rack middleware belongs in the app/middleware directory.
It works "out-of-the-box" without any explicit require statements.
Quick example:
I'm using a middleware class called CanonicalHost which is implemented inapp/middleware/canonical_host.rb. I've added the following line to production.rb (note that the middleware class is explicitly given, rather than as a quoted string):
config.middleware.use CanonicalHost, "example.com"
This works as desired.