PDA

View Full Version : XMLHTTP Movie Search



Emancipator
08-14-2005, 08:08 AM
I am redoing my site search and am now using xmlhttp. For those not familiar all it is in very simple terms is me passing data back and forth from my database in php without a refresh.

You can see a sample I am working on here http://www.horror-movies.ca/horror-dvds.php try searching for zombie.

The application concept is, if its not on my top 150 list people can lookup where it is ranked. OR just find a movie. The search is by no means done or working 100% but the xmlhttp is.

Comments/reviews welcome, not even sure if this is the right spot, or if in the coding forum would have been a better choice.

ogito
08-14-2005, 10:31 AM
nice, but how browser compatible is XMLHttp?

Emancipator
08-14-2005, 10:34 AM
works in every browser. Google uses it for a variety of their new search applications and tools. Now with that said i am sure somebody can prove me wrong and find some browser I have never heard of and that 10 people in Alaska use, that it wont work for.

:)

I built the code for a real time php game map I am building and found it so usefull i put it in place on my horror site as a test.

AndyH
08-14-2005, 07:55 PM
I built the code for a real time php game map I am building and found it so usefull i put it in place on my horror site as a test.
That sounds interesting. How are you doing that? :)

Pulse
08-15-2005, 05:46 AM
I love it! My mate is going to teach me how he used this technonogy in one of his sites to display various maps/locations etc. In *theory* it should work in all browsers supporting the DOM. It might have trouble with browsers (netscape and ie) that use the pre W3 standard DOM, Im not sure what versions though though. Probably version 4 I reckon.

I think we're going to see alot more of this technology in the future.

Emancipator
08-15-2005, 06:33 AM
Pulse you got a link for what you are talking about?

Andy, the game map is live. So for example as people move around you and you move everything is shown live, no refreshing, no wierdness. Entirely powered by PHP, no flash or plugins. I imagine you can see the value.

Its basically the same principals as my search that I showed :)

AndyH
08-15-2005, 07:23 AM
I guess you mean that the other people moving around arn't programmed in, they are real life people?

Does the map update every second or close to that to show everyones position?

Does sound cool though - I always wanted to and maybe will some day make a multiplayer Pokemon kind of game in flash. :)

Emancipator
08-15-2005, 07:24 AM
yeah this doesnt use flash, its php and xmlhttp. The game map is live in the sense that as players move around you, build fortifications, attack you , you see it live.

AndyH
08-15-2005, 07:45 AM
Have you developed enough of it to PM me a screenshot of it? Sounds good.

Pulse
08-15-2005, 07:58 AM
Pulse you got a link for what you are talking about?


I'll ask him if it's ok, he works for the goverment so Im not sure if he wants it posted.

Emancipator
08-15-2005, 08:34 AM
Have you developed enough of it to PM me a screenshot of it? Sounds good.

A week ago I could have said yes, last night i stripped it down to try a new locational system that uses less overhead... in a few days i will.

Pulse
08-15-2005, 11:54 AM
http://www.waterscape.com/River_Thames/map

Click on the map, pretty impressive :)

ogito
08-15-2005, 01:12 PM
well.. this is flash... and not xmlhttp

Pulse
08-16-2005, 03:50 AM
Yeah ur right..he told me it was using a php/xml based backed but its just actionscript.

Edit:

It does use the same backend code as xmlhttp. But instead of returning xml it returns the data in strings (apparenlty)

Emancipator
08-21-2005, 03:05 PM
why would you use xmlhttp when your using flash? Not sure the value of doing that....