Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
teknopedia

teknopedia

teknopedia

teknopedia

teknopedia
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. Rack (Webserver-Interface) – Wikipedia
Rack (Webserver-Interface) – Wikipedia
aus Wikipedia, der freien Enzyklopädie
Rack: ein Ruby-Webserver-Interface

Logo
Basisdaten

Entwickler Leah Neukirchen; James Tucker, Michael Fellinger, Konstantin Haase, Aaron Patterson
Aktuelle Version 1.5.2
(7. Februar 2013)
Betriebssystem plattformunabhängig
Programmier­sprache Ruby
Kategorie Middleware
Lizenz MIT License
rack.github.io

Rack stellt eine minimale, modulare und adaptive Schnittstelle für die Entwicklung von Webapplikationen in der Programmiersprache Ruby bereit. Durch das Wrappen von HTTP-Requests und HTTP-Responses, das auf möglichst einfache Weise erfolgt, vereinheitlicht es die Schnittstelle für Webserver, Webframeworks und die Software dazwischen, die Middleware, und destilliert diese Zugriffe zu einem einzigen Methodenaufruf.

Rack wird in fast allen Webframeworks und Weblibraries in der Ruby-Welt benutzt, z. B. von Ruby On Rails und Sinatra. Es ist als Ruby Gem verfügbar.[1]

Rack stellt in der Ruby-Welt einen De-facto-Standard der Rack-Kompatibilität (englisch "rack-compliant") dar[2] und hat bereits ein Framework in der JavaScript-Welt (jackjs)[3] und eines in der Perl-Welt (Plack) inspiriert.

Beispielapplikation

[Bearbeiten | Quelltext bearbeiten]

Eine Rack-kompatible "Hello World"-Applikation in Ruby syntax:

require 'rack'

app = Proc.new do |env|
  body = "Hello, World!"
  ['200', {'Content-Type' => 'text/html', 'Content-Length' => body.length.to_s}, [body]]
end

Rack::Handler::WEBrick.run app

Siehe auch

[Bearbeiten | Quelltext bearbeiten]
  • Web Server Gateway Interface (Python)
  • Perl Web Server Gateway Interface
  • Python Paste
  • FastCGI
  • Servlet (Java)
  • Server-side JavaScript
  • Apache JServ Protocol
  • Internet Communications Engine
  • Etch (Protokoll) (Cisco)
  • Internet Server API (Microsoft)
  • Ring (Clojure)

Weblinks

[Bearbeiten | Quelltext bearbeiten]
  • Rack Project
  • Rack Schnittstellenspezifikation
  • Rack wiki github
  • Rack at Google Groups
  • Rack-compliant applications
  • Thin Ruby web server
  • The introductory blog post
  • Rack Yehuda Katz
  • Rack coding contest
  • jackjs, a JavaScript clone of Rack

Einzelnachweise

[Bearbeiten | Quelltext bearbeiten]
  1. ↑ https://rubygems.org/gems/rack/
  2. ↑ rubyinside.com
  3. ↑ jackjs.org (Memento des Originals vom 17. Dezember 2014 im Internet Archive)  Info: Der Archivlink wurde automatisch eingesetzt und noch nicht geprüft. Bitte prüfe Original- und Archivlink gemäß Anleitung und entferne dann diesen Hinweis.@1@2Vorlage:Webachiv/IABot/jackjs.org
Webserver-Schnittstellen
Protokolle

CGI | SCGI | FastCGI | AJP

APIs

C NSAPI | C ASAPI | C ISAPI | Jakarta Servlet | ASP.NET | Python WSGI | Ruby Rack | JavaScript JSGI | PSGI | Lua WSAPI 

Apache-Module

mod_jk | mod_lisp | mod_parrot | mod_perl | mod_php | mod_python | mod_wsgi | mod_ruby | Phusion Passenger 

Web APIs

WSDL | XML-RPC | SOAP | REST 

Abgerufen von „https://de.teknopedia.teknokrat.ac.id/w/index.php?title=Rack_(Webserver-Interface)&oldid=227083133“
Kategorien:
  • Ruby (Programmiersprache)
  • Web-Entwicklung
  • Freie Server-Software
Versteckte Kategorie:
  • Wikipedia:Defekte Weblinks/Ungeprüfte Archivlinks 2018-12

  • indonesia
  • Polski
  • العربية
  • Deutsch
  • English
  • Español
  • Français
  • Italiano
  • مصرى
  • Nederlands
  • 日本語
  • Português
  • Sinugboanong Binisaya
  • Svenska
  • Українська
  • Tiếng Việt
  • Winaray
  • 中文
  • Русский
Sunting pranala
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022
Email: pmb@teknokrat.ac.id