Archive for the ‘Uncategorized’ Category

Web Development Blog

Ruby on Rails (ROR), an open source framework, is used extensively for web development. It uses Ruby as the programming language which is quite similar to Python or Perl. The USP of ROR lies in its ease of use and speed. This is the reason why developers prefer Ruby on Rails over the other frameworks. Any changes made in the app are immediately applied. This saves time at the developing stages. Hence, it is a faster system to work with. As an open source it supports some of the most widely used engineering principles and patterns. Hence, achieving success in completion of tasks becomes an easy method. Further support is also integrated within while developing as application. The skeleton test code is used easily to write test in a simplified way. By using ROR it can also be ensured that the code is in sync with the functionalities mentioned earlier…

View original post 611 more words


Common mistakes in RoR

Posted: October 24, 2014 in Uncategorized

Few common mistakes, must be taken care of while developing RoR applications.

via Common mistakes in RoR.


To control the synchronous or asynchronous flow, there may be more methods but we will do this by multiple callback mechanism using deferred and promise object.

In order to use this mechanism first we need to have an understanding of deferred and promise object.
Here we will use a promise with a deferred object.
A promise is a placeholder for a result, which is initially unknown. While a deferred represents the computation that results in the value. Every deferred has a promise, which functions as a proxy for the future result.
A promise is a value returned by an asynchronous function, but a deferred can be resolved or rejected by its caller which separates the promise from the resolver.

View original post 44 more words