Just another Web Developer blog

From the Blog

Apr
12

Today’s post is short, sweet and very helpful!

Cloning is the act of replicating an object and all of it’s values. It can be used in many different scenarios and can also be tough to implement. It’s great to have when using any web app that uses “templates” of any form.

I recently needed to clone objects with associations on a site that listed job posts and was almost pulling out my hair until the ever faithful Google found DefV’s deep_cloning plugin. This is a fantastic, easy to use plugin that performs, as the name states, deep cloning. (more…)