- From: Eric Burger <eburger@snowshore.com>
- Date: Wed, 31 Oct 2001 08:40:57 -0500
- To: "Shridhar Damle" <shridhar@cgclogic.com>
- Cc: <www-voice@w3.org>
Do you have a compelling reason to put data base access in your markup? How would you handle errors. For example, if we look at your markup below, what happens if there is no "account" table? What if the "balance" column has text? What if the data source is down? While the "happy path" looks a lot easier to code in-line, the "reality path" (to me) dictates doing the data base lookup on the application server. I'm open to dissenting views... -----Original Message----- From: www-voice-request@w3.org [mailto:www-voice-request@w3.org]On Behalf Of Shridhar Damle Sent: Wednesday, October 31, 2001 8:03 AM To: www-voice@w3.org Subject: database reading through voiceXML Hi, Are there any tags in voiceXML that can make program read data from database by generating the queries dynamically? If yes then what are those tags? If no then is it possible to have customized tags (say "dbread") in voiceXML? viz. <prompt> Your account balance is <dbread table='account' field='balance'/> </prompt> Is this feasible? OR we have to always submit to next asp or jsp or whatever and generate the vxml with account balance information dynamically? If it is feasible then... do the vxml interpreters available today can support customizable tags? Like if a custom tag is found the interpreter should hand over the control to the application to take necessary actions. Regards, Shridhar -------------------------------------------------------------- CG-CORE EL LOGIC SYSTEMS LTD, PUNE, INDIA
Received on Wednesday, 31 October 2001 08:39:44 UTC