FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Javascript vs PHP (or python?) - unicode text file search

 


grashopa
I have a lot of Chinese language text files I am going to be doing searches on.. For example a user selects an article with 500 words. I will then search through thousands of articles(text files) attempting to find ones with similar content. IE parse all words out, and find another article that uses the same words.

I have an application written in python that does this, but need a web app.

Can I easily use my existing python code?

Javascript or PHP ? who handles unicode searching well/easily? Performance?
LukeakaDanish
Performance wise you should definitely go for a php + ajax solution. Javascript only is almost impossible to do (accessing remote files is possible, but slow (it would have to load the "thousands of articles" before searching in them)) and also very slow (javascript is not meant to do heavy processing jobs realy..)

PHP rocks for this kind of thing.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.