 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
WebReference.com: How to Create a Search Feature with PHP and MySQL
by Chris Cornutt August 07, 2008 @ 07:53:10
On WebReference.com today Ryan Butler has written up a tutorial of a simple search feature that can be integrated into any site (with their content in a MySQL database).
In this article, you'll learn how to create a searchable form feature that will query a database table and display current staff member information. During the analysis you'll learn how to do the following: create a database table that will hold current staff listings, create a search form and use PHP, in coordination with Structured Query Language (SQL) to capture information entered by the visitor and append the information to display the results we want to show.
They give you the files for the project and work through each, showing how to make the database, put information in and connect to the database to run the query. He opts for the LIKE functionality in the WHERE clause to find the term as a wildcard in the FirstName field. It's not the most efficient, but it can be useful.
voice your opinion now!
mysql search engine like wildcard tutorial
roScripts.com: PHP search engine
by Chris Cornutt March 30, 2007 @ 09:55:00
The roScripts website has a new tutorial that anyone just starting out to create a search engine with PHP and MySQL should get their hands...er eyes on. It steps through the creation of a simple PHP-based search engine, showing multiple methods to achieve the goal.
The right search engine on your website won't bring you more traffic but it will help your visitors to better locate things so it will keep them on your pages. A good search engine implemented can increase your hits with almost 30% and this is tested. I'm not talking just to have a tutorial.
The different methods the show how to implement include:
- using a straight LIKE on each word entered
- paring down those results using ORs on other columns too
- implementing the Porter Stemmer algorithm
- finding matches that contain the term but not only one part of it
- Full-text searches
It's a good overview of some of the basic steps to getting your own search up and running, but some of them, when applied to sites with larger amounts of data behind them, wouldn't be useful at all (slowness mainly).
voice your opinion now!
searchengine like fulltext match porterstemmer searchengine like fulltext match porterstemmer
Bitstorm.org: What I don't like about PHP
by Chris Cornutt May 26, 2006 @ 06:06:36
According to the reasons listed here, PHP isn't good for much more than just the smallish, more personal sites. It was originally written back in 2004, but has just been recently updated (April 2006) with a more current state of PHP.
I have been developing in PHP for six years now. PHP is very easy to program in. But PHP also has some serious flaws. Below I give some reasons why you have to do some serious thinking before implementing a large scale web application in PHP.
Some of the reasons they give include:
- Many PHP-modules are not thread safe
- Non-standard date format characters
- No Unicode
It's interesting to see how many of these reasons seem to be more of a preference than a real standard, and the "crippled for commercial reasons" comments are very interesting. Also, several of these will be addressed in the next version of PHP, version 6.
voice your opinion now!
php opinion don\'t like reasons small site large scale php opinion don\'t like reasons small site large scale
PHP Magazine: What Would You Like to See In PHP 6?
by Chris Cornutt March 13, 2006 @ 07:41:50
PHP Magazine has posted their results from a poll they took after the "PHP Developers Meeting" that happened in Paris about what developers would like to see in PHP6.
Following release of the PHP Developers Meeting in Paris (November 11th and 12th, 2005), the International PHP Magazine polled the community to find out What they were looking our for, the most, in PHP 6?
The results of the poll suggest almost an equal weightage to all of the points noted in the developer meeting minutes. Of the 809 members polled, 15-20% of the respondents were looking out for OO functionality changes, functionality cleanup, performance boost, Security enhancements, and unicode support, in that order. Only 7% were keen to see additions made to the PHP engine. Less than 3% clicked on the "others" option.
The votes were pretty close, with "Functionality" only barely edging out "Performance Boost". "OO Functionality Changes", however, topped the list with points to spare.
voice your opinion now!
php like to see in php6 poll results OO functionality changes php like to see in php6 poll results OO functionality changes
|
Community Events
Don't see your event here? Let us know!
|