The document provides information about web services and mobile applications. It discusses:
- Old style web services using SOAP and WSDL to define interfaces and interactions. Newer RESTful web services use HTTP methods and URI patterns instead of WSDL.
- Examples of building RESTful web APIs to store high scores from a mobile game app and retrieving leaderboards. The APIs were implemented with PHP and hosted on OpenShift.
- Suggestions for small practice projects like building web services for simple functions like hello world and converting temperatures, then calling them from mobile apps. Code examples and resources are provided.
In Jan 2012, Zynga was kind enough to invite me to speak at their SF office. These are the slides I presented; its much of the same SPDY content, although starting to focus more on mobile.
In Jan 2012, Zynga was kind enough to invite me to speak at their SF office. These are the slides I presented; its much of the same SPDY content, although starting to focus more on mobile.
Ajax [Asunchronous HTTP request ] - A Deep Introduction About Ajax Technology - Lets Take a Glance About Ajax ,Where it's use | Whats the purpose of Ajax in Web Application Developement . Bacis of Ajax Technology + Coding Tips ..
1. Introduction to Web Services
2. Web Service Architecture
3. What are Web Services?
4. Why are Web Services?
5. The base of WS
6. What is SOAP?
7. What is WSDL?
8. How to test a web service?
9. Examples
Ajax [Asunchronous HTTP request ] - A Deep Introduction About Ajax Technology - Lets Take a Glance About Ajax ,Where it's use | Whats the purpose of Ajax in Web Application Developement . Bacis of Ajax Technology + Coding Tips ..
1. Introduction to Web Services
2. Web Service Architecture
3. What are Web Services?
4. Why are Web Services?
5. The base of WS
6. What is SOAP?
7. What is WSDL?
8. How to test a web service?
9. Examples
This session will provide attendees with hands-on experience and in-depth knowledge of using Node.js as a runtime environment and Express.js as a web framework to build scalable and fast backend systems. Additionally, attendees will learn about Passport.js, a popular authentication middleware for Node.js, and how to use Prisma ORM to handle database operations in a type-safe and efficient manner.
The session will be conducted by experienced developers who have worked with these technologies and will be able to provide valuable insights and best practices. The session will be interactive and include plenty of opportunities for attendees to ask questions and work on real-world projects.
Web service API opens new possibilities to extend websites/web applications including mobile applications, third parties services, etc. We will design a web service API from scratch and review best practices and common mistakes.
Slides to talk presented on #ngpartycz about the history of APIs, evolution and how to pick the right technology for you. It might not be (and probably will not be) the technically best solution. And of course you will find out why is GraphQL actually REST.
Ten practical ways to improve front-end performanceAndrew Rota
Conference talk presented at PHP South Coast 2017. Ten concrete ways to improve web performance, split between quick tactical wins and longer-term overarching strategies.
Web services tutorial slides from my session at DPC 2012 in Amsterdam. In this 3-hour session we built the simplest possible service, and then extended it, looking at RPC, REST and SOAP along the way.
This is the slide I shared on the second community offline party of Horizon-Dalian. The topic is about restful web, and I started from web service and web history, telling people what the REST might be, and then gave six bindings of REST style.
CRUD APIs can be a very powerful tool. However, simply PUTing and POSTing entities can lead to anemic endpoints that lack business value. Go beyond the traditional CRUD API and provide more expressive and meaningful REST endpoints with an API crafted with a commanding paradigm.
Puppet – Make stateful apps easier than statelessStarcounter
Stateful apps are considered hard and unpractical. The truth is the opposite! With the correct technology, you can develop a thick client SPA with state entirely controlled on the server. Forget writing countless lines of glue code and the callback hell. Welcome to the DRY world of JSON-Patch and PuppetJS!
Flutter workshop @ bang saen 2020 on 26-28 Oct 2020 at The 90's Workplace see more example in github repository https://github.com/anoochit/flutter_bangsaen_2020
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
Web Service and Mobile Integrated Day I
1. Web Service for Mobile
5 jan 2013 @ Sripatum University
Anuchit Chalothorn
anoochit@gmail.com
2. About
● Not a Teacher or Instructor
● Not a Programmer or Developer
● Senior Software Engineer at SIPA
● Content writer not speaker
● I use Linux :)
3. Rules
● You can leave every time.
● If you don't understand and you don't want to
ask you can leave.
● If you want to learn by yourself and I'll give
you a resources, you can leave.
● If you don't understand at all and everything
as I said, you can leave and I'll give a
resources, you can learning by yourself.
4. Quote
“If you cannot do great things, do small things
in a great way” - Napoleon Hill
5. You should know
● Android
● Java
● PHP or some PHP Framework
● Database System
● Service Oriented Architecture (SOA)
● HTTP Services
● XML, JSON, Data Parsing
6. Web Service
A Web service is a method of communication
between two electronic devices over the World
Wide Web. A Web service is a software
function provided at a network address over the
web or the cloud, it is a service that is "always
on" as in the concept of utility computing.
8. Web Services in old fashion
It has an interface described in a machine-
processable format (specifically Web Services
Description Language, known by the acronym
WSDL)
9. Interact
Systems interact with the Web service in a
manner prescribed by its description using
SOAP messages, typically conveyed using
HTTP with an XML serialization in conjunction
with other Web-related standards.
10.
11. Simple diagram
Yellow Pages WSDL
WSDL
WSDL
Requester Provider
SOAP
Requester ask or search yellow pages which address and how to talk with provider. The yellow pages
'll send the response by using WSDL how to talk which provide by Provider to the requester.
Requester receives the address and methods then communicate with Provider.
13. SOAP Sample
If you want to request to SOAP server, you
must know
● URL
○ http://example.com/service.php
● WSDL
○ http://example.com/service.php?wsdl
● Soap Action
○ http://example.com/service.php/HelloWorld
● Method
○ HelloWorld
● Your data to sent
16. Web services in new fashion
Web API is a development in Web services
where emphasis has been moving away from
SOAP based services towards
representational state transfer (REST) based
communications.
17. RESTFul / REST API
a style of software architecture for distributed
systems such as the WWW. The REST
language uses nouns and verbs, and has an
emphasis on readability. Unlike SOAP, REST
does not require XML parsing and does not
require a message header to and from a
service provider.
18. Concept
● the base URI for the web service, such as
http://example.com/resources/
● the Internet media type of the data
supported by the web service.
● 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.
20. Example methods
Resource GET PUT POST DELETE
http://example.org/user list collection replace create delete
http://example.org/user/rose list data replace/ create ? / create delete
21. No "official" standard
There is no "official" standard for RESTful web
services, This is because REST is an
architectural style, unlike SOAP, which is a
protocol. Even though REST is not a standard,
a RESTful implementation such as the Web
can use standards like HTTP, URI, XML, etc.
22. Simple Diagram
GET /user/anuchit HTTP/1.1
Requester Provider
200 with some data
23. Data Format
XML
<?xml version="1.0"?>
<item>
<name>Anuchit Chalothorn</name>
<email>anoochit@gmail.com</email>
</item>
<item>
<name>Sira Nokyongthong</name>
<email>gumaraa@gmail.com</email>
</item>
25. Shortcut - Web Services design
● Choose method old style, new style
● Look around an eco-system
● Who'll using your services
● How to implementation
● Design and document
26. Mobile App & Web Services
http request
Data Req
Provider
(2) (1)
Data Parse Res Data
response
* This is your destiny you cannot change your future, accept using vendor sdk's
27. Case Study - Plus Clever
● Game (Client)
○ sum a set of numbers in to 1 digit
○ score by level calculate from time remain and levels
○ each level has 10 sub-levels
○ never ending game BUT maximum is 10 digits to
calculate
○ keep your high-score online (web service is here)
● Web Service (Server)
○ PaaS on OpenShift
○ PHP, CakePHP, MySQL
28. Case Study - Plus Clever
Enter Your Name
Dakota
Ask a player name in the first time and keep value in SQLite
29. Case Study - Plus Clever
Your Score
1,000,000
If player reach high score keep score in SQLite and publish score to server
30. Case Study - Plus Clever
World
Leaderboard
Xavier - 10,000,000
Dakota - 1,000,000
Luxor - 50,000
Keva - 6,000
Ask score server for world leader board.
31. Case Study - Plus Clever
● REST API
● Using JSON as data
● Using CakePHP to implement score service
● Put in the Cloud ~ OpenShift by RedHat
32. In Real Life
● Plus Clever in Google Play
○ http://tinyurl.com/plusclever
● Score server
○ https://rest-redlinemobi.rhcloud.com/score/
33. Code in GitHub
● Score Server
○ https://github.com/anoochit/rest-score
● Score Server Test
○ https://github.com/anoochit/rest-score-test
● Plus Clever Game
○ https://github.com/anoochit/plusclaver-game
34. Your Case Study - WattPad ?
I'm too old, anyone can describe this
● What is WattPad ?
● What is WattPad do ?
● Who are using WattPad ?
● How to use WattPad ?
...
...
...
35. Quote
“If you cannot do great things, do small things
in a great way” - Napoleon Hill
36. Small things for you
Make Web Services of this small things
● HelloWorld
● Echo your name
● Asking for Date Time
● Temperature Unit Converter
● Search Telephone Number
37. Small things for you
Make Mobile App by calling your web service
● HelloWorld
● Echo your name
● Asking for Date Time
● Temperature Unit Converter
● Search Telephone Number
38. PHP (native)
You can use json_encode() function to
generate JSON string from mix value like
associative array
$data = array("result"=>"hello","success"=>true);
echo json_encode($data);
39. Browser use GET method
if you want to test your RESTful web service by
sent another method, try this
● Advanced REST Client for Chrome
● REST Client for Firefox
40. Call Web Service
GET /user/anoochit
REST
Android
Server
200 OK with XML or JSON string
● HTTP request ● Check request method
● Method GET, POST, PUT or DELETE ● Parse data from URI
● Get BufferReader and pack into ● Process
"String" <= JSON String ● Return XML or JSON string
● Parse "String Key"
● Get your value
41. Small resources
● Thai Create Good Mobile Tutorial
○ http://www.thaicreate.com/mobile.html