task

                                          Word search in words list

 

              The main objective of this project is a word is given as input and

category is given to select from the given list. If we give a word and select a category.then it will search that word in the database and gives us the word and the value of the category as the output.

              To search a word in the database we should insert the words in the database.

For that we created a database “test” and table “words_list” in MySQL. In that table we take IdNum,Word,Cob,IdNumLemma,OrthoCnt,OrthoStatus, CobspellFreq,CobSpellDev,WordSylDia

as Fields. Inserted some words in the database.

 

              To access data in the database we selected PHP language.In PHP security is good.

In this language we write server side code in which mysql commands used to connect mysql server

and database. After search in table resulted values taken to xml tags.This code generate xml code.

From that table we can retrieve data.This is done as described below.In the client we enter the word , we select the category and then we press the search button.Now the a request is made to the server from the client.The server takes the given word and category and connects to mysql then it will search the given word in the database which we have stored already in the sever .Now it will give a response according to whether the given word is there in the database or not . If the word not there in the database it gives the response that word is not exist in the database to the client.If the word is there in the database then then the value of the selected category is given as response to the client.

              Briefly the request is made by the client to the server ,server will search in the mysql database and gives the response to the client.

 

                           

Project is still under work.

              Now we have completed , the word is given from the client and the server recieves it and search in the database and then displays TRUE or FALSE according to whether the word is there in the database or not.             

 

              Pictorially The completed project looks like...

                            this the request page





 

              this the response page.


No comments: