Dev Talk

PHP 7 and Magento – a quick overview

ninja_novi

There is “this language” which runs more than 50% of the Internet. Some say over 80, and who knows what is the most accurate data anyway. Given the fact that the language we’re talking about runs WordPress, Drupal, Magento and alike, it’s not hard to believe there’s a major hype around the newest edition.

PHP 7 is here and it’s more than popular – for a reason!

Read more

Magento without an IDE? Say hello to Sublime!

tools_sublime

We are all aware of the Magento codebase size and its complexity. That is one of the reasons most people use full-fledged IDEs for Magento programming. Most answers regarding the “what IDE should I be using for Magento?” or “what is the best Magento development environment?” include big boys like Eclipse, NetBeans and PhpStorm. Since you’ve already read the title, you may be wondering: “what can a text editor like Sublime Text offer me for my Magento development?”. Vanilla installation? Not much, but with the help of a few plugins, well… Keep reading and you just may be in for a treat.

Read more

Using Redis cache backend and session storage in Magento

Redis Logo

Combined with the power of Zend Framework, Magento currently supports many cache backends with file system, APC and Memcached being the most widely used. Every supported cache backend brings it’s own set of upsides and downsides, but since there’s a lot to choose from, one could easily assume that as far as cache backends are concerned, Magento is very well covered. To some degree this might be true, but when you seriously up the number of requests, none of the cache backends scale well. Besides poor scaling, some of the cache backend implementations also suffer from serious limitations like not having support for grouping of related cache entries, a.k.a. tagging. With this in mind, and in order to provide support for stable and scalable cache backend, latest versions of Magento are turning to Redis key-value store. In this article I’ll do my best to describe process of implementing Redis as cache and session backend with recent versions of Magento Community and Enterprise Edition.

Read more

CouchDB for PHP developers – CRUD

couchdb_1

Apache CouchDB™ commonly referred to as just CouchDB is an open source NoSQL database that uses JSON for storing data in form of documents, JavaScript as its query language using MapReduce queries, and regular HTTP for an API.

Read more

Easily manage LAMP name based virtual hosts

lamp-vhost-manager

I’ve been developing inside LAMP environment since the day one of my web development adventure. Reason for this is that all of the web development tools like web server, database management system, source code revision control systems are at home when I log into the Linux powered workstation. Of course there are some downsides to developing inside LAMP, most importantly the sheer complexity of LAMP environment configuration. With this in mind I’ve created tool designed to simplify management of name based virtual hosts on Debian based Linux operating systems. In this article I’ll give my best to provide an overview of this tool and present you with a few clear examples illustrating its usage.

Read more

Consuming Magento REST service using Zend_OAuth_Consumer

ZendConsumer

Ok folks. Until today, trying to cover this area completely, I wrote two articles about Magento oAuth and REST services:

This Magento REST and oAuth functionality and ways on which it could be used are so wide that I think that even in this three articles will not cover everything that I wanna share with you, so stay tuned for next articles about this topic in near future 🙂

Read more

Git deployment

gitd.1

This article shows proof of concept for git deployment.

It is completely irrelevant where do you host your code as long as you actually do have git repository 🙂

It is not meant to be used in production environments unless you are aware what it does exactly.

Read more

(Not only) Magento .gitignore generator

gitignoreImage © SteveFE@sxc.hu

Most of the time developer will add all Magento source files inside the git version control. It is much easier that way to track any change or even deploy the files on server by executing git pull.

But sometimes it is completely unnecessary to track all files and developer would like to track only few specified files and folders under web root, for example when developing Magento extension for Magento Connect.

Read more

Finally! We can vote for User Contributed Notes in PHP manual

php

Vote up or Vote down? That’s the question 🙂

Even tho we learned so much from the PHP manual and from user comments I believe that we all saw some comments/examples that doesn’t deserve to be placed there. From before several minutes we are able to vote up/down. This missing feature for all those years is finally here!

I’m hoping that comments that will have huge “-” (“Vote down!”) will be removed from PHP manual, because reading them is waste of time. Also I hope we will be able to sort users posts by rates.

Read more