<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1043254" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1043254</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Thanks guys...I&#039;m doing a</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/search-functionality-within-site#comment-1239237</link>
    <description> &lt;p&gt;Thanks guys...I&#039;m doing a lot of reading and I&#039;m sure I&#039;ll have questions in the near future!  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 10 Mar 2009 18:20:13 +0000</pubDate>
 <dc:creator>newperson</dc:creator>
 <guid isPermaLink="false">comment 1239237 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The links Decibel gave are</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/search-functionality-within-site#comment-1239170</link>
    <description> &lt;p&gt;The links Decibel gave are good for you to start with, I would also like to mention &lt;a href=&quot;http://www.tizag.com&quot; title=&quot;www.tizag.com&quot;&gt;www.tizag.com&lt;/a&gt;. It&#039;s &quot;as good as&quot; w3schools, but using both simultaneously can help as the slight difference can be enough for you to grasp something difficult.&lt;/p&gt;
&lt;p&gt;____&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;decibel.places&lt;/em&gt; wrote:&lt;/div&gt;where are you getting this Drupal argument, from drupal.org?&lt;br /&gt;
&lt;/div&gt;http://drupal.org/node/21809&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;decibel.places&lt;/em&gt; wrote:&lt;/div&gt;don&#039;t worry, greg and I disagree about lots of stuff about which we are usually both right :P&lt;/div&gt;Hmm, I don&#039;t think so, probably have to disagree with you on that one.... &lt;img src=&quot;http://www.smiley-faces.org/smiley-faces/smiley-face-whistle-2.gif&quot; alt=&quot;whistle&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 09 Mar 2009 11:56:20 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1239170 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>@newperson,
don&#039;t worry,</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/search-functionality-within-site#comment-1239152</link>
    <description> &lt;p&gt;@newperson,&lt;/p&gt;
&lt;p&gt;don&#039;t worry, greg and I disagree about lots of stuff about which we are usually both right &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/tongue.png&quot; title=&quot;Sticking out tongue&quot; alt=&quot;Sticking out tongue&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;there are lots of Drupal books (but I cannot recommend any in particular), good video tutorials on lynda.com and more on drupal.org &lt;a href=&quot;http://drupal.org/handbook/customization/videocasts&quot; title=&quot;http://drupal.org/handbook/customization/videocasts&quot;&gt;http://drupal.org/handbook/customization/videocasts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;there is also a Drupal Cookbook for Beginners, a good place to start &lt;a href=&quot;http://drupal.org/handbook/customization/tutorials/beginners-cookbook&quot; title=&quot;http://drupal.org/handbook/customization/tutorials/beginners-cookbook&quot;&gt;http://drupal.org/handbook/customization/tutorials/beginners-cookbook&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Don&#039;t forget to look at Drupal Taxonomy (Categories) &lt;a href=&quot;http://www.w3schools.com/php/php_mysql_intro.asp&quot; title=&quot;http://www.w3schools.com/php/php_mysql_intro.asp&quot;&gt;http://www.w3schools.com/php/php_mysql_intro.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and The Power of Drupal Categories &lt;a href=&quot;http://digitalsolutions.ph/couchkamotereviews/power_drupal_categories&quot; title=&quot;http://digitalsolutions.ph/couchkamotereviews/power_drupal_categories&quot;&gt;http://digitalsolutions.ph/couchkamotereviews/power_drupal_categories&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regarding learning databases and MySQL, take a look at W3Schools SQL tutorial &lt;a href=&quot;http://www.w3schools.com/sql/default.asp&quot; title=&quot;http://www.w3schools.com/sql/default.asp&quot;&gt;http://www.w3schools.com/sql/default.asp&lt;/a&gt; and PHP/MySQL &lt;a href=&quot;http://www.w3schools.com/php/php_mysql_intro.asp&quot; title=&quot;http://www.w3schools.com/php/php_mysql_intro.asp&quot;&gt;http://www.w3schools.com/php/php_mysql_intro.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If anything comes up, come back and ask! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 08 Mar 2009 22:42:36 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1239152 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>greg and decibel.places,</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/search-functionality-within-site#comment-1239149</link>
    <description> &lt;p&gt;greg and decibel.places, thank you for your responses!&lt;/p&gt;
&lt;p&gt;As I&#039;ve never built a database or dealt with Drupal, I will have to take some time to study up on both.  I take it if I choose to create a database that I could use MySQL?  I&#039;ll have to get a book on that then.&lt;/p&gt;
&lt;p&gt;Also, on a separate tangent:  I have dealt with Simple Machines Forum (SMF) software in the past, along with using TinyPortal as the portal.  So, my idea was to have a message board (with its own search capabilities just within the board as SMF does), and use TinyPortal to create these other pages around the SMF software, and then have a search functionality for these other pages...  Is this even possible?  And if it is, what should I start with?  I guess with SMF and creating search funtionality within the site, I would have two separate databases? And somehow integrate this second database...?&lt;/p&gt;
&lt;p&gt;Any book recommendations where I can begin to digest this stuff?&lt;/p&gt;
&lt;p&gt;Again, thank you for the replies.&lt;/p&gt;
&lt;p&gt;-newperson&lt;/p&gt;
 </description>
     <pubDate>Sun, 08 Mar 2009 19:22:54 +0000</pubDate>
 <dc:creator>newperson</dc:creator>
 <guid isPermaLink="false">comment 1239149 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>greg wrote:

decibel.places</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/search-functionality-within-site#comment-1239146</link>
    <description> &lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;greg&lt;/em&gt; wrote:&lt;/div&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;decibel.places&lt;/em&gt; wrote:&lt;/div&gt;Instead of worrying about database architecture, use Drupal&#039;s Taxonomy feature&lt;/div&gt;You say that as if Drupal makes everything easy, arguably &quot;easier&quot; perhaps, but not easy.&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Which is easier, configuring a CMS like Drupal or learning to run custom queries on a custom database?&lt;/p&gt;
&lt;p&gt;Yes, there are some situations where I might roll my own site, but that requires a steeper learning curve than using Drupal.&lt;/p&gt;
&lt;p&gt;I did not recommend Drupal automatically - but rather as a quite specific solution for this question.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;greg&lt;/em&gt; wrote:&lt;/div&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;Drupal.org - &amp;quot;Rolling your own system&lt;/em&gt; wrote:&lt;/div&gt;Drupal.org - &quot;Rolling your own system vs. using Drupal wrote:&lt;/p&gt;
&lt;p&gt;...it is fairly easy to roll your own modules. This is typically done by making a file with some functions implementing certain hooks in addition to other functions.&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;How is making files and functions and hooks &quot;EASY&quot; to someone who doesn&#039;t code?&lt;br /&gt;
It&#039;s not really a point and click then is it?&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;where are you getting this Drupal argument, from drupal.org?&lt;/p&gt;
&lt;p&gt;I do not think any custom hooks and functions are required for a straightforward taxonomy structure - just a little logic.&lt;/p&gt;
 </description>
     <pubDate>Sun, 08 Mar 2009 17:43:46 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1239146 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Drupal.org -  &quot;Rolling your</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/search-functionality-within-site#comment-1239141</link>
    <description> &lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;Drupal.org -  &amp;quot;Rolling your own system vs. using Drupal&amp;quot;&lt;/em&gt; wrote:&lt;/div&gt;A reason for rolling your own system might be to have it fit your needs exactly. However, Drupal is designed to fit a range of needs...&lt;/div&gt;Which just cries out - &quot;Code installed that you wont ever use&quot;.&lt;br /&gt;
So it might have loads of stuff built in, but in its own argument it&#039;s not as good as hard coding.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;decibel.places&lt;/em&gt; wrote:&lt;/div&gt;Instead of worrying about database architecture, use Drupal&#039;s Taxonomy feature&lt;/div&gt;You say that as if Drupal makes everything easy, arguably &quot;easier&quot; perhaps, but not easy.&lt;/p&gt;
&lt;p&gt;People keep piping that Drupal/Wordpress etc can save you the hassle of coding a site, but it&#039;s not just as simple as &quot;it&#039;s an alternative to those who can&#039;t and don&#039;t want to code&quot;.&lt;br /&gt;
Out-the-box it&#039;s not an alternative if you have specific requirements, or have to add modules, or style templates. There is still a large learning curve for its usage.&lt;/p&gt;
&lt;p&gt;Styling is still to be hard coded, yes there are templates available and easy to install, but then your site looks like someone else&#039;s site.&lt;/p&gt;
&lt;p&gt;It&#039;s not as flexible out-the-box as hard coding your own site.&lt;br /&gt;
It can be, but you then have to code your own modules which have to be tested and security checked, and then not only do you need the ability to hard code as well as learn Drupal, but you have to apply your code to work correctly WITH Drupal....&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;Drupal.org -  &amp;quot;Rolling your own system vs. using Drupal&amp;quot;&lt;/em&gt; wrote:&lt;/div&gt;...it is fairly easy to roll your own modules. This is typically done by &lt;strong&gt;making a file with some functions implementing certain hooks in addition to other functions.&lt;/strong&gt;&lt;/div&gt;How is making files and functions and hooks &quot;EASY&quot; to someone who doesn&#039;t code?&lt;br /&gt;
It&#039;s not really a point and click then is it?&lt;/p&gt;
&lt;p&gt;I know there are pre-coded modules, but they might not fit your exact requirements, even if they do, they have to be installed, and modules and Drupal itself have to be updated and managed.&lt;/p&gt;
&lt;p&gt;Don&#039;t forget, it might be easy for you, and you could install Drupal modules and make sites with Drupal in your sleep, but to someone else it&#039;s not that simple. &lt;/p&gt;
&lt;p&gt;I do agree that Drupal is great, and I don&#039;t want to put you off it &lt;strong&gt;newperson&lt;/strong&gt;. I truly am not biased against Drupal and it can make life easier, and out-the-box it will serve the purpose for most people.&lt;br /&gt;
I just wanted to explain the reality of using Drupal, any CMS for that matter. &lt;/p&gt;
&lt;p&gt;You certainly should consider it and investigate the option.&lt;/p&gt;
 </description>
     <pubDate>Sun, 08 Mar 2009 16:07:00 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1239141 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>al ... Drupal ... Drupal ...</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/search-functionality-within-site#comment-1239139</link>
    <description> &lt;p&gt;al ... Drupal ... Drupal ... Drupal ... Drupal ... Drup&lt;/p&gt;
&lt;p&gt;This would be a good situation to use Drupal&lt;/p&gt;
&lt;p&gt;Instead of worrying about database architecture, use Drupal&#039;s Taxonomy feature (for tree-like category structures) &lt;a href=&quot;http://drupal.org/handbook/modules/taxonomy&quot; title=&quot;http://drupal.org/handbook/modules/taxonomy&quot;&gt;http://drupal.org/handbook/modules/taxonomy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Faceted search provides great filtering &lt;a href=&quot;http://drupal.org/project/faceted_search&quot; title=&quot;http://drupal.org/project/faceted_search&quot;&gt;http://drupal.org/project/faceted_search&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google Custom Search is pretty good too &lt;a href=&quot;http://drupal.org/project/google_cse&quot; title=&quot;http://drupal.org/project/google_cse&quot;&gt;http://drupal.org/project/google_cse&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 08 Mar 2009 14:31:35 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1239139 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>It would really depend very</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/search-functionality-within-site#comment-1239136</link>
    <description> &lt;p&gt;It would really depend very much on your site structure and content.&lt;br /&gt;
Here is a basic idea and usage of a database with all your content data in it, and how it allows users to search for that data...&lt;/p&gt;
&lt;p&gt;There could be anomalies/flaws in the following structure/advice, but as you are asking the basics, I&#039;ve just quickly written some examples to give you a basic idea of the way it&#039;s all done.&lt;br /&gt;
You will need to plan more carefully the layout of the database and tables.&lt;br /&gt;
(I state quickly written..but it&#039;s turned out more like a huge tutorial..)&lt;/p&gt;
&lt;p&gt;Say we make a Database with THREE tables.&lt;br /&gt;
____________________&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TABLES:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Table - &lt;strong&gt;ACTORS/ACTRESSES&lt;/strong&gt;&lt;br /&gt;
In there you would have things like: ACTOR_REF - NAME - AGE - TOTAL_FILMS - AWARDS - DETAILS&lt;br /&gt;
&quot;DETAILS&quot; would be a text field, with things like &quot;This actor started his career in 1978, in a film called..&quot; etc&lt;/p&gt;
&lt;p&gt;Table - &lt;strong&gt;FILMS&lt;/strong&gt;&lt;br /&gt;
In there you would have things like: FILM_REF - FILM_NAME - FILM_TYPE - RELEASE_DATE - AWARDS - DIRECTOR - DETAILS&lt;/p&gt;
&lt;p&gt;Table - &lt;strong&gt;FILMS_ACTORS&lt;/strong&gt;&lt;br /&gt;
This would be a list of all ACTORS/ACTRESSES and the films they have been in&lt;br /&gt;
ACTOR_NAME - ACTOR_REF - FILM_NAME - FILM_REF&lt;/p&gt;
&lt;p&gt;the xx_REF in each table allows you to match certain things from one table to another.&lt;br /&gt;
So getting ACTOR_REF from ACTORS/ACTRESSES table, you can use the ACTOR_REF to search the FILMS_ACTORS table for all films that actor/actresses has done.&lt;br /&gt;
Same with FILM_REF. Searching the FILMS_ACTORS table with that ref gets all the ACTORS in that FILM.&lt;br /&gt;
____________________&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SEARCHING:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Immediately you have searchable fields:&lt;br /&gt;
Search the &lt;strong&gt;FILMS&lt;/strong&gt; table:&lt;br /&gt;
- list all where FILM_TYPE = &quot;action&quot;.&lt;br /&gt;
- list all where AWARDS = &quot;BAFTA&quot;.&lt;/p&gt;
&lt;p&gt;You can allow users to choose from multiple search criteria:&lt;br /&gt;
list all where FILM_TYPE = &quot;action&quot; AND AWARDS = &quot;BAFTA&quot;&lt;br /&gt;
Results - All action films that won a BAFTA award&lt;/p&gt;
&lt;p&gt;Another useful one:&lt;br /&gt;
Search the &lt;strong&gt;FILMS_ACTORS&lt;/strong&gt; table:&lt;br /&gt;
list all where NAME = &quot;harrison ford&quot;&lt;br /&gt;
All films he&#039;s been in.&lt;br /&gt;
Would access the FILMS_ACTORS table, get all rows that matched &quot;harrison ford&quot; and list each film he has been in.&lt;/p&gt;
&lt;p&gt;____________________&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SHOWING RESULTS AND LINKS TO AND FROM FILMS AND ACTORS&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can have two pages, one that shows FILM details, and one that shows ACTOR details.&lt;br /&gt;
ACTOR: actor_data.php&lt;br /&gt;
FILM: film_data.php&lt;/p&gt;
&lt;p&gt;When a user searches, for example all films with harrison ford in, it would search the FILMS_ACTORS table and get all data.&lt;br /&gt;
The result would be: NAME - HARRISON FORD, and a list of all films found in the table.&lt;/p&gt;
&lt;p&gt;Each of his films listed would be a link to the page (film_data.php) that would show data for that film.&lt;/p&gt;
&lt;p&gt;Say the FILM_REF obtained from the FILMS_ACTORS table search was XYZ, clicking that film (link) would go to film_data.php and send the &quot;XYZ&quot; in the URL.&lt;br /&gt;
(link would look like film_data.php?film_ref=XYZ. Of course XYZ would be a variable as it could be any ref from any film)&lt;/p&gt;
&lt;p&gt;film_data.php would get the &quot;XYZ&quot; from the URL, search the FILMS table, match XYZ to the film row and list all data for that film.&lt;/p&gt;
&lt;p&gt;On that page (film_data.php) the page would show all actors, and all actors names for that film. Each name would be a link to actor_data.php page to show details for that actor.&lt;/p&gt;
&lt;p&gt;The actor links would work the same as the film links -&lt;br /&gt;
The link would be the ACTOR_REF from the DB search,the URL data (ABC). Then the actor_data.php would get the URL data, search the ACTORS_ACTRESSES table, match ABC and display all data for that actor/actress.&lt;/p&gt;
&lt;p&gt;And AGAIN, all films listed would be links to the page to show film data for that link.&lt;br /&gt;
Linking ALL data together and all accessible, clickable and searchable!&lt;/p&gt;
&lt;p&gt;____________________&lt;/p&gt;
&lt;p&gt;Sounds complicated, but once you get rolling it really all falls into place.&lt;/p&gt;
&lt;p&gt;So from that you can see the sort of thing you need to do.&lt;br /&gt;
REALLY plan and design it on paper first though, it&#039;s a pain changing tables, field etc each time you think of an improvement or addition.&lt;/p&gt;
&lt;p&gt;Also, view other similar sites to see what they provide&lt;/p&gt;
&lt;p&gt;Think about questions like the following and make a list for each of them.&lt;br /&gt;
 - What data / content will you provide? - film name, film plot, etc&lt;br /&gt;
 - What do you want to allow users to search by? - actor name, film type, etc&lt;br /&gt;
 - What options in the search do you want to provide? - search by all/any, list by order of date, alphabetical first/last name, etc&lt;/p&gt;
&lt;p&gt;Once you have on paper what information you will provide for each film and actor, then you can design a database to house it all. Designing the DB with the search options in mind of course.&lt;/p&gt;
 </description>
     <pubDate>Sun, 08 Mar 2009 13:01:22 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1239136 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
