18. WASeverAdapter
provides template methods for converting
provides start and stop hooks
provides easy integration with ser ver manager UI
you don’t have to use it
sets up request context
XXRequest WARequest
SA RH
XXRespone WARespone
WARequestContext
Thursday, August 30, 12
19. Frank
a micro framework inspired by Sinatra
Thursday, August 30, 12
21. Disclaimer
• REST in this context simply means “pretty URLs”
• pretty URLs for web services, not web applications
• this will feel a little weird
Thursday, August 30, 12
22. index
<get>
^ ‘Hello World’
Thursday, August 30, 12
23. index
<get>
<path: ‘index.html’>
^ ‘Hello World’
Thursday, August 30, 12
34. Session Tracking Fully Customizable
• query fields
• cookie only
• cookie if supported, query field otherwise
• cookie for browser, IP for crawler
• SSL session id (*)
• path parameter (*)
Thursday, August 30, 12
35. Path Parameter
• /;_s=KAAWl0x3c6KLnN6Q
• doesn’t need to be hidden form parameter
• required by some load balancers
Thursday, August 30, 12
36. WAMain gone
• specify initial continuation
• subclass WASessionContinuation if you
used to subclass WAMain
Thursday, August 30, 12
37. WAPluggableActionContinuation
• replace WAActionPhaseContinuation
subclasses with
WACallbackProcessingActionContinuation
subclasses
Thursday, August 30, 12
38. JSON
• separate from JavaScript
• various subtle bugs fixed
• canvas API
Thursday, August 30, 12
39. Streaming Redone
• on demand flushing
• continuation that flushes after rendering </head>
• better portability to other servers
Thursday, August 30, 12
40. HTML 5
•#multipleValuesCallback:
Thursday, August 30, 12
41. Document Handlers
• stored in session
• no longer stored alongside sessions
• _d
Thursday, August 30, 12
42. Other News
• Nick now part of core team
• experimental Pharo 2.0 support
• walkback should open at correct place in
VW
• platforms can implement optimized HTML
escaping
Thursday, August 30, 12
43. Help Wanted
• Morphic Control panel for Pharo 2.0
Thursday, August 30, 12
44. Seaside Sprint
• Friday at Vooruit
• Saturday at Camp location
• (Sunday)
Thursday, August 30, 12