This semester, our final project for CPCS 403 (Internet Application Programming) is to build a full personal website from scratch, put it live on our own domain, and connect it to a blog. This is that blog, so this first post is about how the main site came together.
The site lives at nassercs.com. Every page is a PHP page, and the header, navigation and footer are each saved once in an includes folder and pulled into every page with PHP includes. That sounds small, but it means when I change a link in the menu, it changes on all eleven pages at once.
All the styling is in one external stylesheet, and every page had to pass the W3C validator under XHTML 1.0 Strict. That rule caught me a few times. For example, iframes aren’t allowed, so the YouTube video and my resume are embedded with the object tag instead.
The parts I enjoyed most were the feedback form, which is validated with JavaScript and then checked again on the server before being saved to MySQL, and the database page, which joins two related tables to show my projects and the tools behind them.
Next up: writing about the first stage of the KAUST AI program.

Leave a Reply