My “Week On StackExchange” Series takes a break at the moment because I don’t have not too much blog-worthy.
Instead, I’m starting something new again: Tips on a specific topic which you can read in 5 minutes maximum during coffee break. Mostly not by me, just found by me 🙂
I don’t try to make it a regular thing but I have a loose collection of useful stuff so why not use the blog to bring order into it and hopefully it’s also useful for others.
Let’s start with Magento Performance Tweaks, all with little effort and can be used without hesitation:
Continue reading “5 Minute Tips: Magento Performance Tweaks”
Today I present you a little commercial Magento 1.x extension I have been working on with my team at SGH:
It calculates estimated delivery date and shows the customer how much time is left to get the order on this date. This information can be shown on the shopping cart and on product pages:
Continue reading “Magento Extension: Estimated Delivery”
There was an interesting question on StackExchange recently that did not get much attention:
Magento collection has two methods for filtering:
Seems that both methods add where condition to
Zend_Db_Select. And what advantages does
addFilter bring? When should I use it instead of
I had to dig a bit into
addFilter myself because I was only familiar with
addFieldToFilter and here is what I found:
Link to the question: addFilter vs addFieldToFilter
Continue reading “Filtering Magento Collections: addFilter() vs. addFieldToFilter()”
Part 5 of my blog series on integer-net.com about framework independent code is out: Using Advanced Autoloading. This one is only relevant for the integration of legacy applications that do not use composer autoloading yet (Magento 1).
- Introduction: Shared Code For Magento 1 and Magento 2 Extensions
- Accessing Configuration Data
- Using Dependency Injection
- Building Bridges
- Preparing Data For Output
My new article series on integer-net.com introduces useful design patterns for decoupled Magento extensions, which are divided in two parts: the Magento module and a framework independent (framework agnostic) library, that is reusable for Magento 1 and Magento 2. Of course, the same principles can also be applied to other frameworks and applications.
It will not cover the refactoring process from existing extensions to this model, that’s a different topic and I am going to talk about it at Developers Paradise 2016 in Croatia. Stay tuned!
The first part is about accessing application configuration, using Configuration Value Objects.
Continue reading on integer-net.com →