Wt, The Witty Web Toolkit FOSDEM Lightning talk Koen Deforche Wim - - PowerPoint PPT Presentation

wt the witty web toolkit
SMART_READER_LITE
LIVE PREVIEW

Wt, The Witty Web Toolkit FOSDEM Lightning talk Koen Deforche Wim - - PowerPoint PPT Presentation

Wt, The Witty Web Toolkit FOSDEM Lightning talk Koen Deforche Wim Dumon Pieter Libin http://witty.sf.net/ FOSDEM 2007 Wim Dumon Wt Basics Library to develop web applications Rich Internet Applications Web 2.0


slide-1
SLIDE 1

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt, The Witty Web Toolkit

FOSDEM – Lightning talk

Koen Deforche – Wim Dumon – Pieter Libin

slide-2
SLIDE 2

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt Basics

  • Library to develop web applications

– Rich Internet Applications – Web 2.0

  • Available for C++ (now), and Java (soon).
  • Object Oriented Widget tree model

– API is inspired by existing GUI libraries

  • Provides abstraction of web technologies

– CGI/HTML/AJAX/JavaScript/Forms/DOM

slide-3
SLIDE 3

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Hello Britney!

slide-4
SLIDE 4

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Hello Britney!

slide-5
SLIDE 5

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Is Britney Witty or a Cuty?

slide-6
SLIDE 6

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Browser and Desktop

slide-7
SLIDE 7

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Browser and Desktop

slide-8
SLIDE 8

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Standard Wt Widgets

slide-9
SLIDE 9

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

WLabel interface

slide-10
SLIDE 10

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: Event Handling

Events & Widget state changes Render Widget changes

slide-11
SLIDE 11

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: Session Architecture

  • Wt manages multiple sessions
slide-12
SLIDE 12

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: Session Management

Two modes (runtime option):

  • Dedicated processes

– One process for each session – High session cost – Kernel-level isolation between sessions

  • Suitable for application like e-banking

– Easy to debug

  • Shared processes

– Fixed number of processes handle all sessions – Multi-threaded request handling – Low session cost – Suitable for 'open' applications like google maps.

slide-13
SLIDE 13

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: Deployment

Web server

apache, lighttpd

FastCGI module

mod_fastcgi, mod_fcgid

Wt session manager Wt session processes Web server apache, lighttpd Wt httpd (soon) Wt session processes

  • Linux & Unix:
  • Linux, Unix & Win32:
slide-14
SLIDE 14

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: Abstraction of web technologies

  • Specify what the page should look like, not how

it should be updated

  • Specify event handling in C++
  • Library tries to use AJAX and JavaScript, if not

available uses plain HTML page refreshes

  • Wt may optimize away server roundtrip
slide-15
SLIDE 15

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

GMail Composer Example

slide-16
SLIDE 16

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: sample applications

slide-17
SLIDE 17

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: sample applications

slide-18
SLIDE 18

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: sample applications

slide-19
SLIDE 19

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: development status

  • Wt 2.0.0 (C++): stable
  • JWt (Java)

– Runs in Java Application Servers – First release planned in March.

slide-20
SLIDE 20

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt: developers

  • Koen Deforche

– Initial developer, maintains C++ Wt.

  • Wim Dumon

– Documentation – Windows port

  • Abdiel Janulgue

– First template based signal/slot implementation

  • Pieter Libin

– Port to Java, maintains Java JWt.

slide-21
SLIDE 21

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Wt on the web

Availability, documentation, etc...

http://witty.sf.net

slide-22
SLIDE 22

FOSDEM 2007

http://witty.sf.net/

Wim Dumon

Thank you!