Appendix B. Code before Gateways

This appendix shows a partial page script for a legacy application. It has been sanitized and anonymized from an actual application.

This script was part of a system allowed journalism students to write articles for review, and to provide feedback on articles from fellow students. The students would offer "credits" for other students to review their work, and would receive credits from others by reviewing their articles. Because credits were paid per review, the students would limit the maximum number of reviews to make sure they did not run out of credits. Finally, they were allowed to provide notes indicating what the reviewer should pay attention to.

This is a version of the page script before being converted ...

Get Modernizing Legacy Applications in PHP now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.