Blog

IMO PHP 5.4 trait feature worth all the troubles of upgrading an object oriented PHP code base

NEW Drupal Module : Entity Soft Delete (Entity Recyclebin/Trashbin)

Blog
Drupal

In multi user systems, it's usually much safer not to let users change the contents entirely in case there was a mistake or when it was needed to know what has changed by whom and revert the change if required. Drupal supports content revisioning and there are already some contributed modules that exploit this extremely useful feature like revisioning. However when it comes to content deletion, revision system can no longer be used because when a content is deleted, it gets removed from database entirely including all its revisions.

Entity soft delete module has been developed to address this limitation.

0
Your rating: None

NEW Drupal Module : Hook Post Action

Blog
Drupal

Currently Drupal core does not offer any hook to do actions after a node/entity is inserted/updated/deleted in Database. So for example you can not send an email mentioning the node after the node is inserted because Drupal uses SQL transactions and the node is not yet fully written to database when hook node presave is called so if for any reason the transaction is rolled back, users will receive a false mail.

So Hook Post Action module introduces several new Drupal hooks to overcome this limitation

0
Your rating: None

Yet another method to simplify making multipage/multistep Drupal forms

Blog
Drupal

In Drupal there are many different methods to turn long forms into multipage/multistep forms. The most known one is perhaps the great ctools module or even custom solutions using Drupal’s form API. However as you may agree with me none of these solutions are really that easy, specially when it comes to Ajax. Therefore many developers in Drupal community tried or still trying to find an even easier method. What I’m going to introduce to you is yet another magical method :).

4.75
Your rating: None Average: 4.8 (4 votes)

Drupal Module : Calendar Systems needs your help

Blog
Drupal

Calendar system requires a very tiny core patch to fully work, The patch was already proposed to core by a fellow developer, so i rewrote it to meet core requirements and set it to needs review (Thanks to Gaelan and wuinfo for helping in completing the patch). The good thing is that the patch is not only for Calendar Systems it's a generic patch that introduces a new hook to make it possible for third-party modules to alter format_date function. If we can get it into core it might even be possible to back port it to Drupal 7

You can read more about the history of calendar system module and even what a calendar system is

 

4
Your rating: None Average: 4 (1 vote)

Doing it in Drupal way : Merging all slider modules

Blog
Drupal

While ago i was looking for an slider module (implementation of JQuery UI slider module), surprisingly i couldn't find any solution except jSlider Form API which wasn't exactly what i was looking for. So i did what every good Drupal developer does, I wrote a generic slider module and shared it on Drupal.org (jQuery UI Slider Field). I even implemented "jSlider Form API" features.

Several months later and after i published several new minor versions, one of the users mentioned that there is in fact another slider module similar to mine!! SliderField and it was quite old too. He suggested joining forces to prevent duplicate modules. and that's what i did and even more.

5
Your rating: None Average: 5 (3 votes)

Drupal Module : image_style_argument

Blog
Drupal

Drupal has a very powerful image manipulation UI, so why write code when we can easily use that for any purpose?! The problem is we can't! The reason is image manipulation UI only accepts one argument which is the source image. All other parameters and options are static.

0
Your rating: None

What's my job!!!

Blog
Personal

It’s funny that whenever someone asks me what I do it takes me few seconds to respond. And the answer I give not at all describes what I do! I usually say I work in the computer field! Or I produce software!! But why ?

1.166665
Your rating: None Average: 1.2 (6 votes)

Getting ready for my fifth software development team

Blog
Programming

It was several years ago when i started assembling my first software development team, although i didn't have the experience i have today it was a success and the team delivered the expected result. Back then i didn't have any well thought work-flow and my decisions were mostly based on each particular case and experience. today however it's quite different and i take these task very seriously.

2.625
Your rating: None Average: 2.6 (8 votes)

Resumes keep coming back!!

Blog
It's interesting that most of the people who can't pass the interview and the technical test i designed start forwarding their resumes to every company (Including the one i work for) in about 4-6 months later!! It shows that only few companies in my country have proper recruiting process. They simply chat with the job applicants and hire them if they feel they're good!! Eventually after the damages they get and apply on them they have to fire them or them leave by themeselve.
0
Your rating: None