What is NumPHP?
NumPHP is my pretty small library in pre development status. I have build it after using Numpy in the university. I have missed some features like the multiplication of matrices in PHP. Sure, PHP is a language for the web and not for science, but sometimes it can be very helpful to solve problems with the calculation of matrices. Numpy can do a lot more and NumPHP hasn’t the claim to be used for science, but maybe it can be helpful to solve little problems on a webpage or to evaluate some user datas. I have called the current status pre developer, cause I just wanted to check if it would be possible and I just have implemented the most important functions for this little example. NumPHP is completely tested. Enough excuses.
Since two years I wasn’t on any magento confernce. That’s mostly because I’m a student and I haven’t enough money for big conferences. So today I would like to promote the Mage Unconference 2015 and this post is my contribution. The conference will happen at 7th and 8th March 2015 in Berlin. I have my ticket and it would be pretty cool to meet some people from the magento community, that I only know from there github avatars.
Pencil is a pretty nice open-source GUI prototyping tool. The only little problem for Debian user is, Pencil depends on Firefox and not on Iceweasel. If you want to bypass that problem very easy, you can download pencil as Firefox Extension. But if you want to use Pencil as native application you have to download the deb package and will see, that it depends on Firefox. Iceweasel and Firefox are the same things, but have different names. Here is a Wikipedia articel about Mozilla Corporation software rebranded by the Debian project. You can run dpkg also with –ignore-depends=firefox, but that isn’t a very good solution.
In Lesti_Fpc 1.3.2 I have added the possibility to edit the cacheTags and Parameters via an event. The idea of the Fpc was very clear and simple, but every day I get requests from developers with problems, that aren’t that simple. For example oblomovx wanted to Disable Cleaning of Categories after product save. Maybe 98% of all Fpc users didn’t need the possibilty to disable this functionality. Or riznmage wanted to Add AJAX parameter to make a differnce between requests that are made by ajax and normal requests. I can understand the need of such a thing, but on the other site I can’t implement every crazy idea or I just think that it is wrong to make a ajax request on a action that isn’t normally made for it. To let the Fpc simple, but also give those people the possiblity for there workflow I have made it like Magento. I have dispatched some events to work a little bit more advanced with the behavior of the Fpc.
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...
Using Gitlab Ci is pretty cool for testing. You just need to edit the build script under Build settings and can run your tests. For example PHPUnit tests.
Your tests will run and you will see if you get a success or a fail. All fine Continue reading Different Build Scripts for different Commits in Gitlab Ci