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 14 Feb
Commit: 48fe3652ffb644af13f4a5651f9d80474b09f622

Adding new ad image for Pledgie campaign - campaign image for coderkitty fundraising
  • favorited a lol 'Harry's tuxedo seemed a bit snug...' http://twlol.com/tw/..?a3294720768 #lol #ichc 2010-03-21
  • favorited a lol 'Invisible bike hits invisible scooter!' http://twlol.com/tw/..?a3302849280 #lol #ichc 2010-03-21
  • just updated "The world should know" post. 2010-03-21
  • Reggie: the doble-kara singer contestant in Pilipinas Got Talent, you are awesome! smile 2010-03-20
  • dear mama, i would give you anything you ask, do anything for you, as long as you make me cups of hot tea everyday. smile #fb 2010-03-20
  • LivingLife :: The Space Between: Ambient music takes me to a point of silence and peace inside my head.  Someti... http://bit.ly/cg52Sj.. #fb 2010-03-20
  • false hopes. 2010-03-20
  • @AdeMagnaye ahahaha. that just made me laugh tongue 2010-03-20
  • i miss JP sad :( :( 2010-03-19
  • frustration on books/ebooks and ereaders kicking in.. sigh. got to get my mind off them for now 2010-03-19
  • i am worth more than how you see me. my faith and belief in it is greater today than yesterday #fb 2010-03-19
  • nice.. http://bit.ly/dAr1Co.. 2010-03-19
  • There can be no happiness if the things we believe in are different from the things we do. - Freya Stark #fb 2010-03-15
  • LivingLife :: My first cabby receipt: Today seems a normal day.  I have good vibes for today.  smile  At first I f... http://bit.ly/cAZJiL.. #fb 2010-03-15
  • would you believe that Filipinos "trust" Lea Salonga second to Rosa Rosal (in Reader's Digests' Who do you trust poll)? weird. 2010-03-12
  • have you seen a chinese owl? i can't get this image out of my head: http://bit.ly/czilyD.. 2010-03-12