<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Posts on Luis Tineo</title><link>https://www.kingletas.com/posts/</link><description>Recent content in Posts on Luis Tineo</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 01 Aug 2012 12:53:29 -0400</lastBuildDate><atom:link href="https://www.kingletas.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Zend Queue with Magento</title><link>https://www.kingletas.com/2012/08/zend-queue-with-magento.html</link><pubDate>Wed, 01 Aug 2012 12:53:00 -0400</pubDate><guid>https://www.kingletas.com/2012/08/zend-queue-with-magento.html</guid><description>&lt;p&gt;By using Zend Queue with magento we can create an event driven asynchronus integration system.&lt;/p&gt;
&lt;p&gt;Just think about how much work you will offload from Magento when integrating with other systems and Magento itself.&lt;/p&gt;
&lt;p&gt;To keep things simple, let&amp;rsquo;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&amp;rsquo;t want to bug down your email server. That&amp;rsquo;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&lt;/p&gt;</description></item><item><title>Cloning magento modules</title><link>https://www.kingletas.com/2012/08/cloning-magento-modules.html</link><pubDate>Wed, 01 Aug 2012 12:37:00 -0400</pubDate><guid>https://www.kingletas.com/2012/08/cloning-magento-modules.html</guid><description>&lt;p&gt;Cloning magento modules will never this easy again.&lt;/p&gt;
&lt;p&gt;Today I wanted (read was forced) to create a module based on one of Magento&amp;rsquo;s core. Literally I needed to clone some of the Magento modules and while the copy and paste is simple stuff, going class by class and file by file renaming and configuring files is not joke.&lt;/p&gt;
&lt;p&gt;So why do I need to clone it instead of just doing the usual OOP stuff Magento is so good at? Simply because the functionality is really different in most files and settings. So creating a payment method or paygate or giftcard module is easier when you have an skeleton to work with. Think about it, how different is paying with PayPal from Google Checkout? Functionality wise not that much, essentially they do the same thing but implement it differently.&lt;/p&gt;</description></item><item><title>Full Page cache with nginx and memcache</title><link>https://www.kingletas.com/2012/08/full-page-cache-with-nginx-and-memcache.html</link><pubDate>Wed, 01 Aug 2012 12:32:00 -0400</pubDate><guid>https://www.kingletas.com/2012/08/full-page-cache-with-nginx-and-memcache.html</guid><description>&lt;p&gt;Since the cool kids at Google, Microsoft and Amazon researched how performance and scalability affect conversion rates, page load time has become the topic of every eCommerce store.&lt;/p&gt;
&lt;p&gt;Magento was once a resource hog that consumated everything available to it and you had to be a magician to pull off some awesome benchmarks without using any reverse proxy or full page cache mechanism. Creating a full page cache with nginx and memcache is really simple (right after hours of research).&lt;/p&gt;</description></item><item><title>Connect to a wireless network through the command line</title><link>https://www.kingletas.com/2012/07/connect-to-wirless-network-through.html</link><pubDate>Sat, 28 Jul 2012 17:21:00 -0400</pubDate><guid>https://www.kingletas.com/2012/07/connect-to-wirless-network-through.html</guid><description>&lt;p&gt;Sometimes you decide that you don&amp;rsquo;t want to use any GUI to connect to your wireless network, especially when it doesn&amp;rsquo;t seem to work.&lt;/p&gt;
&lt;p&gt;One of the main benefits of Linux and any other Unix based operating system is its ability to empower users to do things on their own.
So tonight when the latest Ubuntu updates broke my laptop&amp;rsquo;s wireless, I decided to write a little script to fix it.&lt;/p&gt;</description></item><item><title>Dirt cheap way to make magento fly</title><link>https://www.kingletas.com/2012/07/dirt-cheap-way-to-make-magento-fly.html</link><pubDate>Fri, 27 Jul 2012 16:47:00 -0400</pubDate><guid>https://www.kingletas.com/2012/07/dirt-cheap-way-to-make-magento-fly.html</guid><description>&lt;p&gt;There are several ways to accomplish the same task and some are more elegant than others.&lt;/p&gt;
&lt;p&gt;This one makes any Magento community edition fly and is cheap and quick (read no Magento compliant - because it modifies the templates)&lt;/p&gt;
&lt;p&gt;In other words while this trick can help you boost your Magento store server response I am not too proud of it.&lt;/p&gt;
&lt;p&gt;Why is that a big deal? I am not a huge fan or changing templates, even if they are &amp;ldquo;allowed&amp;rdquo;.&lt;/p&gt;</description></item><item><title>PHP Offloading... Nginx helps so much!</title><link>https://www.kingletas.com/2012/07/php-offloading-nginx-helps-so-much.html</link><pubDate>Thu, 26 Jul 2012 18:06:00 -0400</pubDate><guid>https://www.kingletas.com/2012/07/php-offloading-nginx-helps-so-much.html</guid><description>&lt;p&gt;So let&amp;rsquo;s continue our attempt to improve Magento&amp;rsquo;s performance and this time around let&amp;rsquo;s focus on the web server itself.&lt;/p&gt;
&lt;p&gt;There are a bunch of &lt;a href="http://en.wikipedia.org/wiki/Web_server"&gt;web servers&lt;/a&gt; out there but the most known are, a least to me: &lt;a href="http://www.apache.org/"&gt;Apache&lt;/a&gt;, &lt;a href="http://www.nginx.org/"&gt;Nginx&lt;/a&gt; and &lt;a href="http://www.lighttpd.net/"&gt;Lighttpd&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My favorite, and of course I am biased here, is Nginx and it approach to serving content. As you may all know Nginx is an event-based web server and the main advantage of this asynchronous approach is scalability.&lt;/p&gt;</description></item><item><title>PHP offloading for better performance</title><link>https://www.kingletas.com/2012/07/php-offloading-for-better-performance.html</link><pubDate>Tue, 24 Jul 2012 22:19:00 -0400</pubDate><guid>https://www.kingletas.com/2012/07/php-offloading-for-better-performance.html</guid><description>&lt;p&gt;So you recently launched your PHP application (read &lt;a href="http://www.magentocommerce.com/"&gt;Magento&lt;/a&gt;) just to realize that it is really slow even though you have state of the art hardware, software and it is configured to kick ass. You decided to install &lt;a href="https://www.varnish-cache.org/"&gt;varnish&lt;/a&gt; to help full page caching and your CDN, which it only has gzipped merged and minified assets, to serve content faster now your site seems to be flying but &lt;a href="http://newrelic.com/"&gt;New Relic&lt;/a&gt; still reveals so many bottlenecks specially for the fillers you needed to keep some dynamic content rocking.&lt;/p&gt;</description></item><item><title>FireFox vs Virtualized environments</title><link>https://www.kingletas.com/2012/07/firefox-vs-virtualized-environments.html</link><pubDate>Mon, 23 Jul 2012 13:55:00 -0400</pubDate><guid>https://www.kingletas.com/2012/07/firefox-vs-virtualized-environments.html</guid><description>&lt;p&gt;Firefox rocks no doubt about it&amp;hellip; but using more memory than virtualbox just to run magento is not cool at all!&lt;/p&gt;
&lt;p&gt;This is why I really dislike using FireFox and love using &lt;a href="http://getswiftfox.com/"&gt;SwiftFox&lt;/a&gt;. How come Firefox is taking 2GB of ram, that is as much as my virtualized Ubuntu Desktop and more than my virtualized ubuntu server. In other words with that much memory I could be running a few more computers.&lt;/p&gt;</description></item><item><title>Varnish implementation hints and good to know</title><link>https://www.kingletas.com/2012/07/varnish-implementation-hints-and-good.html</link><pubDate>Tue, 17 Jul 2012 00:30:00 -0400</pubDate><guid>https://www.kingletas.com/2012/07/varnish-implementation-hints-and-good.html</guid><description>&lt;p&gt;Sharing knowledge is always a good idea. Lately I have been doing lots of integration with Varnish and Magento with different clients and it will be interesting to find out if you have any ideas or suggestions (read improvements) to make it better and ultimately help the community even more:&lt;/p&gt;
&lt;h2 id="setting-up-varnish-in-switch-mode"&gt;Setting up varnish in switch mode:&lt;/h2&gt;
&lt;p&gt;In my home directory I always have a bash aliases (vim ~/.bash_aliases) file where I add the following iptable rules:&lt;/p&gt;</description></item><item><title>Magento 301 Redirects</title><link>https://www.kingletas.com/2011/02/magento-301-redirects.html</link><pubDate>Fri, 11 Feb 2011 09:10:00 -0500</pubDate><guid>https://www.kingletas.com/2011/02/magento-301-redirects.html</guid><description>&lt;p&gt;Did you ever want to create a redirect in a Magento Store without having to use htacess?&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;First you need to create the module, more on module creations here: &lt;a href="http://goo.gl/vvT2j"&gt;http://goo.gl/vvT2j&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description></item></channel></rss>