Entries in the ‘Programming’ Category:

Writing You Own PHPUnit Listener

Well, in the company, Parkyeri, we have restarted to a crusade to cover all the code lines we had by writing unit tests.
As a PHP Developer, I’m taking the part where I have to write PHPUnit, the xUnit family which is developed for the PHP language. I had used it in the first version for [...]

Leave a Comment

Netbeans 6.5 and PHP Support

Well, a new feature has been added to Netbeans from now on. With the new release of 6.5, PHP support has been added and now we have an IDE which fully support code complete (including your own classes, methods, functions and variables), PHPDoc abilities(showing doc for your own classes) and, of course, debugger features. It’s [...]

Comments (2)

PHP Namespace Issue

First of all, I’m not against it. I do not understand why it does really matter what the namespace separator is.
What kind of difference will it create to use “/”, “\”, “:::”, “;;;”, “{{}}” or whatever. Well of course that I do not like to use a namespace like “thisisnamespaceseperator”. It must be easy to [...]

Leave a Comment

How to Customize Magento Product Page

I’m back with another tutorial about Magento. I’m not the best man you can find about Magento. But I’m trying to learn something from forums. The best you learn something is when you can explain it to someone else. So this is for that!
As I had mentioned in my previous post Magento is an open [...]

Comments (1)

Using Custom PHP Codes on Magento

Magento is one of the newest and awarded ecommerce application right now. And I seem to have a project launched nowadays about it.
Above the ecommerce part like adding/modifying products, it also has a built-in CMS. It looks quite useful. Not very powerful though.  It just evaluates html code and not php. In most of the [...]

Comments (12)

MySQL Full Text Search instead of LIKE

There are lots of information in the internet which you can find about full text search syntax of MySQL. A good tutorial is of course in the MySQL’s Documentation.The other informations you find are coming from there generally.
But something is missing. How can I make regular expression search using full text search engine! As the [...]

Leave a Comment

Code Smells

In recent days I have read an article about “Code Smells”. I was not aware of such a thing since then. I mean I was aware that people was writing bad code but I had not known there was a name for it. Anyway after reading the 3 part of the article at metapundit.net, I [...]

Leave a Comment

Some More Updates About Boop

Well as you may remember I was working on a cms named Boop for half a year now, at least that’s all I can remember, as I’m the only developer it takes time to get things going. I recently had time to spent with it and things are getting better and better.
Yesterday I have [...]

Leave a Comment

When writing code…

I know that I’m not the best developer you will find around, but during years I have learned a thing or two. The best advice I can give to you is to write modular codes or use classes. Try to re-use everything you have written, but while re-using, please do not copy paste the [...]

Leave a Comment