You are here: searching and sorting « PHP « IT news, forums, messages
searching and sorting

Posted by Brian A. Anderson on 01/18/05 22:46

I am new(relatively) to php programing and searching. I am trying to
understand the best way to access data and deliver results to searches on a
product catalog website.

I have two kinds of data that I am sorting and displaying results for. The
first is info about specific products, and the other is text based general
information, notes, and specials that will be stored in a database as well.

My question is what is the best way to format and sort all of this info
before results delivery.

I am thinking of incrementally adding the resultant hits into two
associative arrays with the link to the data and a calculated relevance
value, and sorting this array by these relevences. One array would be for
text data links and another would be for catalog item links. If I have two
arrays(sorted), than I could display them like Amazon.com does with products
in the main display area(with pictures), and text links to the side.

Am I thinking of an efficient way to go about this, or not? I wonder if
anyone has more experience, or some suggested resources in understanding
building good search building? I would like to find such a book or resource
that maps out good search and results procedures.


-Brian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация