ROR Application Development Tips

I'm Ruby on Rails developer. I love to share my experience, technical knowledge. I work at Crypex Technologies which is developing applications in ROR for more than a decade.

Fabric.js ultimate tutorial for ruby on rails

What is Fabric.js

Fabric.js is a very powerful and simple JavaScript HTML5 canvas library.

Fabric provides an interactive object model on to of canvas element.

Fabric also has a capability to convert the canvas SVG to canvas and canvas to SVG.

 

 

What should you do with Fabric.js

Using Fabric.js you can create a populated object on canvas like a simple geometrical shape or complex shapes.

You can upload an image on canvas and perform manipulation on an image like re-size image, rotate

image, apply image filters, etc.

You can add text on the canvas and perform formatting of text, like add font color. Add a text background color, change the font of the text, change the size of the font, etc.

Fabric.js have built-in animation you can easily apply any object of the canvas.

Fabric.js provides a free drawing to create anything you like.

You can save canvas as a png, jpg, SVG and JSON format.

 

 

How you can integrate fabric.js into rails application

There is two way to integrate fabric.js into rails application.

1. With the help of ‘fabric-rails’ Gem

2. With the help of Fabric.Js CDN.

 

 

With the help of ‘fabric-rails’ Gem

You can easily use fabric.js in rails with the help of ‘fabric-rails’ gem.

gem ‘fabric-rails

 

 

Read the full blog here http://bit.ly/fabricjstutorial

 

 

 

Cryptex Technologies is a Ruby On Rails Development Company with 11+ years of experience in web development. We provide the following services:

 

1. Cryptocurrency Exchange Development

2. Learning Management System Development

3. Shopify Web Development

4. E-commerce Web Development

5. Offshore Software Development Services