Free mini store search app in PHP and AJAX - for dummies

This is a very crude and very simple application which was for a demo purpose as requested by the client. I haven't been using PHP and (moreso) AJAX in over a year and a half already. This task was really more of a fun challenge that I cannot resist. I just wanted to see how long I can work on this and deliver what the client's requests were. Funny that this simple task was quoted to take 14 days of dev work, while it took me less than 5hours (since I was able to work on a CMS from scratch along with this all in 5hours of work time).

If you find yourself in need of a jumpstart, consider this the best freebie for you. Enjoy, and next time, give the client the correct estimates. It might save you both from hating each other and ruining possible future projects. wink

Read the rest of this entry

Category: Coding, Database Tags:  0 Comments »

Removing "out of sync" error in acts_as_solr

It could've been pretty straightforward removing this concerned item from the solr index and then everything would be well.. but its a lot harder than that if you're looking at over a thousand indexed elements vs their 'existing' counterparts in the database! Finding the exact data to remove was really the hardest part! I never knew this until I took the liberty of helping out our kind Infra Team to resolve the problem. I decided to tweak the solr parser method returning the "out of sync" error. I thought that it would actually be brilliant to just display the concerned element's id so that they could delete it from the index itself. And so, I had something like this: (in acts_as_solr/lib/parser_methods.rb) Read the rest of this entry

Sorting is a part of Searching

Anybody who has used the net for research or part of everyday work knows how to search. Searching is one of the key aspects of using the internet. With so many information out there, you might never find what it is exactly you're looking for if you don't know how to search. ..Not all sites that offer searching offers sorting. Isn't a wonder?.. Read the rest of this entry

Hi, I've been busy you know. wink If you don't know yet, this site and my blog codes are hosted in . I recently moved to Git and found that they have support for private Git repositories. Below are details of my last git push.

Maricris S. Nonato on 26 Mar
Commit: e734bd6878629223c5067326471d7ec0aac7d6e4

Updated display of ads and popular content