- Another of Alex's websites, a project journal
- 26 Jul 2017 01:59:39 pm
- Last edited by Alex on 01 Jun 2018 10:47:01 pm; edited 1 time in total
Sometimes creating a brand new website can be daunting. I've been there numerous times for each of my websites. Back when the new gTLDs came out I purchased a few. takes.pics for my photography and a .fyi, which I had dreams of becoming a site where people can get information. But I realized that there are a lot of sites that serve the same information I was after. So I didn't act on my idea. Eventually I decided to try and sell the domain, hoping I could get a quick payout for a rather short/generic domain name. But nothing came of it. I quit my job and wasn't making enough money to afford the renewal the domain every year, so I turned off auto renew and waited for time to run out. Got an e-mail the other day that the website was about to expire and action was required if I wanted to keep it. I had since gotten another job and figured, what heck. So, on July 24th I renewed it for another two years.
By the end of the day I had a HTML & CSS design made up of one page. I knew I wanted to create other pages so the next day I changed the site from pure HTML to PHP. This allowed me to separate key areas like the header and footer, and any change I made to the header instantly took affect on all the other pages. Once that was done I worked on replacing the placeholder links (href="###") with actual links (page.php/?foo=bar) so that the requested pages showed the desired content. That was done by last night.
Today, July 26th I started the backend. It now successfully serves the main content to the site. I deviated a little bit from my comfort zone and used PDO instead of MySQLi functions. I remember Tari or another user recommending I use PDO a few years back but I ignored that advice because doing so would have meant redoing a bunch of my queries. So, this time around I'm starting with PDO.
Later today I hope to have a successful user login page and an area for users to submit information. I will not be implementing a registration page for a while since the site won't be ready for such activity. But the user portal will be important as I test and work on the user functions so that'll definitely come first.
I'll keep you guys posted as I progress. Will probably do most of the color and style work later on. The site has a style now but it's just a basic one so I can see what I'm doing and stuff; but it's still pretty black and white. I intend to teach myself some javascript to make the site interactive and dynamic. I can't wait to see what progress I'll make in a few months if I keep this pace up. Maybe I'll post the link in a few weeks when I have a more polished style/design completed.
Two days and I already have a functional site with a backend. Maybe a total of 5 hours of work from inception to here. If I can do it, anyone can do it!
By the end of the day I had a HTML & CSS design made up of one page. I knew I wanted to create other pages so the next day I changed the site from pure HTML to PHP. This allowed me to separate key areas like the header and footer, and any change I made to the header instantly took affect on all the other pages. Once that was done I worked on replacing the placeholder links (href="###") with actual links (page.php/?foo=bar) so that the requested pages showed the desired content. That was done by last night.
Today, July 26th I started the backend. It now successfully serves the main content to the site. I deviated a little bit from my comfort zone and used PDO instead of MySQLi functions. I remember Tari or another user recommending I use PDO a few years back but I ignored that advice because doing so would have meant redoing a bunch of my queries. So, this time around I'm starting with PDO.
Later today I hope to have a successful user login page and an area for users to submit information. I will not be implementing a registration page for a while since the site won't be ready for such activity. But the user portal will be important as I test and work on the user functions so that'll definitely come first.
I'll keep you guys posted as I progress. Will probably do most of the color and style work later on. The site has a style now but it's just a basic one so I can see what I'm doing and stuff; but it's still pretty black and white. I intend to teach myself some javascript to make the site interactive and dynamic. I can't wait to see what progress I'll make in a few months if I keep this pace up. Maybe I'll post the link in a few weeks when I have a more polished style/design completed.
Two days and I already have a functional site with a backend. Maybe a total of 5 hours of work from inception to here. If I can do it, anyone can do it!