Dynamic Web Development with Seaside

Buy PDF Buy Print

2.4A First Seaside Component

Now we are ready to write our first Seaside component. We are going to code a simple counter. To do this we will define a component, add some state to that component, and then create a couple of methods that define how the component is rendered in the web browser. We will then register it as a Seaside application. Finally we will see how we can save our work as a “Monticello” package.

User Contributed Notes

LEnglish5 (3 August 2010, 7:32 am)

"Add category" menu item mentioned in the section on Defining a Category is actually named "Add item..." in the world menu.

Add a Note

Copyright © 2 September 2010 Stéphane Ducasse, Lukas Renggli, C. David Shaffer, Rick Zaccone
This book is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 license.

This book is published using Seaside, Magritte and the Pier book publishing engine.