Learning Web Development with Seaside by Gemstone Systems
By Gemstone Systems
Read Online or Download Learning Web Development with Seaside PDF
Similar education books
Following the hugely winning Economies in Transition: A advisor to China, Cuba, Mongolia, North Korea and Vietnam on the flip of the twenty-first century (published within the Routledge experiences in improvement Economics series), japanese Europe on the flip of the Twenty-first Century: A consultant to the economies in transition and the previous Yugoslavia on the flip of the Twenty-first Century: A consultant to the economies in transition, this e-book is the 1st of 2 which makes a speciality of financial and political occasions within the international locations of the former Soviet Union.
- The Worldwide Transformation of Higher Education (International Perspectives on Education and Society, vol. 9)
- Conflict and Innovation: Joint Ventures in China (International Comparative Social Studies)
- Supporting E-Learning with Technologies for Electronic Documents
- Developing a Constitution for Europe (Routledge Studies on Democratizing Europe)
- Global Pedagogies: Schooling for the Future
Additional info for Learning Web Development with Seaside
Sample text
Click in the third column to get a method creation template. renderContentOn: html html heading: DateAndTime now. 10. Now we need to inform Seaside that this new component can be used as a root component (this should be familiar from chapter 2). In the Workspace, evaluate the following: FlightInfoComponent registerAsApplication: 'FlightInfo'. 26-Aug-09 Copyright © 2009 by GemStone Systems, Inc. 4 Chapter 4: Associating Domain Objects with Components 11. If the above steps were successful, you should be able to open a web browser on http://localhost:8080/seaside and see ‘FlightInfo’ at the top of the list.
12. Notice that the description next to the link is the name of the class. This is the default description for a component, but we can be a bit more elegant by adding a class side method. In the System Browser, select ‘FlightInfoComponent’ in the class list (the second column) and then click on the ‘Class’ button below the class list. Then click in the third column to get a method definition template and replace the template in the text area with the following and save the text: description ^'Flight Information'.
MyAnchor | html heading: model. myAnchor := html anchor. myAnchor callback: [model addHours: -30]. myAnchor with: '<- Earlier'. Now, let’s discuss the two keyword messages sent to the new anchor. The simpler one comes last. The ‘with:’ message is being sent to the anchor tag with a single argument. The argument is a string literal, identified in Smalltalk with a straight single-quote character at the beginning and 26-Aug-09 Copyright © 2009 by GemStone Systems, Inc. 10 Chapter 5: Exploring some Tools end.



