Using Composer on legacy projects

Composer LogoIt’s been a long time since my last post. But now, I’m back with something probably useful for you. Composer is around for a while but I was not able to find some time to work with it. We needed something like this in the company so I spent some time with it and moved our project to Composer enabled dependencies. You can (and should) definitely do the same.
Continue reading Using Composer on legacy projects

Drupal Sandbox Project: KMVC

As I always, I took my time to write another blog post. Again this one actually includes codes (but not here). I have started using Drupal for a project to a client. I was willing to work on Drupal for a while, but I never had the chance to look for it deeply or develop for it. Now I’m in with a sandbox module: Kmvc!
Continue reading Drupal Sandbox Project: KMVC

Why Software Design Matters

If you are in the software development business, I’m sure you have heard that “Design” is important and you should always design first and code later. This “belief” is not accepted by all anyway. I don’t blame them, because we can’t really make good designs most of the time, so why bother anyway? I will try to explain you why you should bother. I think the title of the article might have been, “When you shouldn’t Design Software” too. So keep up with me!
Continue reading Why Software Design Matters

How To Build a Framework From Scratch – Part 2

I’m sure you had thought that the first part was the last part, but you are wrong :). After reading the first part, I didn’t thought again and gave up on my framework project. And you are right there is no commit, yet :) But things are getting clearer with each passing week (yeah not based on days but weeks because I don’t really have a lot of time to spare for this). So let’s go on with the second part.
Continue reading How To Build a Framework From Scratch – Part 2

Meet you at Ozgur Web Gunleri at Yeditepe University

Özgür Web Teknolojileri Günleri 15-16 Ekim 2010 Yeditepe ÜniversitesiHey everyone, it’s been a while since I have last written something here. I will be giving a workshop at Ozgur Web Gunleri (Free Web Days) at Yeditepe University at 15-16 October about Zend Framework (yeah what else right :)

I will be explaining how to use Zend_Tool, how you can connect to and query a database by Zend_Db (yup, no Doctrine), how Zend_Form and its validators can be used and finally how you can log someone in using Zend_Auth.

These topics will complete a simple blog software which can be actually used minus the comments moderation (that will be a homework:). However I do not suggest you to use it in real life because of the performance and spaming issues (no captcha for comment adding for example (yes yes, another homework :))

It’s released with GPL unlike my other code examples which are actually kinda released with WTFPL license as they didn’t have one :)

You can download the code I will be using in the workshop from my github under zf-examples/zf-blog as always. You will also be able to get it from as soon as I can convince my colleague, opening a svn repo and a trac (yeah it will have a trac too in order to keep improving the sample and fixing bugs and errors) tooks just a minute or too :) Trac will be available at

See you at Yeditepe.

How to Create Custom Doctrine Models for Pluggable ZF Modules

Well, in my previous post, I had mentioned about “pluggable” modules for Zend Framework. They had their own, configuration files, controllers and views. However most generally, you also need database tables and models. So there should be a way to define them too. It’s easy if you are making your ORM manually. However for the ones who use Doctrine out there, things are not that simple.
Continue reading How to Create Custom Doctrine Models for Pluggable ZF Modules

Managing Your Extension’s Settings via Magento’s own Settings Page

I had mentioned about this in my previous post that I was about to explain how you can add your custom configuration tab to your module in Magento. You are on your way to find out how to do it! By the way, it’s the third blog post in one month (and second in a day!), I guess I won’t ever have such a spare time in months again so enjoy everybits of it :)
Continue reading Managing Your Extension’s Settings via Magento’s own Settings Page

Creating and Managing Zend Framework Modules

In one of my previous blog posts, there was a question related to the modular structure of the Zend Framework. Later the comments moved to the email and I suppose it will be nice to share what we talked in this blog too, so it becomes common knowledge :)
Continue reading Creating and Managing Zend Framework Modules

Creating Your Own Payment Gateway For Magento – Part 3

Well, after nearly a year, here comes the third part for the Magento payment gateway. If you have already forgotten about the previous two parts, go check here and here. What I will discuss here is how you can save your custom fields to the database and show them on the admin order page. Still I won’t get into the details of the payment as it’s pretty domain specific.
Continue reading Creating Your Own Payment Gateway For Magento – Part 3