ITP 342 Mobile App Dev

Size: px
Start display at page:

Download "ITP 342 Mobile App Dev"

Transcription

1 ITP 342 Mobile App Dev

2 REST Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web Conforming to the REST constraints is referred to as being RESTful RESTful web service (or RESTful web API) is a simple web service implemented using HTTP and the principles of REST It is a collection of resources with 4 defined aspects 2

3 REST Philosophy The 3 most important features of a RESTful server are its statelessness, uniform resource identification, and cacheability. Statelessness Every API is treated as a new request, and no client context is remembered on the server. Resource identification Done through URLs Cacheability Allows clients to cache responses based on the URL 3

4 REST Philosophy Response from a RESTful server is usually sent in a uniform, agreed-upon format, usually to decouple the client/server interface. The client ios app communicates with a RESTful server through this agreed-upon data exchange format. The most commonly used formats are XML and JSON. 4

5 RESTful Web Services The base URI for the web service, such as The Internet media type of the data supported by the web service Often JSON (JavaScript Object Notation), XML (Extensible Markup Language) or YAML but can be any other valid Internet media type The set of operations supported by the web service using HTTP methods (e.g., GET, PUT, POST, or DELETE) The API must be hypertext driven 5

6 6

7 REST Services Many web sites are now offering their facilities through REST Web Services REST Services can be used to access sites that perform the following functions: Web Search (e.g.yahoo s BOSS Search, Google Custom Search) Geolocation (e.g Yahoo s Placefinder) Photo Sharing (e.g. Yahoo s Flickr, Google s Picasa) Social Networking (e.g. Facebook, Twitter, Instagram) Mapping (e.g. Google Maps) Many of these services limit daily usage by a single website, and require payment when the thresholds are breached 7

8 REST Services Access is provided using one or both of these methods: Direct URL, returning a response in one or more formats (XML, JSON, PHP) Library-based APIs, embedded in JavaScript, Java, C#, Objective-C and other source and binary library formats Many of these services now require or include OAuth user authentication Oauth is a standard for clients to access server resources on behalf of a resource owner E.g. see 8

9 XML XML stands for extensible Markup Language Designed to transport and store data Uses tags Has a root node <?xml version="1.0" encoding="utf-8"?>! <note>! <to>jason</to>! <from>trina</from>! <heading>reminder</heading>! <body>bring home some milk!</body>! </note>! 9

10 JSON JSON stands for JavaScript Object Notation Is a lightweight text-data interchange format Is "self-describing" and easy to understand {! }! "employees": [! { "firstname":"trina", "lastname":"gregory" },! { "firstname":"chitvan", "lastname":"gupta" },! { "firstname":"poojan", "lastname":"jhaveri" }! ]! 10

11 Parsing XML on ios You can do XML parsing using 2 kinds of parsers: A DOM (Document Object Model) parser A SAX (Simple API for XML) parser XML Parser for ios 11

12 SAX Parser Most SAX parsers work by taking in a URL as a parameter and giving you data as it becomes available. The NSXMLParser foundation class has a method called initwithcontentsofurl:! You essentially initialize a parser object with the URL, and the NSXMLParser does the rest. Parsed data becomes available through callback via delegate methods defined in NSXMLParserDelgate. 12

13 NSXMLParser Conform to the NSXMLParserDelegate. The most commonly handled methods are: parserdidstartdocument:! parserdidenddocument:! parser: didstartelement: namespaceuir: qualifiedname: attributes:! parser: didendelement: namespaceuri: qualifiedname:! parser: foundcharacters:! 13

14 DOM Parser A DOM parser loads the complete XML before it starts parsing. The advantage of using a DOM parser is its capability to access data at random using XPath queries, and there's no delegation as in the SAX model. ios does not have an Objective-C-based DOM parser built in. You can use libxml2 or third-party wrappers such as KissXML, TouchXML, or GDataXML. 14

15 Parsing JSON on ios JSON is much more commonly used than XML. With ios 5, Apple introduced NSJSONSerialization, which is Apple's JSON parsing and serializing framework. You also can choose from plenty of thirdparty JSON processing frameworks. The most commonly used are SBJson, TouchJSON, YAJL, and JSONKit. 15

16 Important Reminders Never make a synchronous network call. Even if they're on a background thread, synchronous calls don't report progress. Another reason is that to cancel a synchronous request running on a background thread, you have to kill the thread. Avoid using NSThread or GCD-based threading directly for network operations (unless your project is small and has just a couple of API calls). Use NSOperationQueue-based threading instead. NSOperationQueue helps with controlling the queue length and the number of concurrent network operations. 16

17 NSURLConnection Apple provides classes in CFNetwork.framework and provides a Foundation-based NSURLConnection for making asynchronous requests. MKNetworkKit is a block-based wrapper around NSURLConnect that doesn't bloat your code base while providing powerful features, most importantly, caching. 17

18 Resources ios 7 Programming: Pushing the Limits by Rob Napier and Mugunth Kumar Chapter 12: REST for the Weary ios 7 Programming: Pushing the Limits by Rob Napier and Mugunth Kumar Chapter 11: Behind the Scenes: Background Processing 18

19 Network Access Common background task is making a network request We want to ensure that user data is saved to a server even if the user leaves the app in the middle of your save action In ios 6, we would wrap the network request with beginbackgroundtaskwithexpiration Handler:! Works for small requests 19

20 New Solution In ios 7, the preferred way is NSURLSession There is no simple, universal way to implement background transfers with NSURLSession Need to adapt it heavily to your specific situation NSURLSession is a replacement for NSURLConnection 20

21 NSURLSession Previously [NSURLConnection sendasynchronousrequest: queue:! completionhandler: ]! Use [NSURLSession datataskwithurl: completionhandler: ]! 21

22 NSURLSession Previously [NSURLConnection sendasynchronousrequest: request! queue: [NSOperationQueue mainqueue]! completionhandler: handler];! Use NSURLSessionTask *task = [[NSURLSession sharedsession]! datataskwithrequest: request:! completionhandler: handler];! [task resume];! 22

23 Session Configuration After this, you can get a few features Query the task for info such as its originalrequest and its countofbytesexpectedtorecieve You can start configuring the session You can configure a session that doesn't use cellular data NSURLSessionConfiguration *configuration =! [NSURLSessionConfiguration defaultsessionconfiguration];! [configuration setallowscellularaccess: NO];! NSURLSession *session = [NSURLSession! sessionwithconfiguration: configuration];! 23

24 Session Configuration NSURLSession has 3 build-in configurations: defaultsessionconfiguration! Matches the behavior of NSURLConnection Uses the shared cache, cookie storage, etc. ephemeralsessionconfiguration! Uses only in-memory storage Nothing is written to disk backgroundsessionconfiguration:! Takes an identifier and is configured to perform network transfers while your app is in the background, or even when it is terminated 24

25 ASIHTTPRequest RESTful API Easy to use wrapper around the CFNetwork API Suitable for basic HTTP requests and interacting with REST-based services Developing RESTful ios Apps with RestKit restkit_ios-sdk/ 25

26 Tutorials AppCoda Fetch and Parse JSON AppCoda XML and JSON Parsing Ray Wenderlich JSON Touch Code Fetch and Parse JSON 26

27 Frameworks AFNetworking networking framework RestKit RESTful framework introduction-restkit-tutorial 27

ITP 140 Mobile Technologies. Mobile Topics

ITP 140 Mobile Technologies. Mobile Topics ITP 140 Mobile Technologies Mobile Topics Topics Analytics APIs RESTful Facebook Twitter Google Cloud Web Hosting 2 Reach We need users! The number of users who try our apps Retention The number of users

More information

ITP 342 Mobile App Development. APIs

ITP 342 Mobile App Development. APIs ITP 342 Mobile App Development APIs API Application Programming Interface (API) A specification intended to be used as an interface by software components to communicate with each other An API is usually

More information

Backends and Databases. Dr. Sarah Abraham

Backends and Databases. Dr. Sarah Abraham Backends and Databases Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016 What is a Backend? Server and database external to the mobile device Located on remote servers set up by developers

More information

What's New in Foundation Networking

What's New in Foundation Networking Core OS #WWDC14 What's New in Foundation Networking Session 707 Steve Algernon Senior Wrangler 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Effective Networking with Swift and ios 8

Effective Networking with Swift and ios 8 Effective Networking with Swift and ios 8 Ben Scheirman @subdigital ChaiOne Agenda Old and Crusty NSURLConnection New Hotness Live Demos! HTTP Caching Bonus Round: API Tips NSURLConnection Invented for

More information

Backends and Databases. Dr. Sarah Abraham

Backends and Databases. Dr. Sarah Abraham Backends and Databases Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2018 What is a Backend? Server and database external to the mobile device Located on remote servers set up by developers

More information

Develop Mobile Front Ends Using Mobile Application Framework A - 2

Develop Mobile Front Ends Using Mobile Application Framework A - 2 Develop Mobile Front Ends Using Mobile Application Framework A - 2 Develop Mobile Front Ends Using Mobile Application Framework A - 3 Develop Mobile Front Ends Using Mobile Application Framework A - 4

More information

CSCI 251: iphone Application Development

CSCI 251: iphone Application Development CSCI 251: iphone Application Development Spring Term 2012 Lecture #3: Handling Data (Chater 8) Handling Data (from the Internet) Handling XML (structured data formatted as text) Handling (unformatted)

More information

Copyright 2014 Blue Net Corporation. All rights reserved

Copyright 2014 Blue Net Corporation. All rights reserved a) Abstract: REST is a framework built on the principle of today's World Wide Web. Yes it uses the principles of WWW in way it is a challenge to lay down a new architecture that is already widely deployed

More information

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies CNIT 129S: Securing Web Applications Ch 3: Web Application Technologies HTTP Hypertext Transfer Protocol (HTTP) Connectionless protocol Client sends an HTTP request to a Web server Gets an HTTP response

More information

REST API Developer Preview

REST API Developer Preview REST API Developer Preview Dave Carroll Developer Evangelist dcarroll@salesforce.com @dcarroll Alex Toussaint Sr. Product Manager atoussaint@salesforce.com @alextoussaint Safe Harbor Safe harbor statement

More information

STARCOUNTER. Technical Overview

STARCOUNTER. Technical Overview STARCOUNTER Technical Overview Summary 3 Introduction 4 Scope 5 Audience 5 Prerequisite Knowledge 5 Virtual Machine Database Management System 6 Weaver 7 Shared Memory 8 Atomicity 8 Consistency 9 Isolation

More information

Developing Ajax Web Apps with GWT. Session I

Developing Ajax Web Apps with GWT. Session I Developing Ajax Web Apps with GWT Session I Contents Introduction Traditional Web RIAs Emergence of Ajax Ajax ( GWT ) Google Web Toolkit Installing and Setting up GWT in Eclipse The Project Structure Running

More information

ReST 2000 Roy Fielding W3C

ReST 2000 Roy Fielding W3C Outline What is ReST? Constraints in ReST REST Architecture Components Features of ReST applications Example of requests in REST & SOAP Complex REST request REST Server response Real REST examples REST

More information

RESTful Services. Distributed Enabling Platform

RESTful Services. Distributed Enabling Platform RESTful Services 1 https://dev.twitter.com/docs/api 2 http://developer.linkedin.com/apis 3 http://docs.aws.amazon.com/amazons3/latest/api/apirest.html 4 Web Architectural Components 1. Identification:

More information

XML Processing & Web Services. Husni Husni.trunojoyo.ac.id

XML Processing & Web Services. Husni Husni.trunojoyo.ac.id XML Processing & Web Services Husni Husni.trunojoyo.ac.id Based on Randy Connolly and Ricardo Hoar Fundamentals of Web Development, Pearson Education, 2015 Objectives 1 XML Overview 2 XML Processing 3

More information

Mobile Application Development

Mobile Application Development Mobile Application Development Lecture 17 Blocks, Concurrency, Networking 2013/2014 Parma Università degli Studi di Parma Lecture Summary Blocks Concurrency and multithreading Grand Central Dispatch (GCD)

More information

Mobile Application Programming. Data and Persistence

Mobile Application Programming. Data and Persistence Mobile Application Programming Data and Persistence Messaging Options Handler Delegate Handler Collection Controller View Notification Center Model The Model Controller Model View Model Source of data

More information

Web-APIs. Examples Consumer Technology Cross-Domain communication Provider Technology

Web-APIs. Examples Consumer Technology Cross-Domain communication Provider Technology Web-APIs Examples Consumer Technology Cross-Domain communication Provider Technology Applications Blogs and feeds OpenStreetMap Amazon, Ebay, Oxygen, Magento Flickr, YouTube 3 more on next pages http://en.wikipedia.org/wiki/examples_of_representational_state_transfer

More information

Managing State. Chapter 13

Managing State. Chapter 13 Managing State Chapter 13 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of Web http://www.funwebdev.com Development Section 1 of 8 THE PROBLEM OF STATE IN WEB APPLICATIONS

More information

Session 12. RESTful Services. Lecture Objectives

Session 12. RESTful Services. Lecture Objectives Session 12 RESTful Services 1 Lecture Objectives Understand the fundamental concepts of Web services Become familiar with JAX-RS annotations Be able to build a simple Web service 2 10/21/2018 1 Reading

More information

Understanding RESTful APIs and documenting them with Swagger. Presented by: Tanya Perelmuter Date: 06/18/2018

Understanding RESTful APIs and documenting them with Swagger. Presented by: Tanya Perelmuter Date: 06/18/2018 Understanding RESTful APIs and documenting them with Swagger Presented by: Tanya Perelmuter Date: 06/18/2018 1 Part 1 Understanding RESTful APIs API types and definitions REST architecture and RESTful

More information

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX AdvizeX Technologies - A Rolta Company 6/12/2015 1 AGENDA Introductions Test

More information

Web Services Week 10

Web Services Week 10 Web Services Week 10 Emrullah SONUÇ Department of Computer Engineering Karabuk University Fall 2017 1 Recap BPEL Process in Netbeans RESTful Web Services Introduction to Rest Api 2 Contents RESTful Web

More information

WCF & ASP.NET Web API An Architect s Primer

WCF & ASP.NET Web API An Architect s Primer WCF & ASP.NET Web API An Architect s Primer Presented at Southern California.NET Architecture User Group; Feb 21 st 2013. Adnan Masood MS (CS). MCSD. MCPD. Software Architect & Doctoral Candidate blog.adnanmasood.com

More information

ios Application Development Course Details

ios Application Development Course Details ios Application Development Course Details By Besant Technologies Course Name Category Venue ios Application Development Mobile Application Development Besant Technologies No.24, Nagendra Nagar, Velachery

More information

Ajax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be

More information

The Extensible Markup Language (XML) and Java technology are natural partners in helping developers exchange data and programs across the Internet.

The Extensible Markup Language (XML) and Java technology are natural partners in helping developers exchange data and programs across the Internet. 1 2 3 The Extensible Markup Language (XML) and Java technology are natural partners in helping developers exchange data and programs across the Internet. That's because XML has emerged as the standard

More information

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP 2013 Empowering Innovation DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP contact@dninfotech.com www.dninfotech.com 1 JAVA 500: Core JAVA Java Programming Overview Applications Compiler Class Libraries

More information

OU Mashup V2. Display Page

OU Mashup V2. Display Page OU Mashup V2 OU Mashup v2 is the new iteration of OU Mashup. All instances of OU Mashup implemented in 2018 and onwards are v2. Its main advantages include: The ability to add multiple accounts per social

More information

PRISMTECH. RESTful DDS. Expanding the reach of the information backbone. Powering Netcentricity

PRISMTECH. RESTful DDS. Expanding the reach of the information backbone. Powering Netcentricity PRISMTECH Powering Netcentricity RESTful DDS Expanding the reach of the information backbone Reinier Torenbeek Senior Solutions Architecht reinier.torenbeek@prismtech.com RESTful DDS Introduction What

More information

Android Online Training

Android Online Training Android Online Training IQ training facility offers Android Online Training. Our Android trainers come with vast work experience and teaching skills. Our Android training online is regarded as the one

More information

API Security Management SENTINET

API Security Management SENTINET API Security Management SENTINET Overview 1 Contents Introduction... 2 Security Models... 2 Authentication... 2 Authorization... 3 Security Mediation and Translation... 5 Bidirectional Security Management...

More information

Web Services for Libraries. Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries

Web Services for Libraries. Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries Web Services for Libraries Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries A quick look ahead An overview of the different web services protocols Wading through

More information

XML: Tools and Extensions

XML: Tools and Extensions XML: Tools and Extensions SET09103 Advanced Web Technologies School of Computing Napier University, Edinburgh, UK Module Leader: Uta Priss 2008 Copyright Napier University XML2 Slide 1/20 Outline XML Parsers

More information

Service Oriented Architectures (ENCS 691K Chapter 2)

Service Oriented Architectures (ENCS 691K Chapter 2) Service Oriented Architectures (ENCS 691K Chapter 2) Roch Glitho, PhD Associate Professor and Canada Research Chair My URL - http://users.encs.concordia.ca/~glitho/ The Key Technologies on Which Cloud

More information

RESTful API Design APIs your consumers will love

RESTful API Design APIs your consumers will love RESTful API Design APIs your consumers will love Matthias Biehl RESTful API Design Copyright 2016 by Matthias Biehl All rights reserved, including the right to reproduce this book or portions thereof in

More information

Controller/server communication

Controller/server communication Controller/server communication Mendel Rosenblum Controller's role in Model, View, Controller Controller's job to fetch model for the view May have other server communication needs as well (e.g. authentication

More information

Web Applications. Software Engineering 2017 Alessio Gambi - Saarland University

Web Applications. Software Engineering 2017 Alessio Gambi - Saarland University Web Applications Software Engineering 2017 Alessio Gambi - Saarland University Based on the work of Cesare Pautasso, Christoph Dorn, Andrea Arcuri, and others ReCap Software Architecture A software system

More information

RESTful Java Web Services

RESTful Java Web Services RESTful Java Web Services Master core REST concepts and create RESTful web services in Java Jose Sandoval - PUBLISHING - 1 BIRMINGHAM - MUMBAI Preface 1 Chapter 1: RESTful Architectures 7 What is REST?

More information

Intro to XML. Borrowed, with author s permission, from:

Intro to XML. Borrowed, with author s permission, from: Intro to XML Borrowed, with author s permission, from: http://business.unr.edu/faculty/ekedahl/is389/topic3a ndroidintroduction/is389androidbasics.aspx Part 1: XML Basics Why XML Here? You need to understand

More information

Send me up to 5 good questions in your opinion, I ll use top ones Via direct message at slack. Can be a group effort. Try to add some explanation.

Send me up to 5 good questions in your opinion, I ll use top ones Via direct message at slack. Can be a group effort. Try to add some explanation. Notes Midterm reminder Second midterm next week (04/03), regular class time 20 points, more questions than midterm 1 non-comprehensive exam: no need to study modules before midterm 1 Online testing like

More information

04 Webservices. Web APIs REST Coulouris. Roy Fielding, Aphrodite, chp.9. Chp 5/6

04 Webservices. Web APIs REST Coulouris. Roy Fielding, Aphrodite, chp.9. Chp 5/6 04 Webservices Web APIs REST Coulouris chp.9 Roy Fielding, 2000 Chp 5/6 Aphrodite, 2002 http://www.xml.com/pub/a/2004/12/01/restful-web.html http://www.restapitutorial.com Webservice "A Web service is

More information

SOCIAL LOGIN FOR MAGENTO 2 USER GUIDE

SOCIAL LOGIN FOR MAGENTO 2 USER GUIDE 1 User Guide Social Login for Magento 2 Extension SOCIAL LOGIN FOR MAGENTO 2 USER GUIDE BSSCOMMERCE 1 2 User Guide Social Login for Magento 2 Extension Contents 1. Social Login for Magento 2 Extension

More information

Communicating with a Server

Communicating with a Server Communicating with a Server Client and Server Most mobile applications are no longer stand-alone Many of them now have a Cloud backend The Cloud Client-server communication Server Backend Database HTTP

More information

User Interaction: jquery

User Interaction: jquery User Interaction: jquery Assoc. Professor Donald J. Patterson INF 133 Fall 2012 1 jquery A JavaScript Library Cross-browser Free (beer & speech) It supports manipulating HTML elements (DOM) animations

More information

Assignment: Seminole Movie Connection

Assignment: Seminole Movie Connection Assignment: Seminole Movie Connection Assignment Objectives: Building an application using an Application Programming Interface (API) Parse JSON data from an HTTP response message Use Ajax methods and

More information

Chapter 10 Web-based Information Systems

Chapter 10 Web-based Information Systems Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 10 Web-based Information Systems Role of the WWW for IS Initial

More information

Investigating Source Code Reusability for Android and Blackberry Applications

Investigating Source Code Reusability for Android and Blackberry Applications Investigating Source Code Reusability for Android and Blackberry Applications Group G8 Jenelle Chen Aaron Jin 1 Outline Recaps Challenges with mobile development Problem definition Approach Demo Detailed

More information

Lesson 14 SOA with REST (Part I)

Lesson 14 SOA with REST (Part I) Lesson 14 SOA with REST (Part I) Service Oriented Architectures Security Module 3 - Resource-oriented services Unit 1 REST Ernesto Damiani Università di Milano Web Sites (1992) WS-* Web Services (2000)

More information

RESTFUL WEB SERVICES - INTERVIEW QUESTIONS

RESTFUL WEB SERVICES - INTERVIEW QUESTIONS RESTFUL WEB SERVICES - INTERVIEW QUESTIONS http://www.tutorialspoint.com/restful/restful_interview_questions.htm Copyright tutorialspoint.com Dear readers, these RESTful Web services Interview Questions

More information

IBM Mainframe Makeover: What Powers your Mobile Applications and Smart Phones?

IBM Mainframe Makeover: What Powers your Mobile Applications and Smart Phones? IJSTE - International Journal of Science Technology & Engineering Volume 2 Issue 09 March 2016 ISSN (online): 2349-784X IBM Mainframe Makeover: What Powers your Mobile Applications and Smart Phones? Pramod

More information

Ajax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be

More information

Building Facebook Application using Python

Building Facebook Application using Python Building Facebook Application using Python ECS-15, Fall 2010 Prantik Bhattacharyya Facebook Applications Farmville Game 57.5m users http://www.facebook.com/farmville Causes Issues/Movement 26.4m users

More information

NODE.JS MOCK TEST NODE.JS MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST I http://www.tutorialspoint.com NODE.JS MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Node.js Framework. You can download these sample mock tests at

More information

Controller/server communication

Controller/server communication Controller/server communication Mendel Rosenblum Controller's role in Model, View, Controller Controller's job to fetch model for the view May have other server communication needs as well (e.g. authentication

More information

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II)

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II) Lecture 6: Notification and Web Services Notification A notification is a user interface element that you display outside your app's normal

More information

StorageGRID Webscale NAS Bridge Management API Guide

StorageGRID Webscale NAS Bridge Management API Guide StorageGRID Webscale NAS Bridge 2.0.3 Management API Guide January 2018 215-12414_B0 doccomments@netapp.com Table of Contents 3 Contents Understanding the NAS Bridge management API... 4 RESTful web services

More information

Tutorial 8 Build resilient, responsive and scalable web applications with SocketPro

Tutorial 8 Build resilient, responsive and scalable web applications with SocketPro Tutorial 8 Build resilient, responsive and scalable web applications with SocketPro Contents: Introduction SocketPro ways for resilient, responsive and scalable web applications Vertical scalability o

More information

Genesys Mobile Services Deployment Guide. Most Common System Errors

Genesys Mobile Services Deployment Guide. Most Common System Errors Genesys Mobile Services Deployment Guide Most Common System Errors 9/4/2018 Contents 1 Most Common System Errors 1.1 At Start-up 1.2 Errors in GMS Core Functionality 1.3 Callback Service Errors 2 Chat

More information

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or remote-live attendance. XML Programming Duration: 5 Days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options. Click here for more info. Delivery Options:

More information

Web Programming Paper Solution (Chapter wise)

Web Programming Paper Solution (Chapter wise) What is valid XML document? Design an XML document for address book If in XML document All tags are properly closed All tags are properly nested They have a single root element XML document forms XML tree

More information

CS 498RK FALL RESTFUL APIs

CS 498RK FALL RESTFUL APIs CS 498RK FALL 2017 RESTFUL APIs Designing Restful Apis blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/ www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api Resources

More information

Mobile Application Programming. Data and Persistence

Mobile Application Programming. Data and Persistence Mobile Application Programming Data and Persistence Data Files Data Files Lots of C compatibility knowledge required! FILE fopen() fread() vfscanf() fwrite() vfprintf() fclose() Data Files NSData(contentsOfFile:)

More information

REST AND AJAX. Introduction. Module 13

REST AND AJAX. Introduction. Module 13 Module 13 REST AND AJAX Introduction > Until now we have been building quite a classic web application: we send a request to the server, the server processes the request, and we render the result and show

More information

Chapter 13 XML: Extensible Markup Language

Chapter 13 XML: Extensible Markup Language Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client V Application Programs Webserver V Database Server

More information

SUN. Java Platform Enterprise Edition 6 Web Services Developer Certified Professional

SUN. Java Platform Enterprise Edition 6 Web Services Developer Certified Professional SUN 311-232 Java Platform Enterprise Edition 6 Web Services Developer Certified Professional Download Full Version : http://killexams.com/pass4sure/exam-detail/311-232 QUESTION: 109 What are three best

More information

Pushing the Limits. ios 6 Programming TOUCH ADVANCED APPLICATION DEVELOPMENT FOR APPLE IPHONE, IPAD, AND IPOD WILEY. Rob Napier and Mugunth Kumar

Pushing the Limits. ios 6 Programming TOUCH ADVANCED APPLICATION DEVELOPMENT FOR APPLE IPHONE, IPAD, AND IPOD WILEY. Rob Napier and Mugunth Kumar ios 6 Programming Pushing the Limits ADVANCED APPLICATION DEVELOPMENT FOR APPLE IPHONE, IPAD, AND IPOD TOUCH Rob Napier and Mugunth Kumar WILEY A John Wiley and Sons, Ltd, Publication Introduction 1 Who

More information

Index LICENSED PRODUCT NOT FOR RESALE

Index LICENSED PRODUCT NOT FOR RESALE Index LICENSED PRODUCT NOT FOR RESALE A Absolute positioning, 100 102 with multi-columns, 101 Accelerometer, 263 Access data, 225 227 Adding elements, 209 211 to display, 210 Animated boxes creation using

More information

Improve Web Application Performance with Zend Platform

Improve Web Application Performance with Zend Platform Improve Web Application Performance with Zend Platform Shahar Evron Zend Sr. PHP Specialist Copyright 2007, Zend Technologies Inc. Agenda Benchmark Setup Comprehensive Performance Multilayered Caching

More information

PS/2 Web Services

PS/2 Web Services 703128 PS/2 Web Services REST Services Monday, 2015-01-12 Copyright 2014 STI INNSBRUCK www.sti-innsbruck.at Outline REST Services Task: Java API for RESTful Web Services (JAX-RS) REST Web Services design

More information

About 1. Chapter 1: Getting started with odata 2. Remarks 2. Examples 2. Installation or Setup 2. Odata- The Best way to Rest 2

About 1. Chapter 1: Getting started with odata 2. Remarks 2. Examples 2. Installation or Setup 2. Odata- The Best way to Rest 2 odata #odata Table of Contents About 1 Chapter 1: Getting started with odata 2 Remarks 2 Examples 2 Installation or Setup 2 Odata- The Best way to Rest 2 Chapter 2: Azure AD authentication for Node.js

More information

Introduction to XML. XML: basic elements

Introduction to XML. XML: basic elements Introduction to XML XML: basic elements XML Trying to wrap your brain around XML is sort of like trying to put an octopus in a bottle. Every time you think you have it under control, a new tentacle shows

More information

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets 1. Introduction How do the pages you're reading in your favorite Web browser show up there? When you log into your favorite Web site, how does the Web site know that you're you? And how do Web retailers

More information

XML: Tools and Extensions

XML: Tools and Extensions XML: Tools and Extensions Web Programming Uta Priss ZELL, Ostfalia University 2013 Web Programming XML2 Slide 1/20 Outline XML Parsers DOM SAX Data binding Web Programming XML2 Slide 2/20 Tree-based parser

More information

CS193X: Web Programming Fundamentals

CS193X: Web Programming Fundamentals CS193X: Web Programming Fundamentals Spring 2017 Victoria Kirst (vrk@stanford.edu) Schedule Today: - Fetch - JSON - Fetch in an class - Querying REST APIs - Form submission - HW4 out! GitHub repo for today's

More information

Discussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type

Discussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type Discussion #4 CSS VS XSLT Difference 1 CSS Multiple stylesheet types with cascading priorities XSLT One stylesheet type Difference 2 Used for HTML Used for structured document Difference 3 Only client

More information

Certified Facebook Apps Developer VS-1059

Certified Facebook Apps Developer VS-1059 Certified Facebook Apps Developer VS-1059 Certified Facebook Apps Developer Certified Facebook Apps Developer Certification Code VS-1059 Vskills certification for Facebook Apps Developer assesses the candidate

More information

Lesson 15 SOA with REST (Part II)

Lesson 15 SOA with REST (Part II) Lesson 15 SOA with REST (Part II) Service Oriented Architectures Security Module 3 - Resource-oriented services Unit 1 REST Ernesto Damiani Università di Milano REST Design Tips 1. Understanding GET vs.

More information

Introduction to JSON. Roger Lacroix MQ Technical Conference v

Introduction to JSON. Roger Lacroix  MQ Technical Conference v Introduction to JSON Roger Lacroix roger.lacroix@capitalware.com http://www.capitalware.com What is JSON? JSON: JavaScript Object Notation. JSON is a simple, text-based way to store and transmit structured

More information

Building loosely coupled and scalable systems using Event-Driven Architecture. Jonas Bonér Patrik Nordwall Andreas Källberg

Building loosely coupled and scalable systems using Event-Driven Architecture. Jonas Bonér Patrik Nordwall Andreas Källberg Building loosely coupled and scalable systems using Event-Driven Architecture Jonas Bonér Patrik Nordwall Andreas Källberg Why is EDA Important for Scalability? What building blocks does EDA consists of?

More information

API Security Management with Sentinet SENTINET

API Security Management with Sentinet SENTINET API Security Management with Sentinet SENTINET Overview 1 Contents Introduction... 2 Security Mediation and Translation... 3 Security Models... 3 Authentication... 4 Authorization... 5 Bidirectional Security

More information

Front End Programming

Front End Programming Front End Programming Mendel Rosenblum Brief history of Web Applications Initially: static HTML files only. Common Gateway Interface (CGI) Certain URLs map to executable programs that generate web page

More information

Web Technology for Test and Automation Applications

Web Technology for Test and Automation Applications Web Technology for Test and Automation Applications Fanie Coetzer - FSE Demo Operator Technician Engineers Your boss Test Sequencer 3 Goal I know nothing I know what it takes to get started on web applications

More information

Copyright 2016 Pivotal. All rights reserved. Cloud Native Design. Includes 12 Factor Apps

Copyright 2016 Pivotal. All rights reserved. Cloud Native Design. Includes 12 Factor Apps 1 Cloud Native Design Includes 12 Factor Apps Topics 12-Factor Applications Cloud Native Design Guidelines 2 http://12factor.net Outlines architectural principles and patterns for modern apps Focus on

More information

CSC Web Technologies, Spring Web Data Exchange Formats

CSC Web Technologies, Spring Web Data Exchange Formats CSC 342 - Web Technologies, Spring 2017 Web Data Exchange Formats Web Data Exchange Data exchange is the process of transforming structured data from one format to another to facilitate data sharing between

More information

Integration Test Plan

Integration Test Plan Integration Test Plan Team B.E.E.F.E.A.T.E.R. Nick Canzoneri Adam Hamilton Georgi Simeonov Nick Wolfgang Matt Wozniski Date: May 1, 2009 Date Description Revision February 17, 2009 Initial revision 1 April

More information

CONVERTIGO SDK THE ULTIMATE CLIENT MOBILE API FOR CONVERTIGO MBAAS

CONVERTIGO SDK THE ULTIMATE CLIENT MOBILE API FOR CONVERTIGO MBAAS CONVERTIGO SDK THE ULTIMATE CLIENT MOBILE API FOR CONVERTIGO MBAAS WHY CONVERTIGO SDK? Abstracts Mobile app developer from protocol complexity Gives simple cross-platform API to access Convertigo MBaaS

More information

Unit 4 The Web. Computer Concepts Unit Contents. 4 Web Overview. 4 Section A: Web Basics. 4 Evolution

Unit 4 The Web. Computer Concepts Unit Contents. 4 Web Overview. 4 Section A: Web Basics. 4 Evolution Unit 4 The Web Computer Concepts 2016 ENHANCED EDITION 4 Unit Contents Section A: Web Basics Section B: Browsers Section C: HTML Section D: HTTP Section E: Search Engines 2 4 Section A: Web Basics 4 Web

More information

1Z Oracle. Java Platform Enterprise Edition 6 Web Services Developer Certified Expert

1Z Oracle. Java Platform Enterprise Edition 6 Web Services Developer Certified Expert Oracle 1Z0-897 Java Platform Enterprise Edition 6 Web Services Developer Certified Expert Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-897 QUESTION: 113 Which three statements

More information

Introduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University

Introduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML

More information

TECHNICAL NOTE HOW TO USE WEB SERVICES. Document: Kalipso_TechDocs_Web_Services. Revision: 1.0. Kalipso version:

TECHNICAL NOTE HOW TO USE WEB SERVICES. Document: Kalipso_TechDocs_Web_Services. Revision: 1.0. Kalipso version: TECHNICAL NOTE HOW TO USE WEB SERVICES Document: Kalipso_TechDocs_Web_Services Revision: 1.0 Kalipso version: 4.0.0 211217 Date: 08/03/2018 Kalipso documentation How to Use Web Services 1 Contents 1. About...

More information

Applikationen im Browser Webservices ohne Grenzen

Applikationen im Browser Webservices ohne Grenzen Applikationen im Browser Webservices ohne Grenzen Dan Theurer, Technical Evangelist Yahoo! Developer Network Java Forum Stuttgart, CA 5. Juli 2007 2007 About Me Software Technik - FHTE Esslingen DB2e -

More information

Using OAuth 2.0 to Access ionbiz APIs

Using OAuth 2.0 to Access ionbiz APIs Using OAuth 2.0 to Access ionbiz APIs ionbiz APIs use the OAuth 2.0 protocol for authentication and authorization. ionbiz supports common OAuth 2.0 scenarios such as those for web server, installed, and

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Semester 2, 2017 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid= 2465 1

More information

5 System architecture

5 System architecture 5 System architecture This chapter provides an overview of the system architecture. The first section presents a superficial explanation of the entire systems architecture. In section two, architectural

More information

ACCESSING REMOTE DATABASE IN IOS APPLICATION USING JSON PARSING WITH OBJECTIVE-C

ACCESSING REMOTE DATABASE IN IOS APPLICATION USING JSON PARSING WITH OBJECTIVE-C ACCESSING REMOTE DATABASE IN IOS APPLICATION USING JSON PARSING WITH OBJECTIVE-C Ishwarjit Kaur 1, Sharanpreet Kaur 2, Gurinder Kaur 3 1,3 Assistant Professor, Mata Gujri College, Fatehgarh Sahib. 2 Research

More information

ITP 342 Mobile App Development. APIs

ITP 342 Mobile App Development. APIs ITP 342 Mobile App Development APIs API Application Programming Interface (API) A specification intended to be used as an interface by software components to communicate with each other An API is usually

More information

WebApp development. Outline. Web app structure. HTML basics. 1. Fundamentals of a web app / website. Tiberiu Vilcu

WebApp development. Outline. Web app structure. HTML basics. 1. Fundamentals of a web app / website. Tiberiu Vilcu Outline WebApp development Tiberiu Vilcu Prepared for EECS 411 Sugih Jamin 20 September 2017 1 2 Web app structure HTML basics Back-end: Web server Database / data storage Front-end: HTML page CSS JavaScript

More information

An Overview of. Eric Bollens ebollens AT ucla.edu Mobile Web Framework Architect UCLA Office of Information Technology

An Overview of. Eric Bollens ebollens AT ucla.edu Mobile Web Framework Architect UCLA Office of Information Technology An Overview of Eric Bollens ebollens AT ucla.edu Mobile Web Framework Architect UCLA Office of Information Technology August 23, 2011 1. Design Principles 2. Architectural Patterns 3. Building for Degradation

More information