Newbie question. I’m developing a web application (I’m using Flex/AS3, but for the purposes of this question I suppose it could be any language) and can write SQL commands directly in it to access data (to and from) Oracle database. The advantage of this is eliminating the middle tier (e.g. Java, PHP, Ruby, etc.). Are there any disadvantages?
If I were to use a middle tier language, it would be simply to pass the SQL command from client to Oracle, so I’m not sure what benefit it brings.
The middle tear usually brings a significant ease of use, which lowers development time, and flexibility over use of services outside of your Flash app.
What are you doing to access the services directly? Are you using the socket classes, or something else?