Matt Williams

Tech, Gaming and Food Enthusiast

Follow me on TwitterRSS Feeds

  • Home

High level search with PHP and Apache Solr

Mar 18th

Posted by Matt in Searching

10 comments

When data sets get large and MySQL database querying to search become too load heavy and slow, full indexing is required. Several solutions are available but in this article I will be demonstrating the Apache foundations Solr Java Lucene implementation. For this a Java build will be required. Linux or Mac is less of a problem but for windows I use the Apache Tomcat server.

More >

Apache Solr, Indexing, PHP, Solr Java Lucene, Solr Service

Sorting table data with jQuery

Mar 18th

Posted by Matt in JavaScript

2 comments

A plugin for jQuery called “tableSorter” makes life so much easier when you wish to sort certain columns on a table, for example filtering a table to make total amount (£) ASC or DESC.

The only HTML markup requirement is to assign the table with an id or a class in this example I have created a table like this:

<table id="sortingTable">
</table

More >

ASC, DESC, HTML, Sorting

Extending CodeIgniter’s validation routines

Mar 16th

Posted by Matt in Code Igniter

5 comments

One of the primary issues that developers avoid is code repetition, especially when more that 3 instances exist. When developing I follow the guidelines best explained by:

If you do it more than 3 times, functionalise. If you do it more than 10 times, refactor.

My most recent project is built using the CodeIgniter (CI) framework which I was extremely impressed with. The level of abstraction and ability to extend makes CI a very appealing solution to any developer.

More >

Extending, UK, Validation

JavaScript – experience enhancer or dictator

Feb 18th

Posted by Matt in JavaScript

1 comment

A few days back it nearly ruined both my life and my sanity!

When I first started working as a commercial web developer the first idea that really hit me was the use of JavaScript and AJAX. My first senior developer always ranted on at me about ‘graceful degredation’ and I plodded along, blissfully unaware of the implications of ‘enhancing’ a website using JS.

The main issue that I was missing was that a very very very small percentage of users actually do browse with JavaScript disabled. “WHY WOULD YOU DO THAT?”, I thought. I fought for a long time with the idea that someone would actually purposefully disable a feature which makes browsing 10 times easier.

More >

AJAX, JavaScript, John Resig, JQuery, JS, UX
«123
    • Recent comments
    • Popular posts
    • Archives
    • Tags
    • Categories
    • Servers (1)
    • UX (5)
      • JavaScript (5)
    • Web Dev (10)
      • Code Igniter (4)
      • Searching (2)
    • Wordpress (1)
    AJAX Apache Solr ASC Bing Webmaster Central Blogs Code Igniter Codeigniter Database Consumer Key cropping Dariusz Debowczyk Deepliquid Jcrop DESC DOM Extending HTML Imagemanipulation Indexing IPN JavaScript John Resig JQuery JS Mobile One Webmaster Payments PayPal PHP Plugins POST resizing Searching Secret Consumer Key Sessions Solr Java Lucene Solr Service Sorting System Application Libraries TTL Twitter Tools UK USERAGENT UX Validation WAP WURFL
    • October 2011 (1)
    • February 2011 (1)
    • August 2010 (4)
    • April 2010 (1)
    • March 2010 (6)
    • February 2010 (1)
    • Integrating PayPal with PHP and IPN (18)
    • Implementing oAuth Twitter with Code Igniter (15)
    • High level search with PHP and Apache Solr (10)
    • Codeigniter Database session fix (8)
    • Ajax callback validation routines with CodeIgniter (7)
    • Cropping images with CodeIgniter and jQuery (7)
    • Extending CodeIgniter’s validation routines (5)
    • Sorting table data with jQuery (2)
    • Delving into Images with PHP, Exif and ImageSize – the not so secret art (2)
    • JavaScript – experience enhancer or dictator (1)
    • Qualities Of A Top SEO Company: Qualities Of A Top SEO Company... [...]Integrating PayPal with PHP and IPN | Matt Williams[...]...
    • Tattoo Art Design Galleries: Tattoo Art Design Galleries... [...]Integrating PayPal with PHP and IPN | Matt Williams[...]...
    • disneyland vacations: disneyland vacations... [...]Codeigniter Database session fix | Matt Williams[...]...
    • détatouage: détatouage... [...]Sorting table data with jQuery | Matt Williams[...]...
    • no credit check apartments rental in Houston TX: no credit check apartments rental in Houston TX... [...]Integrating PayPal with PHP and IPN | Matt...
    • Professional free tattoo removal in Philadelphia PA: Professional free tattoo removal in Philadelphia PA... [...]Integrating PayPal with PHP and IPN |...
    • trivia answers: trivia games... [...]Integrating PayPal with PHP and IPN | Matt Williams[...]...
    • singapore public speaking courses: singapore public speaking training... [...]Integrating PayPal with PHP and IPN | Matt...
  • A SHAMELESS AD

  • THE SEARCH

  • THE TAGS

    AJAX Apache Solr ASC Bing Webmaster Central Blogs Code Igniter Codeigniter Database Consumer Key cropping Dariusz Debowczyk Deepliquid Jcrop DESC DOM Extending HTML Imagemanipulation Indexing IPN JavaScript John Resig JQuery JS Mobile One Webmaster Payments PayPal PHP Plugins POST resizing Searching Secret Consumer Key Sessions Solr Java Lucene Solr Service Sorting System Application Libraries TTL Twitter Tools UK USERAGENT UX Validation WAP WURFL
  • THE ARCHIVE

  • A SHAMELESS AD