Today I would like to make a small review about the book Magento Product Types: Developer’s Guide from Oleg Ishenko. I know Oleg since 3 years. He was my Chief Technical Officer at a Magento shop in Berlin. This book is not an introduction to Magento. With this book you will get deeper into product types of Magento. You will get a introduction to the core product types in Magento XML configuration. Every really interesting type is included Configurable Product Type, Bundle Product Type, Grouped Product Type and Downloadable Product Type. The author will show you after the core product types, how to create an own custom product type. Every Type has his own chapter and at least one tutorial with sample code in a git repository. Oleg also explains mostly every kind of configuration that Magento uses to define types. You should take a look at this book, if you want to know more about the complexity of products in Magento. And mostly everything revolves around products in e-commerce.
Second time that I run into the same issue with Vagrant. If you get a connection timeout warning like the following after vagrant up, this can have various reasons.
Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2222 (adapter 1) ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying...
The last days I wanted to install Gitlab and GitlabCi for a project. Gitlab is like a self hosted Github. And Gitlab Ci is the coolest thing ever. It’s Continuous Integration for Gitlab. Just in a few words, you run all your tests, mess detector, code sniffer and what ever after every push to your git repository. Incredible Shit.
My new ZTE Open C arrived and I just wanted to share some pictures. The last 3 month I used the Alcatel One Touch Fire and it’s a difference, like night and day. I have ordered it over the german ebay-shop of zte and I’m happy about my new 85€ smartphone.
I did start building Lesti_Fpc2. I always wanted a flexible and most compatible solution for Magento. That was never easy. So in Lesti_Fpc I did use the event controller_action_layout_generate_blocks_before as anchor. Just to explain, as anchor I mean the point were the Full Page Cache stops normal behavior of Magento and sends cached response. Normally you want to have this anchor as early as possible. My anchor was very flexible, but also not that fast as I expected.
I just was thinking about Fuzzy Search and why it isn’t possible in mysql. Sure there is SOUNDEX in Mysql, but that’s not what I want. I want search results from the Levenshtein distance. But Mysql didn’t has such a function. I guess the best solution would be a search server like SOLR or Elasticsearch. But on a shared hosting you haven’t such a cool thing. A possible solution is to return all results of the table and work with the levenshtein function of php. I guess in the most cases this is the best solution. But I just want to test an other way, I guess maybe a very stupid way.
The Welcome Message in Magento 1.7 is a problem for Lesti::Fpc. You can find the reason in app/design/frontend/base/default/template/page/html/header.phtml.
<!-- ... --> <p class="welcome-msg">< ?php echo $this->getWelcome() ?> < ?php echo $this->getAdditionalHtml() ?></p> <!-- ... -->
The welcome message is just a function of the header block. Lesti::Fpc needs the welcome message in a seperated block. In Magento 1.8 this is solved and the name of the block is welcome. In Magento 1.7 there is a semi-solution in core, we just have to give a little help.