A self taught Programmer | Hacker | Lazy Blogger who scribbles at Codingarena.in Learns for passion, hacks for fun, codes Ruby, Rails, Js for a living. Currently experimenting with Csnipp.com

Manu S's articles

  1. Increase Engagement with Merit and Gamification

    Gamification or reputation systems have become quite popular with web and mobile apps. Keeping score of users’ activity helps websites find out who should be rewarded and encourages users to contribute. Websites like StackOverflow and Foursquare are two of the common applications that owe much of their success to gamification. These reputation systems have been […]

  2. ORM in Ruby: An Introduction

    Anyone with experience in developing web based applications or using a web framework has dealt with relational databases, such as MySQL or PostgreSQL. Dealing with SQL can be a bit scary at times, especially when dealing with data across different tables and applying various filters.

    This is where ORM comes to the rescue.

    What is ORM ?

    ORM is the acronym for Object Relational Mapping.

    Object-relational mapping (ORM, O/RM, and O/R mapping) in computer software is a programming technique for converting data between incompatible type systems in object-oriented programming languages. This creates, in effect, a “virtual object database” that can be used from within the programming language. There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to create their own ORM tools.

    In other words, an ORM framework is written in an object oriented language (like Ruby, Python, PHP etc.) and wrapped around a relational database. The object classes are mapped to the data tables in the database and the object instances are mapped to rows in those tables.

  3. Introduction to Bitcoin

    Bitcoin is a “digital currency” that’s received quite a bit of attention recently. Where does it come from and how is its value determined? Is it an acceptable way to make/recieve payments as Bitcoins ? Bitcoin is an open-source, peer-to-peer virtual currency that exists purely in digital form. It is the first decentralized peer-to-peer payment […]

  4. Looking at XMPP and the XMPP4R Gem

    XMPP XMPP Official Logo

    XMPP is “an open, XML-inspired protocol for near-real-time, extensible instant messaging and presence information.” — Wikipedia

    The Extensible Messaging and Presence Protocol (XMPP) is an open technology for real-time communication, which powers a wide range of applications including instant messaging, presence, multi-party chat, voice and video calls, collaboration, lightweight middleware, content syndication, and generalized routing of XML data. — xmpp.org

    The eXtensible Messaging and Presence Protocol aka as Jabber (the protocol was originally named Jabber and was developed by the Jabber open-source community) is a protocol to exchange messages between 2 entities. Those messages are transmitted over the wire in the XML format. It’s used by Jabber, Google Talk, Google Wave, Pidgin, Kopete, and all sorts of open source instant messaging applications.

  5. The (Silver) Bullet for the N+1 Problem

    Rails is one of the popular choices when it comes to building your Minimum Viable Products(MVP). You can bootstrap, prototype, and release an application with such ease that Rails is many developers default choce for an MVP. Usually while developing these prototypes, most developers don’t consider the performance indexes, which really shouldn’t be a concern […]

  6. Some Ways ActiveSupport Helps Ruby Developers

    Ruby is an object-oriented, interpreted language invented by Yukihiro Matsumoto in 1993 that is heavily inspired by Perl and Lisp. Since its inception, Ruby has been designed to be a “joy to use” – meaning a strong focus on readability and elegance. Ruby on Rails, often simply Rails, is an open source web application framework […]