anupam409 / google-api-translate-java

Automatically exported from code.google.com/p/google-api-translate-java
0 stars 0 forks source link

Improvement proposal -- try to use servise for AJAX #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello Rich!

This is not bug report. It is improvement proposal. Your project looks 
good...

You use standard web form address to get translation. You build request, 
send it and after all you have to mine translation(s) from the web site 
source code. 

Why not to use servise, which is prepared primarily for AJAX API but is 
applicable also for other languages. See 
http://code.google.com/apis/ajaxlanguage/documentation/#fonje 
for details.

It could solve the problem with blocking for to much requests. Maybe.

Original issue reported on code.google.com by jaroslavbauml on 9 May 2008 at 12:11

GoogleCodeExporter commented 9 years ago
Superb suggestion, I've been looking for this for a long time!

At the very least, it will provide a much cleaner solution.

Many thanks, I'll integrate it as soon as possible.

Original comment by rich.mid...@gmail.com on 9 May 2008 at 12:22

GoogleCodeExporter commented 9 years ago
Version 0.4 released which takes advantage of the AJAX API. Many thanks again 
for the
suggestion.

I've run through a quick test of 3000 queries which all returned successfully 
so I'm
confident enough that the blocking issue is resolved that I've removed the rate
control code from the API.

Original comment by rich.mid...@gmail.com on 11 May 2008 at 12:24