Creating iOS / Android
application with SQL Server
as database
Jihin Raju
jihinraju@gmail.com
Facebook Profile
Twitter Pro...
Work flow of a web application with SQL server
as database
Browser Web Server SQL Server
Username
Password
Log In
Data rqt.
1 2 3
1. When user submits a form/makes a request that wi...
Browser Web Server SQL Server
Username
Password
Log In
Data rqt. Data rqt.
1 2 3
2. Then the web server will request the S...
Browser Web Server SQL Server
Username
Password
Log In
Data rqt. Data rqt.
Data resp.
1 2 3
3. According to the query/requ...
Browser Web Server SQL Server
Username
Password
Log In
Data rqt. Data rqt.
Data resp.HTML
1 2 3
5. After all the operation...
When we need to build another application that also uses the same database
and data like Android/iOS applications, we will...
In this case we can create API using web service in the web application ,
and we can access that web service from any othe...
Work Flow of iOS/Android Application With
SQL Server As Database
Browser
Web Server
SQL Server
Username
Password
Log In
Data rqt.
Data rqt.
Data resp.
HTML
API
(Web Service)
Web
applicati...
Things you should learn before creating a different platform
application ( like iOS/Android)
1. What is web service and ho...
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many con...
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ s...
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Sta...
Creating i os or android application with sql server as database
Upcoming SlideShare
Loading in …5
×

Creating i os or android application with sql server as database

1,423 views

Published on

Published in: Engineering, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,423
On SlideShare
0
From Embeds
0
Number of Embeds
21
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Creating i os or android application with sql server as database

  1. 1. Creating iOS / Android application with SQL Server as database Jihin Raju jihinraju@gmail.com Facebook Profile Twitter Profile Linkedin Profile 9745342931
  2. 2. Work flow of a web application with SQL server as database
  3. 3. Browser Web Server SQL Server Username Password Log In Data rqt. 1 2 3 1. When user submits a form/makes a request that will get forwarded to web server by browser. Web application
  4. 4. Browser Web Server SQL Server Username Password Log In Data rqt. Data rqt. 1 2 3 2. Then the web server will request the SQL Server for required data. Web application
  5. 5. Browser Web Server SQL Server Username Password Log In Data rqt. Data rqt. Data resp. 1 2 3 3. According to the query/request , SQL server will send the data back to the web server (Application) as a response. 4. And then we can arrange or perform operations on that data from the webserver. Web application
  6. 6. Browser Web Server SQL Server Username Password Log In Data rqt. Data rqt. Data resp.HTML 1 2 3 5. After all the operations in our program webserver sends the HTML code back to the browser. Web application
  7. 7. When we need to build another application that also uses the same database and data like Android/iOS applications, we will have to build an interface between the new platform application and the existing web application., this interface is called API. It is not recommended to connect directly to the SQL server from iOS/Android because it will not be able to make a sudden change in business logic or data manipulation as the application is in clients device. If it is accessed through the web service then we can make changes to the web service at any point of time and it is a painless way for users too. SQL Server
  8. 8. In this case we can create API using web service in the web application , and we can access that web service from any other platforms/applications. The main thing we have to be careful about is the method that we are going to use for communication between the API and the application. As we are building the application in different language and different platform we need a common language/method of transferring data. That are JSON/XML methods. The most used method is JSON data., JSON is a method that wraps a data into an object with a key-value pair. And for most of the programming languages, libraries that supports JSON are available.
  9. 9. Work Flow of iOS/Android Application With SQL Server As Database
  10. 10. Browser Web Server SQL Server Username Password Log In Data rqt. Data rqt. Data resp. HTML API (Web Service) Web application HTTP request (+ data) JSON data
  11. 11. Things you should learn before creating a different platform application ( like iOS/Android) 1. What is web service and how to create a public web service 2. Manipulating JSON data. 3. Accessing web service from other applications using HTTP protocol (using libraries).
  12. 12. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  13. 13. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  14. 14. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us

×