Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Services application that operates over a network

Similar presentations


Presentation on theme: "Web Services application that operates over a network"— Presentation transcript:

1 Web Services application that operates over a network
an API that can be accessed over the Internet web API lets developers exploit shared functionality rather than deliver their own full-blown applications customized web-based application where a large hunk of that application is delivered by a third party

2 Discovering Cloud Services Development Services and Tools
Amazon Google App Engine IBM

3 Amazon EC2 Elastic Compute Cloud -known as EC2
A commercial web service that allows developers and companies to rent capacity on Amazon’s proprietary cloud of servers EC2 enables scalable deployment of applications by letting customers request a set number of virtual machines The users can load any application of their choice.

4 Amazon’s service lets customers choose from three sizes of virtual servers:
Small, which offers the equivalent of a system with 1.7GB of memory, 160GB of storage, and one virtual 32-bit core processor Large, which offers the equivalent of a system with 7.5GB of memory, 850GB of storage, and two 64-bit virtual core processors Extra large, which offers the equivalent of a system with 15GB of memory, 1.7TB of storage, and four virtual 64-bit core processors

5 EC2 -contd EC2 is just part of Amazon’s Web Services (AWS)
The developers can build reliable, powerful, and low-cost web-based applications using AWS

6 Google Maps API Web services are the “mashups” created by users of the Google Maps API. The data for the map is providedby the developer the engine that creates the map itself is provided by Google The developer does not have to code or serve a map application All he has to do is hook into Google’s web API.

7 Google Maps API

8 Campus Bird Mashup Google Map API
Campus Bird is an interactive 3-D school search tool based on Google Maps and. You can search for schools by name, location, scene, weather, school size, and more. Campus Bird provides in depth profiles of more than 4800 schools and hundreds in 3-D. The site is also building up 3-D tours of schools and colleges around the United States.

9 Google Maps Android API
Google Maps Javascript API Google Maps Geocoding API Google Maps Directions API Google Places API Web Service

10 Adding a Google Map with a Marker to Your Website
<head>     <style>        #map {         height: 400px;         width: 100%;        }     </style>   </head>   <body>     <h3>My Google Maps Demo</h3>     <div id="map"></div>     <script> </script>   </body> </html>

11 <script> function initMap() { var uluru = {lat: -25
<script>       function initMap() {         var uluru = {lat: , lng: };         var map = new google.maps.Map(document.getElementById('map'), {           zoom: 4,           center: uluru         });         var marker = new google.maps.Marker({           position: uluru,           map: map         });       }     </script>     <script async defer     src="     </script>

12 Getting started There are three steps to creating a Google map with a marker on your web page: Create an HTML page Add a map with a marker Get an API key

13 Create an HTML page <!DOCTYPE html> <html>   <head>     <style>       #map {         width: 100%;         height: 400px;         background-color: grey;       }     </style>   </head>   <body>     <h3>My Google Maps Demo</h3>     <div id="map"></div>   </body> </html>

14 Step 2: Add a map with a marker
<script>       function initMap() {         var uluru = {lat: , lng: };         var map = new google.maps.Map(document.getElementById('map'), {           zoom: 4,           center: uluru         });         var marker = new google.maps.Marker({           position: uluru,           map: map         });       }     </script>

15 Step 3: Get an API key Follow these steps to get an API key:
Go to the Google API Console. Create or select a project. Click Continue to enable the API and any related services. On the Credentials page, get an API key (and set the API key restrictions). Note: If you have an existing unrestricted API key, or a key with browser restrictions, you may use that key. To prevent quota theft, secure your API key following these best practices. (Optional) Enable billing. See Usage Limits for more information. Replace the value of the key parameter in the URL with your own API key (that's the API key that you've just obtained).

16 <script async defer src="https://maps. googleapis. com/maps/api/js
<script async defer   src=" </script>

17

18 On-Demand Computing on-demand computing packages computer resources
Is a metered service similar to that of a public utility customers pay for as much or as little processing and storage as they need Companies that have large demand peaks followed by much lower normal usage periods particularly benefit from utility computing

19 Clients of on-demand computing services essentially use these services as offsite virtual servers
Instead of investing in their own physical infrastructure, a company operates on a pay-as-you-go plan with a cloud services provider On-demand computing - the service is based on large grids of computers operating as a single cloud


Download ppt "Web Services application that operates over a network"

Similar presentations


Ads by Google