Basic folder structure for new Magento Extension

Share
Posted on April 17th, 2011 | Posted by admin

When I had first contact with Magento platform, I had to create a custom module for it. I thought to myself – how hard can it be? How wrong I was… I didn’t even know where to start…

Anyway, as I already knew the principals of MVC (Model – View – Controller) architecture, and had fairly good knowledge of object orientated PHP, all I needed was the basic file/folder structure for my custom module.

Just a small notice before I start: there are numerous tutorials / blog posts that explain the contents of those files, and therefore I won’t go into that.

Facebook Connect Magento Extension

Share
Posted on April 4th, 2011 | Posted by admin

We’re proud to present free Facebook Connect Magento extension which enables customers fast and easy registration and login with their Facebook identity. Demo and help page can be seen on our playground demo store, just click “Connect with Facebook” link in upper right corner.

Download Facebook-0.9.1.zip, extract files to appropriate place following directory structure, reload cache and navigate to http://www.yourstore.com/facebook/. You’ll be presented with more detailed help page.

For Facebook Connect to work you need to Setup Application on Facebook and obtain its API Key and Application Secret.

Magento FirePHP extension

Share
Posted on April 2nd, 2011 | Posted by admin

FirePHP is Firefox add-on that enables you to log to your Firebug Console, which makes it great debugging tool for any web developer. I’m using it, like it and can’t live without it for some time now  So here’s nicely packed Magento FirePHP extension, I believe you’ll be seeing it at Magento Connect in a while.

How to create Magento AMF server extension

Share
Posted on March 18th, 2011 | Posted by admin

I have been working on a project, in my own time, that involves Flex – Magento communication. I decided to test Adobe’s AMF format. In this article I will show you how easy is to create AMF server as an extension in Magento.

So, where to we start?

The idea is to have special Url which will act as AMF endpoint. Since Magento is built on top of Zend, this is extremely easy to do.

For your module to act as a basic AMF server you need only 3 files. MyCompany_MyModule.xml that goes under the /app/etc/modules/ folder. Then IndexController.php that goes under the /app/code/local/MyCompany/MyModule/controllers/IndexController.php. And last but not least the config.xml file that goes under the /app/code/local/MyCompany/MyModule/etc/ folder.

Page 4 of 4«1234