So i'm trying to develop a website that lets an admin upload new news posts to a website on the homepage. I Don't want to just keep infinitely adding posts to the first page making it longer and longer but id like to have it so that it maybe displays the latest three post before you have to hit a button to see older posts. I'm sure this is a job easily handled by wordpress or drupal but is there a way to handle this without needing the extra software by using php to generate the page and storing the posts somewhere in a database. I'm writing this for a web programming class and i'd like to write as much of it myself as I can I feel using a bunch of premade tools and software would be a little frowned upon for the context of the class anyway. Any help is much appreciated.