O'Reilly logo

Modernizing Legacy Applications in PHP by Paul M. Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required