Archive for the 'MySQL' Category

15
Feb

Magento Installation Guide for Dreamhost

I’ve been watching the Magento e-commerce project for about the last month and a half - since Ben sent me a link to it. It’s an open-source e-commerce package, that primarily aims to pickup and improve where OSCommerce, Joomla + VirtueMart, and ZenCart have left off - streamlining a CMS (Content Management Sytem) and E-commerce shopping cart. This also means built-in SEO (Search Engine Optimization), Google Checkout integration, varied customer groups, and much more…. straight out of the box. The problem appears to be that there are a lot of people on the Magento forums who are running into problems, and don’t have a clue on how to get it running under their Dreamhost hosting account. Unfortunately it also looks like the previous article(s) for Magento+Dreamhost installs have disappeared, or are outdated. And that’s where this article comes in… Continue reading ‘Magento Installation Guide for Dreamhost’

27
Sep

Creating Recursive SQL Calls for Tables with Parent-Child Relationships

Recursive SQL CallsI ran into an interesting problem today while considering how to find out where subordinate employees fit into an organizational chart. The problem was that I need to list every employee that was “under” a given employee, but could only really do this in SQL - if I were to try and do this from within PHP, it would have made a single exception case where we build an SQL query based on another query - something I’d rather not have to do. Let’s see if this little graph can more adequately describe what the issue was:

Continue reading ‘Creating Recursive SQL Calls for Tables with Parent-Child Relationships’




Close
E-mail It