Blog Posts

Creating an EAV based model(s) in Magento

Creating an EAV based model(s) in Magento

Magento database heavily utilizes an Entity-Attribute-Value (EAV) data model. However, the cost of flexibility is often complexity. The process of manipulating EAV data in Magento is often more difficult than manipulating flat relational tables.

All Magento Models inherit from the Mage_Core_Model_Abstract. Difference between simple Model or an EAV Model is its Model Resource.

To build a model with proper collection object in Magento you need 4 things Read more

3

Symfony2 caching Doctrine2 results

Symfony2 caching Doctrine2 results

CMSeter@sxc.hu

There are many options developer can use for speeding up web application. But you already knew that…
Let’s skip long introduction and show by example: Read more

0

Simple Helper class for Previous/Next Products in Magento

Simple Helper class for Previous/Next Products in Magento

One of the common requirements in Magento is to have prev/next product on Product Information page. Development logic there is simple, fetch current product id and take the one before and after that one and now you have previous and next products :) Remember that this will work per category only, since you will get list of products in current category.

Read more

1

Configuring Symfony2 to use APC cache

Configuring Symfony2 to use APC cache

mmagallan@sxc.hu

Symfony2 support several caching systems and one of them is APC cache.

This article is going to be short …. but, everything in Symfony2 is so developer friendly that do not require some huge knowledge to accomplish … Read more

0

Symfony2 custom config parameters

Symfony2 custom config parameters

cherrychil@sxc.hu

Sometimes we need to add some static configuration options inside our project that will be accessible from whole project scope. Read more

5

View product in frontend from Magento admin

View product in frontend from Magento admin

When you are editing some product in Magento admin and want to check it out in frontend of your Magento project, how do you find this particular product? Do you search for it, navigate to it using product url key or just browse to it? Well, however you do it, I’m going to give you the easiest way to get to your desired product in the frontend – view product link.
Read more

7

FOWD NYC 2011 – Day Two

FOWD NYC 2011 – Day Two

This post continues from the FOWD NYC 2011 – Day One post. We carry on with the presentations held on the second day of the Future of Web Design conference held in NYC.

Read more

0

FOWD NYC 2011 – Day One

FOWD NYC 2011 – Day One

Inchoo was very lucky to be at the “Future of Web Design” #FOWD conference this year in New York City and here’s what we experienced among some of the very best and talented in both web design and web development.

Read more

0

Symfony2 global variables in TWIG

Symfony2 global variables in TWIG

personalfx@sxc.hu

Except well documented TWIG functions like: path(),  asset(), … and custom variables you pass into view from controller when rendering some TWIG template, Symfony2 provides an easy way to access some ‘global’ variables inside TWIG templates without explicitly sending those to the view from controller. Read more

1

Create simple mobile ready search page

Create simple mobile ready search page

Idea is to create one page which will be ready for mobile devices and serve like mobile app. We will use google ajax search API and jQuery to enhance experience. Also we will have script which will notice visitors how to add shorcut for iOs devices and use search like standalone app. Read more

0