Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 18:17
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  Web Services: XML, Soap, WSDL, UDDI, and Flash Integration (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Jorge Solis)
| | |-+  A very simple, single-file (.txt or .xml?) 'search engine
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: A very simple, single-file (.txt or .xml?) 'search engine  (Read 1806 times)
shawn gibson
Seasoned Programmer
***
Posts: 103

sgibson777@hotmail.com shawn.gibson@yahoo.com
View Profile WWW Email
« on: 10/21/02, 09:32 »

On a site I'm building for a client, he wants a 'search engine' of sorts for anyone who has paid to be in it.

My idea, is to make a single file that is updated as required manually, and have that single file search an given any number of criteria as entered by the person making the search request.

I'm guessing .xml might be the way to go, but I'm just learning that. Can anyone make any recommendations to me, as all I've seen are tutorials to search a whole site, or the internet, not just one file. Flash to php to xml...to php to Flash?

If it is helpful, the mockup of the SEARCH interface is at

http://members.rogers.com/shawn.gibson.photography2/rob/flash/search.html

(please ignore the silly little preloaders...good idea gone bad LOL).

Thanks all,
Shawn
Logged

If I can build this site, it will be like staring God in the eyes, as it's a challenge each step of the way far beyond me, but I am far beyond driven.
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #1 on: 10/23/02, 10:15 »

Hi Shawn,
as long you have little data, file/XML-File is allright.
XML is nothing else but a structured form of a textfile. If it comes to search, it is not faster than a normal textfile (rather slower because of the overhead).

Depending on the amount of data, you sooner or later need a database.

If you want a automated keyword generater, you cannot without a db.
If you think of amount of data, allways think of the worst case  Wink

Logged

happy flashing
Cool
Ronald
shawn gibson
Seasoned Programmer
***
Posts: 103

sgibson777@hotmail.com shawn.gibson@yahoo.com
View Profile WWW Email
« Reply #2 on: 10/23/02, 10:38 »

Worst case, thousands of entries (best case for the guy I'm making this for, and me if he ever decides to pay me:))

So is it then a case of using one database and php?

Thanks:)

Shawn
Logged

If I can build this site, it will be like staring God in the eyes, as it's a challenge each step of the way far beyond me, but I am far beyond driven.
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #3 on: 10/23/02, 10:54 »

Hi Shawn,
definatly a case for a database and a well planned datastructure.
If the data modell is perfect, the rest is (relativly) easy.
Logged

happy flashing
Cool
Ronald
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything