Archive for the 'Technology' Category

new pecl/memcache is out with memcache.php

on Thursday, September 11th, 2008

I’ve just received news from Mikael Johansson that the new builds of pecl/memcache 2.2.4 stable and 3.0.2 beta is out with memcache.php

go grab your copy!

memcache.php flushes servers

on Thursday, August 28th, 2008

Your good comments from all over the world about memcache.php is amazing. Thank you all!

I’ve recently received a contribution from Michael Gauthier. I took the liberty to tweak a bit and now memcache.php can flush individual server (no flush all servers yet).

File is now updated and you can get it from here.

PS: I didn’t receive any feedback from pecl guys about my previous update. I’ll post this to them again. I’ll announce when this version is in pecl/memcache CVS.

memcache.php can delete keys now

on Wednesday, July 30th, 2008

I’m receiving great comments from everyone since I’ve posted my memcache.php script. Thank you everyone.
I’ve just finished updating the memcache.php to support key deletion.
File is now updated and you can get it from here.
It’ll be updated on the cvs of pecl/memcache soon.

enjoy.

memcache.php is now part of pecl/memcache

on Tuesday, June 3rd, 2008

I’m very happy to announce that memcache.php is commited to the CVS of pecl/memcache. Woot woot!

I’ll be maintaining the code through the time as well. Hope you guys/gals find it useful.

PS: I’m planning to add more functionality to the memcache.php in the coming days. Candidates:

  • Delete/Expire a cached value
  • Move stuff from server to server

Let me know if you have any other ideas.

memcache.php goes PECL

on Monday, June 2nd, 2008

After the suggestion by Lukas, I’ve contacted PECL/memcache authors Antony Dovgal and Mikael Johansson. Mikael sent me a reply accepting my submission.
I’m looking forward to the day that memcache.php will appear in the pecl/memcache distribution.
I’ll keep you posted.

Update on memcache.php:

  • Small bug fixed on parsing the bucket Ids.
  • Distribution license is now PHP license.

memcache.php stats like apc.php

on Wednesday, May 21st, 2008

For a long time I was looking for a nice web interface like the apc.php (comes with the apc’s source) that displays whole nine yards of stats. The only good tool is memcache-tool from the danga guys. It’s quite complete but I guess I’m too lazy to go on the command line.

Anyways, I decided to rip write my own. Totally based on the original apc.php (I even recycled some functions) and apart from completeness, here is a memcache.php that you can get stats and dump from multiple memcache servers.
Here is a screenshot:
Read more…

You Used PHP to Write WHAT?!

on Friday, February 1st, 2008

There is an article on PHP on CIO, bashing it a bit.

PHP may be the most popular Web scripting language in the world. But despite a large collection of nails, not every tool is a hammer. So when should it be used, and when would another dynamic programming language be a better choice? We identify its strengths and weaknesses.

For the ones, who doesn’t know about CIO, their target audience is managerial. not developers.
So potentially reader will be your manager and they’ll get this info as a reference.
I’m copy/pasting some parts of it for your convenience. Let’s assume your manager does not know about PHP (I hope not) and you’re about to convince him/her to use PHP on a project. What whould he/she think after reading this?

When should you use PHP?

  • Creating an intranet site.
  • Prototyping an application that will be converted to Java or some other language.
  • Creating a Web database application.
  • Deploying an inexpensive or quick solution.
  • Using ready-made apps from Sourceforge.net or other sites.

In general you should not use PHP:

  • Where data security is of high importance.
  • In Shell or automated scripted applications.
  • In enterprise applications where scalability takes higher precedence than economy.

What a short sight!?!? Kenneth Hess the author of the article, is also the new “On The Desktop” columnist for Linux Magazine. Honestly, I would not really expect these claims from Ken Hess.

Please share your comment.

Link: You Used PHP to Write WHAT?!

Nintendo Wii law suits

on Saturday, December 23rd, 2006

It didn’t surprise me to read, some guys are suing Nintendo for failing to include a non-defective remote control. As far as I got, it has something to do with the breaking remote straps which were recently replaced.
Here is a pic for the replaced straps :
Read more…

Blu-Ray wins over HD DVD

on Friday, October 21st, 2005

It is reported that entertainment media groups are accepting Blu-Ray.

slashdot reports

Spread The Word!

on Tuesday, September 27th, 2005

MySQL 5.0 RC is out. It’s so exciting for me to say that because waiting 3 years for MySQL 5 and finally we have an RC.

Wow. I wonder when the prod version will be out. They better release it soon. :)