Code samples of an object oriented Java school project and part of a web app in PHP