PDA

View Full Version : SQL Server 2008



Riaz
12 Oct 2010, 4:09 PM
Is it possible to connect SQL Server 2008 with Sencha Touch web app? If yes, how?

evant
12 Oct 2010, 4:19 PM
No, not directly. Can you imagine if you could use client side javascript to access a database? Not a good idea!

You need to run it through some kind of server script, probably .NET if you're using SQL Server:



JS -> Request .NET
.NET -> Connect to db, retrieve data
.NET -> JS send data


The same pattern as all other web development.

Riaz
12 Oct 2010, 4:22 PM
Thanks for your help

Riaz
12 Oct 2010, 4:23 PM
Thanks for your help.