I tried CakePHP Search Plugin

Posted October 28th, 2010 in CakePHP, Database, MySQL, PHP, Programming, Projects by Louie Miranda

So, I tried CakePHP Search Plugin on my current project that I am creating for an e-commerce website.

The search plugin is an easy way to include search into your application. Using this plugin you will able to have paginable search in any controller. Plugin support simple methods to search inside models using strict and non-strict comparing, but also allows you to implement any complex type of searching.

I’ve search my products table and id use the following types parameter.

  • like, This type of search used when you need to search using ‘LIKE’ sql keyword.
  • value, This type of search very usefull when you need exact compare. So if you have select box in your view as a filter than you definetely should use value type.

Overall, it is a great plugin. Although, it did not fit my current requirements for now. :( .  But, I will definitely use it in my future projects.

Have a look here: http://cakedc.com/downloads/view/cakephp_search_plugin

CakePHP: Validate dependent field (select dropdown + input field)

Posted July 15th, 2010 in CakePHP, PHP, Programming, Projects by Louie Miranda

Earlier this week, I was working on a project where I needed to validate two dependent fields.

< ?php echo input('office', array('type' => 'select', 'options' => $nd[0])); ?>
< ?php echo input('office_other', array('maxlength' => '255', 'size' => '35', 'label' => 'Other Office')); ?>

The “office” field is a select (drop down box) from my data array(). What I needed is to be able to add another data from a field and name it as “office_other” where it would initially capture and re-list again new offices if it does not exist.

Continue Reading »

Found a very neat PHP File Upload Progress Bar/Meter

Posted April 2nd, 2009 in PHP, Programming, Projects, Technology by Louie Miranda

I’ve been looking for a good PHP File Upload Progress Bar/Meter on the web and found this very neat app. I am going to link it here for future reference.

http://www.johnboy.com/about-us/news/a-useful-php-file-upload-progress-meter

Continue Reading »

I am now trying Sphinx

Posted December 5th, 2008 in Database, MySQL, PHP, Programming, Projects by Louie Miranda

Sphinx is a free open-source SQL full-text search engine. I am currently trying it on some of my projects. Hopefully, this will speed-up my MySQL full-text search.

http://www.sphinxsearch.com/features.html

Limit feeds on simplepie using cakephp 1.2.x

Posted November 12th, 2008 in PHP, Programming, Projects by Louie Miranda

I am currently working on Simplepie and CakePHP 1.2.x. I have a working code that successfully display xml feeds from different remote sources, a sample can be viewed on my homepage. And, I can’t find how to limit it.

Continue Reading »

What's my IP address?

Posted October 13th, 2008 in Hosting, Internet, Projects by Louie Miranda

Want to know your IP address when you are online?

Go to: http://www.whatsmyipaddress.us/

Continue Reading »

Axishift in web hosting business?

Posted October 2nd, 2008 in Hosting, Projects by Louie Miranda

Hello World!

You probably saw my different splash screen over at www.axishift.com. I been on the Internet for quite sometime now and this became a work lab for me on all my projects ever since.

I’ve dreamed that someday, I am going to have my own Internet company (Start-up) and be good at it. I’ve worked for 7+ years in this Industry and I am continually enjoying!. My wife, family and some close friends did also helped me decide.

Well, I won’t spill all the beans just yet :) But, once I go live – I will surely inform you all.

Thank you for reading.

Louie

Prototype.js has SSL errors on IE7*

Posted September 3rd, 2008 in Programming, Projects, Technology by Louie Miranda

While working on our project using Lightbox2 we noticed an error on the page when using https://. While debugging the codes, it turned out that Prototype.js is causing the problem:

Security Information: This page contains both secure and non secure items. Do you want to display the nonsecure tiems?

I’ve Googled for solutions but did not find any. Until, I saw this trouble ticket site:
http://prototype.lighthouseapp.com/projects/8886/tickets/191-ssl-problems

At the end of the page:

I am now waiting for Prototype.js 1.6.0.3.

MAZDAtech Community!

Posted August 21st, 2008 in Cars, Personal, Projects, Social Networking by Louie Miranda

I became the webmaster of our car club MAZDAtech (formerly known as Protege Tech). Guys, thank you for trusting me.

I did upgraded the forum from phpBB2 to phpBB3! Hurray! :)

The new URL is http://mazdatech.org/community/