What annoys me about Zend Framework

zend_framework_bugI’ve been playing around with the Zend Framework for the last couple of weeks and I love the MVC methods and it’s very well structured and comes with full documentation (very much like CodeIgniter which I’ve used but CI lacked the sustenance for my projects which I desired.)…

So what’s so annoying you may ask?

What bugs me is the naming conventions of methods and functions… as I mentioned, I’ve been trying to get to grips with the framework over the last few weeks but progress is slow. What’s slowing me down? Remembering the naming conventions.

I understand that Zend are trying to create a framework that can be used by a wide range of developers by using verbose names but sometimes I feel they are clunky, unnecessary and hard to remember. Zend’s great for decoupling and using it in anyway you want but it also seems to be it’s own enemy with making simple tasks hard to comprehend.

I find that I am forever creating new classes each time I want to use a Validator or use my Auth functions… I still have a lot to learn, so many of these problems might be solved with a different approach (like extending the classes more). But I’ve yet to find the hidden tricks.

jQuery in WordPress

I am currently in the middle of coding my first plugin for WordPress when I came across my first stumbling block…
Why doesn’t my jQuery code work in the admin area of WordPress??

After some probing on Google, the answer was revealed to me. Basically WordPress doesn’t use “$()” for jQuery, that’s reserved for ProtoType, which is also bundled with WordPress. Instead you have to use “jQuery(‘field’).” in order to get it working.

This article explains it in more detail.

Who-Remembers-Me.com SPAM

Who-Remembers-Me.com has recently been spamming the hell out of my inbox lately. I’ve been getting more emails from them than anyone else within a week. It’s really starting to bug me!

Thankfully Yahoo mail blocks most of them and dumps them in spam, but one or two leak through occasionally offering my insurance, credit cards, pharmaceutical, fictional offers etc. You know, everything that spam is about…

It’s driving me mad! I just hope someone comes down on them like a tonne of bricks soon. They have already had an official complaint from the Advertising Standards Authority but that was back in 2006.

Another guy blogged about this problem too, and recently as well. It seems the amount of unsolicited spam from them has gone up this year and is causing major problems. I did what the guy suggested and reported them to their ISP which isn’t such a bad idea.

Posted in Rant Corner. Tags: , . 3 Comments »