| View previous topic :: View next topic |
| Author |
Message |
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
Ok, does anybody have links about querying an oracle db via javascript?
Google isn't being wonderful to me
There must be some libraries to do this? |
| |
|
|
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
You shouldn't query an oracle db via javascript
It's a catastrophically bad idea. |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| I didn't know javascript could query a db at all |
| |
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
| In that you're basically saying to Joe User "Hi there! How do you feel about running arbitrary code on my DB?" |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| I agree that if it was possible to query a DB directly using JavaScript, it would be a terrible idea |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| It looks like I'll just have to make the user click a button to run the .php function I wrote |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| But the fact is you make an ajax call, which calls a server-side script that does the db querying |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| Is ajax hard to learn? |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| No. |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| It looks so cool that it must be :) |
| |
|
|
|