More Related Content Similar to Seaside - Web Development As You Like It (20) More from Lukas Renggli (17) Seaside - Web Development As You Like It2. Lukas Renggli
Academics
PhD Student, University of Bern
Industry
Independent Software Consultant
Communities
Core-developer of Seaside
Author of Magritte and Pier 7. <form action=quot;second.htmlquot;>
<input type=quot;textquot; name=quot;value1quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<form action=quot;result.htmlquot;>
<input type=quot;textquot; name=quot;value2quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form> 8. <form action=quot;second.htmlquot;>
<input type=quot;textquot; name=quot;value1quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<form action=quot;result.htmlquot;>
<input type=quot;textquot; name=quot;value2quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<p>
<% value1 + value2 %>
</p> 9. <form action=quot;second.htmlquot;>
<input type=quot;textquot; name=quot;value1quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<form action=quot;result.htmlquot;>
<input type=quot;textquot; name=quot;value2quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<p>
<% value1 + value2 %>
</p> 10. <form action=quot;second.htmlquot;>
<input type=quot;textquot; name=quot;value1quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<form action=quot;result.htmlquot;>
<input type=quot;textquot; name=quot;value2quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<p>
<% value1 + value2 %>
</p> 11. <form action=quot;second.htmlquot;>
<input type=quot;textquot; name=quot;value1quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<form action=quot;result.htmlquot;>
<input type=quot;textquot; name=quot;value2quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<p>
<% value1 + value2 %>
</p> 12. <form action=quot;second.htmlquot;>
<input type=quot;textquot; name=quot;value1quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<form action=quot;result.htmlquot;>
<input type=quot;hiddenquot; name=quot;value1quot; value=quot;<% value1 %>quot;>
<input type=quot;textquot; name=quot;value2quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<p>
<% value1 + value2 %>
</p> 13. <form action=quot;second.htmlquot;>
<input type=quot;textquot; name=quot;value1quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<form action=quot;result.htmlquot;>
<input type=quot;hiddenquot; name=quot;value1quot; value=quot;<% value1 %>quot;>
<input type=quot;textquot; name=quot;value2quot;>
<input type=quot;submitquot; value=quot;OKquot;>
</form>
<p>
<% value1 + value2 %>
</p> 18. /first /second
parsing parsing
processing processing
formatting formatting
value1
value1
Web Browser 19. /first /second
parsing parsing
processing processing
value1, value2
formatting formatting
value1
value1
Web Browser 20. /first /second /result
parsing parsing parsing
processing processing processing
value1, value2
formatting formatting formatting
value1
value1
result
Web Browser 32. value1 := self request: ‘First Number’.
value2 := self request: ‘Second Number’. 33. value1 := self request: ‘First Number’.
value2 := self request: ‘Second Number’.
self inform: value1 + value2. 42. Model
View Controller
Model, View, Controller 49. html div id: ‘title’; with: ‘Title’
<div id=”title”>Title</div> 50. html div id: ‘list’; with: [
html span class: ‘item’; with: ‘Item 1’.
html span class: ‘item’; with: ‘Item 2’ ]
<div id=”list”>
<span class=”item”>Item 1</span>
<span class=”item”>Item 2</span>
</div> 64. html anchor
! callback: [ self inform: ‘Hello World’ ];
! with: ‘Show Message’
<a href=”/seaside/example1
quot; ?_s=Ru8ZKgqjy0uDX3kf
quot; &_k=K5EQyqKE
! &32”>Show Message</a>