473,385 Members | 1,564 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Retrieving information from a website using JavaScript ?

Hi

I have a problem in which I am not sure if Javascript can or should be used.
If anyone can throw light on this it wd be great :

Basically I am working on the development of a database where a user enters
an address (street, city, state, zipcode). Based on the user input of the
address, I need to dynamically determine the latitude and longitude of that
address from the internet. One such website was :
http://stevemorse.org/jcal/latlon.php where we enter the street, city, state
and zipcode etc and the webpage returns the latitude and longitude.

I need to retrieve this information and update the database accordingly. My
question is: Can this information retrieval be done using JavaScript ? I
believe so but am not sure abt how to proceed to get this done ... Any
help/hints wd be appreciated. Thanks.
Jul 28 '06 #1
3 1947
Navodit wrote:
Basically I am working on the development of a database where a user
enters an address (street, city, state, zipcode). Based on the user input
of the address, I need to dynamically determine the latitude and longitude
of that address from the internet. One such website was :
http://stevemorse.org/jcal/latlon.php where we enter the street, city,
state and zipcode etc and the webpage returns the latitude and longitude.

I need to retrieve this information and update the database accordingly.
My question is: Can this information retrieval be done using JavaScript ?
It /can/, but it would probably involve quite a lot of pain and probably not
work in your particular environment. There is almost certainly a better
solution.

You are rather vague about what you are developing. What do you mean by "a
database"?

Some form of RDBMS which you connect to via some server side system (such as
Perl CGI, mod_perl, RoR, ASP, etc) and then present to the user with a
browser?

Some RDBMS which you connect to via ooBase?

Something written in Lotus Approach?

Microsoft Access?

An Exchange server which you connect to via Microsoft Outlook?

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 28 '06 #2
The application I was referring to is a web based database (MySQL)
programmed in Java. Any idea what wd be the better solution ?
"David Dorward" <do*****@yahoo.comwrote in message
news:ea*******************@news.demon.co.uk...
Navodit wrote:
>Basically I am working on the development of a database where a user
enters an address (street, city, state, zipcode). Based on the user input
of the address, I need to dynamically determine the latitude and
longitude
of that address from the internet. One such website was :
http://stevemorse.org/jcal/latlon.php where we enter the street, city,
state and zipcode etc and the webpage returns the latitude and longitude.

I need to retrieve this information and update the database accordingly.
My question is: Can this information retrieval be done using JavaScript ?

It /can/, but it would probably involve quite a lot of pain and probably
not
work in your particular environment. There is almost certainly a better
solution.

You are rather vague about what you are developing. What do you mean by "a
database"?

Some form of RDBMS which you connect to via some server side system (such
as
Perl CGI, mod_perl, RoR, ASP, etc) and then present to the user with a
browser?

Some RDBMS which you connect to via ooBase?

Something written in Lotus Approach?

Microsoft Access?

An Exchange server which you connect to via Microsoft Outlook?

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is

Jul 31 '06 #3
Navodit wrote:
The application I was referring to is a web based database (MySQL)
programmed in Java. Any idea what wd be the better solution ?
Please don't top post.

The user submits data to the Java. It can then go off and look up the
coordinates you want and add them to the database. The specifics of that
are off topic for this newsgroup.

No need to involve JavaScript at all (and doing so would almost certainly
add a lot of complexity for no benefit).
--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 31 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Captain Dondo | last post by:
I am not really experienced in Javascript so bear with me.... I am working with an embedded platform; no mouse, no keyboard. Just up, down, left, right keys and +/- keys for...
3
by: Navodit | last post by:
Hi I have a very basic question regd retrieving information from website using a scripting language: Basically I am working on the development of a database where a user enters an address...
2
by: 4Ankit | last post by:
hello all, i am having some difficulty retrieving information from my form. I want to add content in my table but the content i want to add to the table is what the user inputs in my form. ...
0
bmallett
by: bmallett | last post by:
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.