Ecto Model Support Functions Extension

We want to allow Extensions to add support functions to existing Nectar Models without changing the Nectar Models.

Let’s begin the journey of incremental changes to bring consumer, service and library code into existence starting from a simple use-case of adding a function, say fn_from_outside, to Nectar Product.

Continue reading

Ecto Model Schema Extension

We want to allow Extensions to modify the schema of existing Nectar Models without changing the Nectar Models.

Extensions should be able to add new fields and associations to existing models as and when needed.

Let’s begin the journey of incremental changes to bring consumer, service and library code into existence starting from a simple use-case of adding a virtual boolean field, say special, to Nectar Product.

Continue reading

Introduction to Metaprogramming

It lists Metaprogramming resources and constructs used in upcoming blogs when creating different extension DSL’s.

Why another tutorial on an already well-documented metaprogramming topic ?

To revise and refresh something that we would refer time and again when reviewing Model, Router, View extension DSLs

Extension DSLs will be using below meta-programming constructs to get the job done :)

Continue reading

Second delhi.rb meetup – Some Advance Ruby Skills

Hey Everyone,
Vinsol is proudly taking charge to spread Rubyism in delhi and to grow the Ruby & Rails communities here in New Delhi, India. We are organizing delhi.rb meetups around once every month, the meetup is all about ruby and rails as well. The meetup was on 19th July 2007 was our second meetup, first […] Continue reading