AWS OpsWorks

This is probably the first of a series of posts where I’ll try to explain my approach to deploying scalable applications with OpsWorks. More particularly, my goal is to cover the deployment of a fully-optimized Magento website. But first I’d like to share some words over why I’m choosing OpsWorks over the other application management services in the AWS cloud. At the... Read More →

◉ Posted by Gabriel Somoza & filed under AWS.

No Comments

onepica_imagecdn_ad576d8180b98e3d81c41c625f9ed9e6_op-magento_1

The OnePica_ImageCdn extension enables you to host the category and product image cache on a CDN or a separate server. It’s a great extension that worked out of the box when I tried it with Amazon S3. But our client was using ImageMagick for image manipulation instead of GD2 (which is unfortunately the standard). And OnePica_ImageCdn only supports GD2 at... Read More →

◉ Posted by Gabriel Somoza & filed under Magento.

No Comments

If you want to show only the state abbreviation (code) in the “State” drop-down in the Magento checkout (e.g. “NY” instead of “New York”) then follow these simple steps: Create an override of app/design/frontend/base/default/template/customer/form/address.phtml Find the first script tag around line 27 in the line that says something like echo $this->helper('directory')->getRegionJson(). Copy the code in the snippet below into the... Read More →

◉ Posted by Gabriel Somoza & filed under Magento.

No Comments

Here’s a documented list of useful Git tricks and aliases from my development box – hope someone  finds it useful! For more information on Git Aliases and other examples please visit this page and this other one. If you’re looking for good summary and history aliases you’ll find some useful ones here.

◉ Posted by Gabriel Somoza & filed under Everyday.

No Comments

Its been a great year: got happily married, bought a house, grew my company (Strategery), got better at speaking Dutch… Since this is probably my last post this year, I’d like to simply share some of the tools and libraries I’ve been using while working at Strategery. These tools and services have helped make my work-life so much easier and... Read More →

◉ Posted by Gabriel Somoza & filed under Everyday.

No Comments

Today I stumbled upon a jQuery-UI plugin that adds support for touch events to all your jQuery-UI widgets – out of the box! It’s so easy to install that it will give you the this-is-a-miracle feeling when you test it on a touch screen. It’s called jQuery-UI Touch Punch and was developed by David Furfero. It is worth explaining how... Read More →

◉ Posted by Gabriel Somoza & filed under Everyday.

5 comments

I recently faced the challenge of listing all parent IDs for a given Magento product. The solution – while definitely not overly complicated – wasn’t as straightforward as I first thought, and documentation in the matter is surprisingly scarce. So here’s how to get the parent IDs for a given product.

◉ Posted by Gabriel Somoza & filed under Magento.

13 comments

 PHP Kuler API Library

Over the weekend I decided to do some experimenting with CSS 3 fonts, shadows and transitions. I decided to use Adobe Kuler’s API to power my little PHP experiment. Adobe Kuler is a fantastic online color-picker, and more. You can create color themes based on an image, a color, engage with their community and interact through an API. The API... Read More →

◉ Posted by Gabriel Somoza & filed under PHP.

16 comments