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

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

What I do?

It’s been a long time, since I ever wrote something to this blog. I’m currently developing a Java application (yikes!). Yet my heart still beats for PHP. My school has restarted after the spring break and with the “love of homeworks”, I really restarted thinking about writing a small PHP framework. The idea is to provide a lightweight, annotation based (not something very complex again), framework with an MVC architecture with some “tiny” features about Aspect Oriented Programming. It will provide a simple base for my homework, and yet perhaps it will be useful for someone else. Also finally, with this project I will be able to check out, lambda functions, annotations and aspects. My requirements and thoughts are not very clear at the moment (just some scratchings on how I want to use it) and as they are not ready, there isn’t anything I can show up yet. :)

Yet things does not end with above. I will probably visit many universities soon and talk about Kartaca, (my proud company!). Also I have some cool ideas I wish to talk about too like: “The Diary of a Project Manager: How I screwed up my last project!” :)

Yeah, as you noticed, this paragraph is not a conclusion. There is another interesting thing about more book reviews. Someone from Packt Publishing contacted me again about writing some reviews for two books they have published: Magento 1.4 Development Cookbook and Magento 1.4 Themes Design. As someone who has worked with Magento for a while, It’s actually great to review such books. They always teach me things I don’t know. As soon as I get some free time, I will write them and share them with you. Perhaps they might help you too.

For the tinypi framework, you can checkout my github, or directly here. Don’t expect anything yet.

Until next time (I hope it won’t be months again:), expect to see me at your “local” university :)

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