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 gabrielsomoza & 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 gabrielsomoza & 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 gabrielsomoza & filed under Everyday.

3 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 gabrielsomoza & filed under Magento.

5 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 gabrielsomoza & filed under PHP.

16 comments

Serving dynamic content can be very useful, regardless of programming language or platform. In my personal experience the technique becomes particularly handy when I need to supply certain configurable information to a script. The following example shows how to achieve that in Magento. Its a common practice between Magento extension developers, especially for those extensions that are heavy on JavaScript.

◉ Posted by gabrielsomoza & filed under Magento.

No Comments

Here’s a bit of code I used while developing a custom module for a client’s shop. The module allows a Flash application to launch popups of any given product. There was a module the client definitely wanted to keep but that was interfering with my ability to close the popup when the client clicked the ‘Add to Cart’ button –... Read More →

◉ Posted by gabrielsomoza & filed under Magento.

2 comments

Working for a new client the offers a product through a Drupal-driven webpage, I just finished developing a Drupal module that displays a form to let any user effortlessly download the trial product (Ubercart). The module had to capture basic user information, perform validations, create the order and a new user account, link them together, purchase the order using the... Read More →

◉ Posted by gabrielsomoza & filed under Drupal.

4 comments