wt the witty web toolkit
play

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


  1. Wt, The Witty Web Toolkit FOSDEM – Lightning talk Koen Deforche – Wim Dumon – Pieter Libin http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  2. 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 http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  3. Hello Britney! http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  4. Hello Britney! http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  5. Is Britney Witty or a Cuty? http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  6. Browser and Desktop http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  7. Browser and Desktop http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  8. Standard Wt Widgets http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  9. WLabel interface http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  10. Wt: Event Handling Events & Widget state changes Render Widget changes http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  11. Wt: Session Architecture ● Wt manages multiple sessions http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  12. 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. http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  13. Wt: Deployment ● Linux & Unix: Wt session Wt session Web server FastCGI module manager processes apache, lighttpd mod_fastcgi, mod_fcgid ● Linux, Unix & Win32: Web server Wt httpd Wt session apache, lighttpd (soon) processes http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  14. 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 http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  15. GMail Composer Example http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  16. Wt: sample applications http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  17. Wt: sample applications http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  18. Wt: sample applications http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  19. Wt: development status ● Wt 2.0.0 (C++): stable ● JWt (Java) – Runs in Java Application Servers – First release planned in March. http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  20. 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. http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  21. Wt on the web Availability, documentation, etc... http://witty.sf.net http://witty.sf.net/ FOSDEM 2007 Wim Dumon

  22. Thank you! http://witty.sf.net/ FOSDEM 2007 Wim Dumon

Recommend


More recommend