Zend Queue with Magento

By using Zend Queue with magento we can create an event driven asynchronus integration system. Just think about how much work you will offload from Magento when integrating with other systems and Magento itself. To keep things simple, let’s pretend that you send emails to your customers everytime a new product gets added. Usually these products get added during the day which also happens to be when your customers are most active buying in the site. An alert about a new product is very important but you don’t want to bug down your email server. That’s where Zend Queue comes to the rescue. In this example I am using mysql to store the queue. If you follow the same example remember to create the tables first, these can be found under: lib/Zend/Queue/Adapter/Db/mysql.sql ...

August 1, 2012 · 2 min · Luis Tineo

Magento 301 Redirects

Did you ever want to create a redirect in a Magento Store without having to use htacess? Using Observers and the powerful Request and Response objects from Zend Framework you can. In this example I will show how you can do it. First you need to create the module, more on module creations here: http://goo.gl/vvT2j. Create a directory under app/code/community and name it FooBar, then create another directory under FooBar and name it Redirect. Create two directories inside FooBar: etc and Model. ...

February 11, 2011 · 2 min · Luis Tineo