473,394 Members | 1,932 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,394 software developers and data experts.

Data Exchange using AJAX - is this the best solution?

I have an ecommerce application which needs to check whether the product is available in the inventory or not . Unfortunately the inventory is maintained on a 3rd party server . I was planning to build the application in such a way that as soon as the user selects the specifications of a product, I should post the specifcations to the 3rd party server and get a response from them abt the availability of the product .
Is this feasible using AJAX ???
Also considering it is a 3rd party server will the response time be slow ??
Oct 5 '07 #1
5 1311
acoder
16,027 Expert Mod 8TB
You will need a web proxy which takes your request and makes the request and receives a response from the 3rd party server and returns the response back.

Moved from Articles section. Please do not post questions in the Articles section.
Oct 6 '07 #2
I have an ecommerce application which needs to check whether the product is available in the inventory or not . Unfortunately the inventory is maintained on a 3rd party server . I was planning to build the application in such a way that as soon as the user selects the specifications of a product, I should post the specifcations to the 3rd party server and get a response from them abt the availability of the product .
Is this feasible using AJAX ???
Also considering it is a 3rd party server will the response time be slow ??
Oct 8 '07 #3
r035198x
13,262 8TB
I have an ecommerce application which needs to check whether the product is available in the inventory or not . Unfortunately the inventory is maintained on a 3rd party server . I was planning to build the application in such a way that as soon as the user selects the specifications of a product, I should post the specifcations to the 3rd party server and get a response from them abt the availability of the product .
Is this feasible using AJAX ???
Also considering it is a 3rd party server will the response time be slow ??
Quite feasible using AJAX alright. In fact AJAX is the natural solution for this.
The fact that it's a third party qeurying the database for you simply means that you won't have control of that process.
Oct 8 '07 #4
dmjpro
2,476 2GB
I have an ecommerce application which needs to check whether the product is available in the inventory or not . Unfortunately the inventory is maintained on a 3rd party server . I was planning to build the application in such a way that as soon as the user selects the specifications of a product, I should post the specifcations to the 3rd party server and get a response from them abt the availability of the product .
Is this feasible using AJAX ???
Also considering it is a 3rd party server will the response time be slow ??
Ajax means the without refreshing the page you get the related little changes.
This is not the problem here.
If you have the access to that 3rd party Database Server then you can do using a normal request or Ajax.
The only difference between Ajax and normal request....both are request one is done in user's known and another one is not :-)

Debasis Jana
Oct 9 '07 #5
acoder
16,027 Expert Mod 8TB
Threads merged. Please do not double post.
Oct 9 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: jeff | last post by:
I've been doing some minor stuff with an Access Database that creates an email, or a calendar item etc. for a couple of years now. I have had no problem using the MAPI code and haven't had any...
4
by: Arun | last post by:
I have two vb.net applications running on the same machine, App1.exe and App2.exe. On the click of a button in App1.exe, can I retrieve a value from a textbox in App2.exe? TIA -AN
2
by: radiax | last post by:
I have been trying to find a way for a server to push data to a client (aka disconnected server approach) but iam still stuck. This is the scenario: a client is using a webclient to communicate...
9
by: Leslie Coover | last post by:
http://finance.yahoo.com/ offers a wide range of financial data. Would anyone have (or know where I can get) a sample of code that
6
by: Senthil | last post by:
Hi All We are having a VB application on SQL. But we need to collect information from persons who will be offline to verify data and insert new data. Generally they will be entering the data in...
4
by: vunet.us | last post by:
Hi all, I am converting my app to AJAX-based. I have a form that submits some data including images. When I use AJAX XmlHttpRequest I am unable to submit the form with...
7
by: Wiebe Tijsma | last post by:
Hi, I'm using C# + webDAV to create a draft message to be sent in a user's Drafts folder. I can create the message successfully, however when I open the message in outlook, it doesn't show...
1
by: ouistyty | last post by:
Hi We have a simple asp page that query LDAP attribrute. Everithing is working fine using a native domain account. but when using an external account we have an error 70, acces denie. Here's...
2
by: Macias | last post by:
Hi, Please tell me how I can exchange data between two forms. My main form is Form1, and I display a new form something like this: private void Settings_Click(object sender, EventArgs e) { using...
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: 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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.