Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

online doctionary

Status
Not open for further replies.

bhavin12300

Programmer
Oct 12, 2006
24
IN
hi
i am building a web application which is dictionary in english to English.
so i just want suggestion on how to do the following.
i want to build this in javascript.
so my first question is
1.how to store all my data measn wether i need to create a fdatabase of file.

2. and also want to ask that
how to search in it.


i only need suggesion not coding that i will do it by my own.
but i just want reference where or how could i do this.
if any question plz ask.
waiting for your reply
 
Will this be an online dictionary?
Javascript is not the best solution for this as you cannot directly access a database from Javascript.

You could store all of your data in files read in when the page loads and use Javascript to select which page to load based on user selection but it is a very inefficient method and requires a lot more work setting up and maintaining.

Server-side code connected to a database would be best and you could use Javascript as the front end system for searching, displaying and selection of words but it is not well suited for a whole system.

At my age I still learn something new every day, but I forget two others.
 
ya it is online dictionary but my first face to run it on my pc.


and as you tell me that its not possible in javascript to connect to database so i would like to go to your suggestion which you have given me to use serverside code to get connected to databse.

or you can suggests me other way to do this coz i am need to make it asp ,sevlet and javascript so plesease help me
thanks you for your advice waiting for other replys too









anyone suggestion are welocme
 
How you approach it really depends on what you have available for a database, server-side scripting and how you want the dictionary to operate.
You have to determine how the information is stored in the database and how you want to allow people to pull out and display that information.

A typical setup here would be ASP script connecting to a MSSQL database. It could be as easy as having a page with a listing of the letters of the alphabet and when someone selects a letter like "T" then it submits to the ASP page passing the value T which then queries the database for all words beginning with T and writing them out to the screen.
It really depends on how you expect the interface to work for end-users to select what to view and how you want it to display to them.


At my age I still learn something new every day, but I forget two others.
 
thank you
let me study and have knowledge abt this stuff that i will ask you if i got problem
thank you so much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top