Place Magento model, resource, collection class at your will

Most Magento model, resource, collection are placed this way: Model is located at Model folder Resource is located at Model/Mysql4 Collection is located at Model/Mysql4/(ClassName) What if you want organise them in a different way? Say how place all of 3 classes under one folder? I enclose a complete a working sample. 1. Model class… Continue reading Place Magento model, resource, collection class at your will

this vs $(this) in jQuery

I don’t know why, but this is how it happens. When I make a jQuery plugin, the skeleton is And if I need an each operation inside plugin, the skeleton can be The interesting thing is inside each, I must use “$(this)” to run jQuery functions, but outside each, I can also use “this”. I… Continue reading this vs $(this) in jQuery