X

Get the Blog Updates

Scroll to Top

To Top

Introduction to Sidekiq
Sidekiq gem is used to move long running jobs to background for asynchronous processing.
It is more efficient, with respect to memory usage, than delayed_job and Resque as it uses threads instead of forks.

Need of background process
For example, in a mailing application you need to send emails to a large list of recipients. It will take large time to process with the large list of recipients, which is too long for a User to wait for a response after clicking a link. So, it's better to move the long running task as the background process by using Sidekiq gem.

Ruby on Rails aka “RoR” is an open-sourceMVC framework built using the Ruby programming language. Ruby on Rails development frameworkIt is considered as the epitome of the latest generation of high-productivity, open source web development tool. The growing demand for Ruby on Rails has been driven by successful RoR development companies like Andolasoft, who benefit from the speed and agility of building applications in Rails, which results in increased productivity and company growth.

1. Framework built on Agile methodology
RoR is faster because the framework was built based on Agile development methodology, best practices are emulated so web development is done with high quality and speed.

With the advent of Ruby on Rails around 2006,it has revolutionized the sphere of web development.

Built on MVC (Model-View-Controller) architecture, this relatively new technology in the field of web development, has appealed to numerous developers.

What is a CMS?

Acontent management system or CMS is a computer program that allows a user to publish, edit and modifying of the content through a editor. CMS often used for websites & blogs to avoid the hand coding and provide easy to use interface so that anybody can manage the content without depending on a programmer.

Here, I want to specify one of the popular Ruby on Rails CMS - RefineryCMS. There are some other CMS available in Ruby On Rails like BrowserCMS, LocomotiveCMS, Radiant CMS, etc...

“Rails” is an amazing framework to developweb apps quickly with its inbuilt helper libraries. However, there are certain best practices that should be followed for better app performance.

Most developers love to place the logics inside the controller and use the model for the Active Record operation only.

5 utility Open Source Apps in CakePHP
By Prakash S.

CakePHP is one of the most popular open sourceweb application framework. It provides an extensible architecture for development, maintenance and deployment of PHP applications. Being based on the MVC Architecture & ORM, it is relatively simple to understand and helps developers to write less code without losing flexibility.

Rails or Django – which one to choose?
By Srikant M.

Python and Ruby are the most popular dynamicprogramming languages. Developers are using these two languages for high level application development. Python and Ruby are popular among web developers because of their rapid development cycle.

Here, I have discussed most important difference between Python and Ruby

Sometimes we are unaware of unknown complexitiesin our Rails code and it gets messy. Moreover, it reduces application performance, scalability and maintainability.

Metric_fu is a set of rake tasks and compilation of several different tools that provides reports. This show which parts of your rails code might need extra work. It uses the following built-in tasks to create a series of reports. Rcov – Measures test coverage Flog – Measures code complexity Saikuro – Measures cyclomatic complexity Flay – Finds duplication (both copy/paste and structural) Reek – Spots code smells Roodi – Finds lots of general problems Churn – Identifies files that changes too often Rails best practices - code matric tool Cane - code quality threshold violations HotSpot - Meta analysis of your metrics to find hotspots in the code

Ruby on Rails development is fast changingthe norms of web development across the globe.

Companies around the world are fast catching up with this Ruby on Rails web development framework for exploring and executing its true potentials.

Finally, the most awaited Rails 4.0 versionhas been released by the Rails team on 25th of June. Rails 4 has got huge changes.

There are tons of new features available, which can make your life as a Rails developer a lot easier. We will talk about the most exciting features in Rails 4 and why you should upgrade.

Devise is an authentication solution forRails application development. Since devise is an engine and all the files created by it are packaged inside the gem.

We need to invoke some generators in order to customize it.

Devise is a flexible authentication solutionfor Rails based on Warden. Devise handles authentication across the entire stack.

It is composed of 12 modules. Here are the steps to install Devise in Rails 3.X

Backbone.js is a popular open source JavaScript framework that allows us to develop single page web application. It offers a MVC framework for organizing Javascript application.
What is Backbone.js?
Building single-page web apps or complicated user interfaces will get extremely difficult by simply using JQuery alone. Because JavaScript libraries are great at what they do, without realizing it you can build an entire application without any formal structure. Whereas Backbone.js is a lightweight framework that allows us to create single page applications in a structured manner. Backbone.js enforces that communication to the server should be done entirely through a RESTful API. The web is currently trending such that all data will be exposed through an API, because the browser is no longer the only client, now we have mobile devices, tablets and electronic fridges etc.

You should do minimum security checks before releasing the rails app to the public. The possible threats could be hijacking user accounts, manipulate access control, accessing sensitive data, doctoring with garbage contents. You should act proactively to protect your valuable information. Here you go with some useful security tips which you cannot ignore. Courtsey,:Ruby on Rails Security Guide. Don't trust logged in users (Authentication != Authorization) Always check whether the current logged in user is allowed to perform operation like create, update, delete and view. Devise, a library which handles authentication, to verify that you can only get to the destroy action if you’re logged in. However, Devise does not handle authorization. Apart from authentication authorization must be checked prior to allow any data sensitive operation.

Most start-ups and established enterpriseshave evidently landed to the conclusion that, Ruby on Rails is the best option for rapid and cost efficient web app development.

‘Rails’ is an open-source, multilevel web app framework that implements MVC development architecture, for the Ruby programming.

Puma is a multi-threaded high performanceweb server written in Ruby. Currently it is very popular in market as a ruby application server.

We can use it for any ruby web app that supports rack. Here, I have mentioned detailed steps to help you configure Rails application with Puma and Nginx on CentOS.

A feed is a data format which is used toprovide frequent updates and latest contents to the users.

A feed has no particular type; it could be news, latest technology, game, gadgets, sports etc. These feeds can be easily parsed into your Rails application to make it more useful for the users.

How to create dynamic sitemap in Rails?
By Srikant M.

Ideally a website should have all the pageslisted in the sitemap. However, in some cases, developers missed out to add newly created page links to the sitemap.

For this reason the sitemap is inconsistent and leads to the most common “404-not found” error in Rails app.

‘Bullet’ is a ruby gem which facilitatesthe developers by alerting when an application performs an inefficient database query, such as an N+1 query.

It is one of the most efficient tool to optimize a Rails application. This example illustrates method of optimizing a query.

“Kaminari” is a clean, powerful, customizableand sophisticated pagination for the modern web applications.

Here we have to bundle the gem and the models that are ready to be paginated and no extra configuration is required for the process.

Copyright © 2009-2014 Andolasoft. All rights reserved.