Tricks With Callbacks | Smart Coupon Sytem

Here's some food for thought.

I just integrated a coupons system in the new site and bumped into a bit of complexity challenge. I wanted to create something called like smart coupons that could set discount value dynamically based on buyer account age, buyer history, product age (discount for the first week and such), year period (holiday discounts) and so on. The complexity is not the problem ... it's just that I'm lazy and always looking for shortcuts.
Read the rest of this entry »

elWpAPI rFC Plugin Example | Blogroller

I updated elWpAPI and did a few things. Two fixes and the timeout increased to 15 seconds. I removed a htmlentities() that apparently was causing trouble to funky character languages and I added a new rFC plugin called BLOGROLLER. This is the big thing actually. Blogroller will expose several functions that can be called with 5ub.RFC. They will allow you to easily manage your blogroll.
Read the rest of this entry »