SlideShare a Scribd company logo
1 of 36
Sinatra 培训介绍
[object Object],[object Object]
[object Object],[object Object]
 
[object Object]
[object Object]
[object Object]
[object Object],[object Object]
[object Object],[object Object],[object Object]
My Way ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]
[object Object],[object Object]
$   mate hi.rb require   'rubygems' require   'sinatra' get  '/hi'  do    "Hello World!" end ----------------------------- $ gem install sinatra $ ruby hi.rb == Sinatra has taken the stage ... >> Listening on 0.0.0.0:4567
[object Object],[object Object]
[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],“
[object Object],[object Object],[object Object],[object Object],[object Object],“
[object Object]
[object Object],[object Object],[object Object]
Sinatra  v.s  Rails Metal
生产环境 数据来源:吴江 @JavaEye
[object Object]
[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]
? ? ? ? ? ? ? ? ? ?
 
 
 
访问我们的博客 http://cn.rubylearning.com/blog/
 
WELCOME! ようこそ!   欢迎! 歡迎!
为了节省 大家的时间
不接受 任何提问
谢谢
Reference ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

Viewers also liked

Ade%20 evaluation%20ppt%20%28for%20april%20meeting%29
Ade%20 evaluation%20ppt%20%28for%20april%20meeting%29Ade%20 evaluation%20ppt%20%28for%20april%20meeting%29
Ade%20 evaluation%20ppt%20%28for%20april%20meeting%29Tonia McMillan
 
Cutting Edge Digital Learning
Cutting Edge Digital LearningCutting Edge Digital Learning
Cutting Edge Digital LearningJohn Traxler
 
岛根县政府的挑战
岛根县政府的挑战岛根县政府的挑战
岛根县政府的挑战Daniel Lv
 
Ķekava PMK
Ķekava PMKĶekava PMK
Ķekava PMKonkulis
 
Hanzabankas jaunās internetbankas prezentācija
Hanzabankas jaunās internetbankas prezentācijaHanzabankas jaunās internetbankas prezentācija
Hanzabankas jaunās internetbankas prezentācijaonkulis
 
Writing a research paper
Writing a research paperWriting a research paper
Writing a research paperJohn Traxler
 
Stipro Skrejiens 2010
Stipro Skrejiens 2010Stipro Skrejiens 2010
Stipro Skrejiens 2010onkulis
 
Creating A Blog Activity For Esl Students 1194994540404036 2
Creating A Blog Activity For Esl Students 1194994540404036 2Creating A Blog Activity For Esl Students 1194994540404036 2
Creating A Blog Activity For Esl Students 1194994540404036 2arturoivan
 

Viewers also liked (13)

Ade%20 evaluation%20ppt%20%28for%20april%20meeting%29
Ade%20 evaluation%20ppt%20%28for%20april%20meeting%29Ade%20 evaluation%20ppt%20%28for%20april%20meeting%29
Ade%20 evaluation%20ppt%20%28for%20april%20meeting%29
 
ADE Evaluation System
ADE Evaluation SystemADE Evaluation System
ADE Evaluation System
 
Cutting Edge Digital Learning
Cutting Edge Digital LearningCutting Edge Digital Learning
Cutting Edge Digital Learning
 
Tech and ccss
Tech and ccssTech and ccss
Tech and ccss
 
Tonia's Apps
Tonia's AppsTonia's Apps
Tonia's Apps
 
20 cool ways
20 cool ways20 cool ways
20 cool ways
 
岛根县政府的挑战
岛根县政府的挑战岛根县政府的挑战
岛根县政府的挑战
 
Ķekava PMK
Ķekava PMKĶekava PMK
Ķekava PMK
 
Hanzabankas jaunās internetbankas prezentācija
Hanzabankas jaunās internetbankas prezentācijaHanzabankas jaunās internetbankas prezentācija
Hanzabankas jaunās internetbankas prezentācija
 
Writing a research paper
Writing a research paperWriting a research paper
Writing a research paper
 
Stipro Skrejiens 2010
Stipro Skrejiens 2010Stipro Skrejiens 2010
Stipro Skrejiens 2010
 
Creating A Blog Activity For Esl Students 1194994540404036 2
Creating A Blog Activity For Esl Students 1194994540404036 2Creating A Blog Activity For Esl Students 1194994540404036 2
Creating A Blog Activity For Esl Students 1194994540404036 2
 
Hoe CreëE[1]..
Hoe CreëE[1]..Hoe CreëE[1]..
Hoe CreëE[1]..
 

More from Daniel Lv

Javascript framework and backbone
Javascript framework and backboneJavascript framework and backbone
Javascript framework and backboneDaniel Lv
 
Getting start with titanium
Getting start with titaniumGetting start with titanium
Getting start with titaniumDaniel Lv
 
上海的Rails社区
上海的Rails社区上海的Rails社区
上海的Rails社区Daniel Lv
 
Kungfurails2009
Kungfurails2009Kungfurails2009
Kungfurails2009Daniel Lv
 
Contributing To Rails By Plugin Gem
Contributing To Rails By Plugin GemContributing To Rails By Plugin Gem
Contributing To Rails By Plugin GemDaniel Lv
 
J Ruby Kungfu Rails
J Ruby   Kungfu RailsJ Ruby   Kungfu Rails
J Ruby Kungfu RailsDaniel Lv
 
Active Direct
Active DirectActive Direct
Active DirectDaniel Lv
 

More from Daniel Lv (8)

Javascript framework and backbone
Javascript framework and backboneJavascript framework and backbone
Javascript framework and backbone
 
Getting start with titanium
Getting start with titaniumGetting start with titanium
Getting start with titanium
 
上海的Rails社区
上海的Rails社区上海的Rails社区
上海的Rails社区
 
Kungfurails2009
Kungfurails2009Kungfurails2009
Kungfurails2009
 
Contributing To Rails By Plugin Gem
Contributing To Rails By Plugin GemContributing To Rails By Plugin Gem
Contributing To Rails By Plugin Gem
 
J Ruby Kungfu Rails
J Ruby   Kungfu RailsJ Ruby   Kungfu Rails
J Ruby Kungfu Rails
 
Active Direct
Active DirectActive Direct
Active Direct
 
Why Ruby
Why RubyWhy Ruby
Why Ruby
 

Recently uploaded

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

Recently uploaded (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Sinatra

Editor's Notes

  1. 下面介绍 Sinatra 培训课程
  2. 首先, 什么是 SInatra 。 其实更加贴切的问题是: 谁是 Sinatra 。
  3. 首先, 什么是 SInatra 。 其实更加贴切的问题是: 谁是 Sinatra 。
  4. 这就是 Sinatra
  5. 不认识。 我也不认识。 怎么办? S earch T he F **king W eb!
  6. 不认识。 我也不认识。 怎么办? S earch T he F **king W eb!
  7. 不认识。 我也不认识。 怎么办? S earch T he F **king W eb!
  8. 维基百科 好多英文啊。。。 没听过他的歌, 没看过他的电影, 爸爸级人物的偶像。
  9. 维基百科 好多英文啊。。。 没听过他的歌, 没看过他的电影, 爸爸级人物的偶像。
  10. 维基百科 好多英文啊。。。 没听过他的歌, 没看过他的电影, 爸爸级人物的偶像。
  11. 维基百科 好多英文啊。。。 没听过他的歌, 没看过他的电影, 爸爸级人物的偶像。
  12. 还是不认识? 想开点,忘掉他吧。
  13. 认识了吧! 认识它,只能说明一个问题:
  14. 你们都是宅男宅女
  15. 你们都是宅男宅女
  16. 言归正传, Sinatra 究竟 hao
  17. 看看代码行数就知道了:
  18. 单独运行 Sinatra 与通过 Rails Metal 运行 Sinatra 的性能比较:
  19. 启动生产环境后的性能比较。
  20. 谁将是 Sinatra 课程的讲师呢?
  21. 不管他是谁,它肯定是个高手。
  22. 我们的讲师肯定是个高手。
  23. 课程地点是在上海的某处。
  24. 课程开始的时间可能是 11 月或 12 月。
  25. 课程费用? 我们暂时还没有决定。
  26. 更多关于课程的安排,请关注我们的博客: http://cn.rubylearning.com/blog/
  27. 欢迎所有对 Sinatra 感兴趣的开发人员参加我们的培训课程。
  28. 欢迎所有对 Sinatra 感兴趣的开发人员参加我们的培训课程。
  29. 欢迎所有对 Sinatra 感兴趣的开发人员参加我们的培训课程。
  30. 欢迎所有对 Sinatra 感兴趣的开发人员参加我们的培训课程。