Suche senden
Hochladen
PSGI REST API
•
2 gefällt mir
•
1,064 views
Dovrtel Vaclav
Folgen
Quick intro to PSGI and implementation of REST API in Plack.
Weniger lesen
Mehr lesen
Software
Melden
Teilen
Melden
Teilen
1 von 18
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Going All-In With Go For CLI Apps
Going All-In With Go For CLI Apps
Tom Elliott
How to build and distribute CLI tool in 15 minutes with Golang
How to build and distribute CLI tool in 15 minutes with Golang
Kohei Kimura
1
1
swetha gokavarapu
Sol8
Sol8
University Of Lahore
Asynchronous I/O in PHP
Asynchronous I/O in PHP
Thomas Weinert
Quicli - From zero to a full CLI application in a few lines of Rust
Quicli - From zero to a full CLI application in a few lines of Rust
Damien Castelltort
Grailsでドメイン駆動設計を実践する時の勘所
Grailsでドメイン駆動設計を実践する時の勘所
Takuma Watabiki
Tasks: you gotta know how to run them
Tasks: you gotta know how to run them
Filipe Ximenes
Empfohlen
Going All-In With Go For CLI Apps
Going All-In With Go For CLI Apps
Tom Elliott
How to build and distribute CLI tool in 15 minutes with Golang
How to build and distribute CLI tool in 15 minutes with Golang
Kohei Kimura
1
1
swetha gokavarapu
Sol8
Sol8
University Of Lahore
Asynchronous I/O in PHP
Asynchronous I/O in PHP
Thomas Weinert
Quicli - From zero to a full CLI application in a few lines of Rust
Quicli - From zero to a full CLI application in a few lines of Rust
Damien Castelltort
Grailsでドメイン駆動設計を実践する時の勘所
Grailsでドメイン駆動設計を実践する時の勘所
Takuma Watabiki
Tasks: you gotta know how to run them
Tasks: you gotta know how to run them
Filipe Ximenes
[Quase] Tudo que você precisa saber sobre tarefas assíncronas
[Quase] Tudo que você precisa saber sobre tarefas assíncronas
Filipe Ximenes
The Big Three
The Big Three
Roman Okolovich
Code
Code
Lay Chan Dara Raksmey
Fabric for fun_and_profit
Fabric for fun_and_profit
Javier Jair Trejo García
Steam Learn: Composer
Steam Learn: Composer
inovia
Real world scala
Real world scala
lunfu zhong
Javascript Continues Integration in Jenkins with AngularJS
Javascript Continues Integration in Jenkins with AngularJS
Ladislav Prskavec
Compiling Qt Apps
Compiling Qt Apps
Jussi Pohjolainen
MFC Cosinus
MFC Cosinus
Razvan Raducanu, PhD
Go serving: Building server app with go
Go serving: Building server app with go
Hean Hong Leong
Perl: Coro asynchronous
Perl: Coro asynchronous
Shmuel Fomberg
Array using recursion
Array using recursion
Swarup Boro
File Handling Program
File Handling Program
တမန္ေတာ္ က်ဴးပါက်ဲ
LLVM Workshop Osaka Umeda, Japan
LLVM Workshop Osaka Umeda, Japan
ujihisa
Into to Docker (Central PA Java User Group - 8/14/2017)
Into to Docker (Central PA Java User Group - 8/14/2017)
Mike Melusky
Ansible Inventory Plugins
Ansible Inventory Plugins
jtyr
Writing a compiler in go
Writing a compiler in go
Yusuke Kita
PyCon lightning talk on my Toro module for Tornado
PyCon lightning talk on my Toro module for Tornado
emptysquare
Function
Function
venkatme83
07 build your-own_php_extension
07 build your-own_php_extension
Nguyen Duc Phu
Plack at YAPC::NA 2010
Plack at YAPC::NA 2010
Tatsuhiko Miyagawa
Plack perl superglue for web frameworks and servers
Plack perl superglue for web frameworks and servers
Tatsuhiko Miyagawa
Weitere ähnliche Inhalte
Was ist angesagt?
[Quase] Tudo que você precisa saber sobre tarefas assíncronas
[Quase] Tudo que você precisa saber sobre tarefas assíncronas
Filipe Ximenes
The Big Three
The Big Three
Roman Okolovich
Code
Code
Lay Chan Dara Raksmey
Fabric for fun_and_profit
Fabric for fun_and_profit
Javier Jair Trejo García
Steam Learn: Composer
Steam Learn: Composer
inovia
Real world scala
Real world scala
lunfu zhong
Javascript Continues Integration in Jenkins with AngularJS
Javascript Continues Integration in Jenkins with AngularJS
Ladislav Prskavec
Compiling Qt Apps
Compiling Qt Apps
Jussi Pohjolainen
MFC Cosinus
MFC Cosinus
Razvan Raducanu, PhD
Go serving: Building server app with go
Go serving: Building server app with go
Hean Hong Leong
Perl: Coro asynchronous
Perl: Coro asynchronous
Shmuel Fomberg
Array using recursion
Array using recursion
Swarup Boro
File Handling Program
File Handling Program
တမန္ေတာ္ က်ဴးပါက်ဲ
LLVM Workshop Osaka Umeda, Japan
LLVM Workshop Osaka Umeda, Japan
ujihisa
Into to Docker (Central PA Java User Group - 8/14/2017)
Into to Docker (Central PA Java User Group - 8/14/2017)
Mike Melusky
Ansible Inventory Plugins
Ansible Inventory Plugins
jtyr
Writing a compiler in go
Writing a compiler in go
Yusuke Kita
PyCon lightning talk on my Toro module for Tornado
PyCon lightning talk on my Toro module for Tornado
emptysquare
Function
Function
venkatme83
07 build your-own_php_extension
07 build your-own_php_extension
Nguyen Duc Phu
Was ist angesagt?
(20)
[Quase] Tudo que você precisa saber sobre tarefas assíncronas
[Quase] Tudo que você precisa saber sobre tarefas assíncronas
The Big Three
The Big Three
Code
Code
Fabric for fun_and_profit
Fabric for fun_and_profit
Steam Learn: Composer
Steam Learn: Composer
Real world scala
Real world scala
Javascript Continues Integration in Jenkins with AngularJS
Javascript Continues Integration in Jenkins with AngularJS
Compiling Qt Apps
Compiling Qt Apps
MFC Cosinus
MFC Cosinus
Go serving: Building server app with go
Go serving: Building server app with go
Perl: Coro asynchronous
Perl: Coro asynchronous
Array using recursion
Array using recursion
File Handling Program
File Handling Program
LLVM Workshop Osaka Umeda, Japan
LLVM Workshop Osaka Umeda, Japan
Into to Docker (Central PA Java User Group - 8/14/2017)
Into to Docker (Central PA Java User Group - 8/14/2017)
Ansible Inventory Plugins
Ansible Inventory Plugins
Writing a compiler in go
Writing a compiler in go
PyCon lightning talk on my Toro module for Tornado
PyCon lightning talk on my Toro module for Tornado
Function
Function
07 build your-own_php_extension
07 build your-own_php_extension
Ähnlich wie PSGI REST API
Plack at YAPC::NA 2010
Plack at YAPC::NA 2010
Tatsuhiko Miyagawa
Plack perl superglue for web frameworks and servers
Plack perl superglue for web frameworks and servers
Tatsuhiko Miyagawa
PSGI/Plack OSDC.TW
PSGI/Plack OSDC.TW
Tatsuhiko Miyagawa
Plack - LPW 2009
Plack - LPW 2009
Tatsuhiko Miyagawa
Psgi Plack Sfpm
Psgi Plack Sfpm
som_nangia
Psgi Plack Sfpm
Psgi Plack Sfpm
wilburlo
Mangling
Mangling
Olaf Alders
Intro to PSGI and Plack
Intro to PSGI and Plack
Tatsuhiko Miyagawa
Mastering Microservices with Kong (DevoxxUK 2019)
Mastering Microservices with Kong (DevoxxUK 2019)
Maarten Mulders
Collaboration hack with slackbot - PyCon HK 2018 - 2018.11.24
Collaboration hack with slackbot - PyCon HK 2018 - 2018.11.24
Kei IWASAKI
Plack at OSCON 2010
Plack at OSCON 2010
Tatsuhiko Miyagawa
Interceptors: Into the Core of Pedestal
Interceptors: Into the Core of Pedestal
Kent Ohashi
KubeCon EU 2016: Getting the Jobs Done With Kubernetes
KubeCon EU 2016: Getting the Jobs Done With Kubernetes
KubeAcademy
Get your teeth into Plack
Get your teeth into Plack
Workhorse Computing
How to build a High Performance PSGI/Plack Server
How to build a High Performance PSGI/Plack Server
Masahiro Nagano
Develop microservices in php
Develop microservices in php
Zend by Rogue Wave Software
Denys Serhiienko "ASGI in depth"
Denys Serhiienko "ASGI in depth"
Fwdays
Hacking pokemon go [droidcon tel aviv 2016]
Hacking pokemon go [droidcon tel aviv 2016]
Guy Lis
Diseño y Desarrollo de APIs
Diseño y Desarrollo de APIs
Raúl Neis
Very Brief Intro to Catalyst
Very Brief Intro to Catalyst
Zachary Blair
Ähnlich wie PSGI REST API
(20)
Plack at YAPC::NA 2010
Plack at YAPC::NA 2010
Plack perl superglue for web frameworks and servers
Plack perl superglue for web frameworks and servers
PSGI/Plack OSDC.TW
PSGI/Plack OSDC.TW
Plack - LPW 2009
Plack - LPW 2009
Psgi Plack Sfpm
Psgi Plack Sfpm
Psgi Plack Sfpm
Psgi Plack Sfpm
Mangling
Mangling
Intro to PSGI and Plack
Intro to PSGI and Plack
Mastering Microservices with Kong (DevoxxUK 2019)
Mastering Microservices with Kong (DevoxxUK 2019)
Collaboration hack with slackbot - PyCon HK 2018 - 2018.11.24
Collaboration hack with slackbot - PyCon HK 2018 - 2018.11.24
Plack at OSCON 2010
Plack at OSCON 2010
Interceptors: Into the Core of Pedestal
Interceptors: Into the Core of Pedestal
KubeCon EU 2016: Getting the Jobs Done With Kubernetes
KubeCon EU 2016: Getting the Jobs Done With Kubernetes
Get your teeth into Plack
Get your teeth into Plack
How to build a High Performance PSGI/Plack Server
How to build a High Performance PSGI/Plack Server
Develop microservices in php
Develop microservices in php
Denys Serhiienko "ASGI in depth"
Denys Serhiienko "ASGI in depth"
Hacking pokemon go [droidcon tel aviv 2016]
Hacking pokemon go [droidcon tel aviv 2016]
Diseño y Desarrollo de APIs
Diseño y Desarrollo de APIs
Very Brief Intro to Catalyst
Very Brief Intro to Catalyst
Kürzlich hochgeladen
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
bodapatigopi8531
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
kalichargn70th171
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
ThousandEyes
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
kaushalgiri8080
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
Jhone kinadey
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
stazi3110
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
ABDERRAOUF MEHENNI
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
kalichargn70th171
DNT_Corporate presentation know about us
DNT_Corporate presentation know about us
Dynamic Netsoft
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
gurkirankumar98700
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
OPEN KNOWLEDGE GmbH
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
AxelRicardoTrocheRiq
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
OnePlan Solutions
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
kalichargn70th171
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
BradBedford3
Professional Resume Template for Software Developers
Professional Resume Template for Software Developers
Vinodh Ram
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
Evangelist Apps https://twitter.com/EvangelistSW/
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
soniya singh
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
aagamshah0812
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
ComplianceQuest1
Kürzlich hochgeladen
(20)
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
DNT_Corporate presentation know about us
DNT_Corporate presentation know about us
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Professional Resume Template for Software Developers
Professional Resume Template for Software Developers
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
PSGI REST API
1.
REST API IN PLACK(PSGI) by
Václav Dovrtěl
2.
TABLE OF CONTENTS PSGI,
Plack intro Rest API middlewares Demo
3.
OVERVIEW
4.
PSGI, PLACK
5.
PSGI Interface Author: Tatsuhiko Miyagawa Inspired
by: Python's WSGI and Ruby's Rack. http://plackperl.org/
6.
HELLO WORLD my $app = sub { my $env = shift; return [ 200, # Status ['ContentType', 'text/plain'], # Header ['Hello World'] # Body ] }
7.
EXAMPLE 1 Hello World
example
8.
PLACK Tools Middleware - Plack::Middleware::* Application
- Plack::App::* (::File, ::Proxy, ...) Handler - Plack::Handler::* (::CGI, ::FCGI ...)
9.
MIDDLEWARE
10.
HELLO WORLD MIDDLEWARE my $mw = sub { my $env = shift; ### Pre App ### App my $res = $app>($env); ### Post App return $res; }; }
11.
EXAMPLE 2 Hello World
Middleware example
12.
PLACK::BUILDER use Plack::Builder; my $app = sub { ... }; builder { enable "Deflater"; enable "Session", store => "File"; enable "Debug", panels => [ qw(DBITrace Memory Timer) ]; enable "+My::Plack::Middleware"; $app; };
13.
EXAMPLE 3 Plack::Builder example
14.
PERFORMANCE 4core i5, 8GB
RAM "Hello World" test: Monoceros - 19k req/s Twiggy (PreFork) - 14k req/s Starman - 10k req/s NodeJS - 5k req/s
15.
REST API MIDDLEWARES
16.
LIBRARIES
17.
DEMO github.com/vasekd/plack-rest-api-example
18.
Václav Dovrtěl Presentation generated
by powered by . github.com/mj41/Presentation-Builder github.com/hakimel/reveal.js
Jetzt herunterladen