Alexander Seto

A New Project: IOU

Posted on 10/05/2016

I've created a small web application while studying abroad using PHP and MySQL to keep track of money that people owe each other. Features include approval of requests, deletion of requests, sum of total owed, and autocompletion of user's names. Authentication is provided by Google OAauth.

Heres a link to the project.

Posted under: code, website

Done!

Posted on 08/28/2016

After about two hours I'm done. I refactored the blog code, eliminating redundant processes, as well as implementing tags for posts!

Posted under: code, website

Tags and Titles

Posted on 08/27/2016

I want to be able to tag my posts, since I've been considering an attempt at a travel blog, so this means I'll have to reconsider my approach as to how this blog is set up. I'm thinking I'll make it such that the first line of a file will be the blog post's title, the second line will be the date, and the third will be a set of tags. Hopefully this will work.

Posted under: code, website

New Fonts!

Posted on 12/07/2015

Instead of studying like I should have been, I instead opted to install a new font. I replaced the old typeface with Garamond, which I think makes the site look a lot nicer. In addition, I've made titles and headings a little lighter.

Posted under: code, website

Clean URLs

Posted on 11/19/2015

I finally got around to adding clean URLs via .htaccess. Instead of canonical urls such as:

    http://alexanderseto.com/portfolio.php
    http://alexanderseto.com/blog.php?page=2
    http://alexanderseto.com/blog.php?post=2015-11-18-hello-world

Webpages are now served at:

    http://alexanderseto.com/portfolio
    http://alexanderseto.com/blog/2
    http://alexanderseto.com/blog/post/2015-11-18-hello-world

Posted under: code, website

Hello World!

Posted on 11/18/2015

I finally got around to updating my website to something a little more usable. I've gotten rid of the wordpress instance at /blog/ and instead opted to build everything myself to make things a little more consistent.

The first thing I did was separate my navbar and footer into header and footer php files so that I can update them from one place. I then changed some code so that all my pages use the same CSS file.

For the blog, I was tempted to use a pre-existing solution, but decided against it, instead, opting for a light-weight flat-file blog structure using PHP and a library called Parsedow. I'm using the PHP glob function to read files from a directory, then using Parsedown to parse them into html. To keep track of pages, I'm using array_slice.

Posted under: code, website

Copyright 2019 © Alexander Seto. All rights reserved.