Meet Me At Open Days in Bilgi University

Hey, It’s been a long time since I have written something to the blog. I’m a bit busy with my work and my studies at university.

I will be on the Open Days organized in Bilgi University, Turkey and will be doing a presentation about code review process and CRET -an open source code review tool developed by Kartaca.

There are lots of useful workshops and talks in the fest thanks to the efforts of LKD, Turkish Linux Users Association and Bilgi University.

I hope to meet you there, if you are available. Slides will be available on my site after the presentation however it will be in Turkish. Later I might prepare an English translation however I don’t think I will ever have time for it.

Creating a Doctrine CLI and Adding it to Zend_Tool

i will try to explain you how you can create a command which you can use on your command line to execute doctrine commands. This is the first part of the post. The second part is a bit fantasy. I have tried to integrate doctrine to Zend_Tool and wanted to call it like:

zf.sh generate doctrine sql

Actually, you don’t need such a thing. First part is pretty much enough for you. Second part is just for fun.
Continue reading Creating a Doctrine CLI and Adding it to Zend_Tool

Integrating Zend Framework with Doctrine ORM

Yet another how-to for Zend Framework. You can find a lot of integration how-tos around the web with googling and I maybe the just one of them. I’m trying to find the wheel again. This one is like my subversion how-tos, a self reminder first. So let’s cut the crap and get down to the business.
Continue reading Integrating Zend Framework with Doctrine ORM

Creating Your Own Payment Gateway For Magento – Part 2

So in my previous blog, I had mentioned about an admin panel and basic configuration for creating a simple module. This is the second part and I will try to explain you how you can implement your own payment gateway and getting the values we have set on the database. If you have not read the first part, go take a look.
Continue reading Creating Your Own Payment Gateway For Magento – Part 2

Creating Your Own Payment Gateway For Magento – Part 1

Yet another complex job explanation for people out the who are trying to figure out how they can connect their own countries’ bank payment gateways to their Magento installations. I love you guys, I understand you pain! This is a long post, so make sure you have enough time to read it and apply it. First part describes the admin panel and things like models and other things. Second part includes the definition of our own payment gateway. You might skip to the part 2 if you are familiar with these things.
Continue reading Creating Your Own Payment Gateway For Magento – Part 1

NetBeans 6.8 Has Symfony Support, Why Not Zend!

If you have not heard yet, NetBeans PHP developer team has just finished their support for PHP framework Symfony. You can read the whole stroy here. NetBeans PHP guys are really working hard for it!

So why I blog about this?! Because I see this as an opportunity. It’s great that NetBeans now has a great support for a PHP framework (even thought it’s experimental and “beta”) and since this was the most voted PHP framework, I hope the next release (6.9 maybe 6.8.5) of NetBeans will contain a support for Zend Framework too with as much vote as it can have! If you have read the whole article (jump to action! That’s cool!), you will notice that the first comment is when we will be able to see the ZF support in NetBeans. I second that!

So if you are interested on to see ZF becomes the second supported framework by NetBeans, just go the Zend Framework Support issue on NetBeans issue tracker and vote for it. It currently contains 87 (I hope it’s counting:) votes and if we can reach 100 or something it might be enough to a support for ZF too!

By the way, NetBeans 6.8 Milestone was quite a success for me and with Netbeans 6.8 Beta is on the way, wait for another review too. The most important asset for me is to be able to select a configuration file for phpunit runs (not much huh?) and of course PHP 5.3 support too (I wonder if it contains a migration assistant or a function like find backward incompatible functions in the project or shows a notification or something).

Just don’t forget to vote! :)

Optimizing Zend_Db_Table SQL Query Count for Multiple Reference Tables

Recently I have started to use Zend Framework for a new project in the company. I have designed my database tables and then created some models for my MVC with Zend_Db_Table. When I wanted to show a detail page for a row in a table which had 4 foreign keys, I needed to make some joins in the sql which I was unable to do and used findParentRow() method which was a huge miskate. That’s where the story begins.
Continue reading Optimizing Zend_Db_Table SQL Query Count for Multiple Reference Tables

Setting Up a Zend Framework Project From Scratch

I’m finally back with yet another tutorial about Zend Framework. It has been a long time since I last written because of the work load I currently have. So with the release of the Zend Studio 7.0 (or The Rise of Zend_Application and Zend_Tool), I have created a new Zend Framework Project with it. Just to see how the Zend_Application and Zend_Tool duo is working. And I can say that it’s pretty good.
Continue reading Setting Up a Zend Framework Project From Scratch

Impressions of PHP Development on Netbeans 6.7

Here is yet another review of Netbeans 6.7 Beta (I have not yet downloaded the release candidate). I have started to use daily Netbeans 6.7 and started to do everything I do with Netbeans, including remote development (sychronization) and debugging of PHP Scripts. Which you are used to these if you were using Netbeans 6.7 nightly builds. What you might not be familiar with are the unit test creation, code coverage plugin and subversion capabilities of Netbeans (or I have stopped using TortoiseSVN on Windows and shell on *nix)
Continue reading Impressions of PHP Development on Netbeans 6.7

Connecting Zend_Form to Multiple Controllers with Helpers

So in my previous post I have mentioned Zend_Form and some of the basic components and how you can use it. If you haven’t read that yet, than do and come back here. Or if you have the basic knowledge on what is and how Zend_Form works you can go on. In this post I will mention how you can use one form in multiple controllers.

Continue reading Connecting Zend_Form to Multiple Controllers with Helpers