Textbook image

Enterprise Pharo a Web Perspective

Subject: Computer Science
Source: Open Textbook Library
Publisher: Square Bracket Associates
ISBN: 9781326650971
Creative Commons Attribution-ShareAlike Image


Enterprise Pharo is the third volume of the series/ following Pharo by Example and Deep into Pharo. It covers enterprise libraries and frameworks/ and in particular those useful for doing web development. The book is structured in five parts. The first part talks about simple web applications/ starting with a minimal web application in chapter 1 on Teapot and then a tutorial on building a more complete web application in chapter 2. Part two deals with HTTP support in Pharo/ talking about character encoding in chapter 3/ about using Pharo as an HTTP Client (chapter 4) and server (chapter 5)/ and about using WebSockets (chapter 6).In the third part we discuss the handling of data for the application. Firstly we treat data that is in the form of comma-separated values (CSV) in chapter 7. Secondly and thirdly/ we treat JSON (chapter 8) and its Smalltalk counterpart STON (chapter 9). Fourthly/ serialization and deserialization of object graphs with Fuel is treated in chapter 10. Lastly/ we discuss the Voyage persistence framework and persisting to MongoDB databases in chapter 11. Part four deals with the presentation layer. Chapter 12 shows how to use Mustache templates in Pharo/ and chapter 13 talks about programmatic generationof CSS files. The documentation of applications could be written in Pillar/ which is presented in chapter 14. How to generate PDF files from the application with Artefact is shown in chapter 15. The fifth part deals with deploying the web application. This is explained in chapter 16 that talks not only about how to build and run the application/ but also other important topics like monitoring.

Items related to the subject Computer Science