The Aftermath
I’ve been rather busy since reformatting my laptop Thursday night. There’s a lot of settling in to be done still. Moving all of my files back over was rather quick an painless aside from the little chirping noise that my hard drive was making. Of course I was copying over several gigabytes so it’s understandable. Files were only a small part of it. I should be used to this from having to format so many machines at work. (I’m actually working on a lab right now. Six of the 20 machines need to be formatted. If that’s not enough of a headache they’ll probably fail again within months because of the type of machine they are.)
What else had to be done? First off, of course, was antivirus. Then came Windows updates; I finally have IE7 on this laptop because of that. Dreamweaver, Photoshop, MS Office, and several other programs followed. I haven’t installed Firefox yet because I use Firefox on my jump drive so that I don’t have to worry about retyping passwords and keeping bookmarks in several places and such. I think I’m done with the basics except for the little things like Quicktime and other plugins that I’ll install as needed.
Now comes the explanation for this format. I had no viruses, no malware, nothing disabling my machine that I was aware of. I did have quite a few programs left over from college that I no longer use and don’t plan to ever use again. That, however, was not the driving factor. For some time now a friend of mine has been tossing the idea around that he’d like to have a website for his photography. My sister has also said something along the same lines and then I kinda got into it. Knowing how time intensive it would be to manually create each page for new photos and keeping track of, well, everything, I got the idea to start writing a script. The more I thought and planned the larger it grew. I now have plans for a CMS focused on creating and maintaining photo galleries. It has functionality for more than just that, though, for some other ideas I have. In order to write this script I’d need a place to test it. I didn’t want to bother with FTPing files for each and every minor change. Since I plan to write it in PHP there would be a lot of those. Each time I left out a ; or was missing a ) or a ‘ or even a . I’d have to make the change, save the file, upload it, refresh, and wait to see the next error. How much simpler would it be to have everything here on my computer and completely cut out the FTP part?
That’s what I’ve been working on this afternoon: setting my laptop up to run as a test server. The first step was to download and install Abyss Web Server. The setup was simple and seems very easy to use. Next came PHP5 which was also simple. Aprelium had documentation for configuring the server to run PHP which was also very easy to follow. I had a little bit of a hangup due to stupidity on my part but that was quickly solved. Last came MySQL. The setup for this component was a little more difficult but after some searching and trial and error I had it installed. Or so I thought. I found that I was able to connect to a test database I had created but couldn’t read any records from it. Thanks to the excellent documentation on PHP.net I was able to determine the error: I hadn’t granted enough permissions for my MySQL user to be able to select records from the database. A few minutes with the MySQL command line client got me what I wanted: access to read the database.
Now that my “test server” is configured and all of the components I need are in place it will be time to start coding. I have a good deal of the database structure already planned out but it’s not yet created. The data dictionary I created will be a good resource as I continue, though. This project has been code named Topaz by my husband as I’ve not yet come up with a name for it. I foresee many nights of coding, testing, error trapping, and general frustration in my future but I believe it will all be worth it.
See, running my laptop as a test server for myself has pretty much been one of my intended plans for a while and one of my main motivators for upgrading the memory. I plan to continue using it in this fashion even after my desktop is returned. That’s another story for another day. I have some further updates but nothing of importance. I still don’t know when I’ll be getting it back.
You might be asking why “Nenya” is also a tag for this entry. Back when I first got my desktop I named it “Glamdring” after one of the great swords from The Hobbit and The Lord of the Rings books. My husband and I were watching The Two Towers while I was working on my laptop and so I decided to name it Nenya after the ring that Galadriel was charged with keeping. I know, I know, I’m a nerd. That should be pretty obvious by now though, yes?
That’s great, I can’t wait to see your new CMS. I often think about how great my life would be if I had come up with WordPress, cPanel, Fantastico, etc…
Let me know when it’s in beta, I’d love to try it out.
I have quite a few photographers as clients and I could show it to them. I have one that wants to use this Pickpic program, but it’s $1200. I’m sure you can beat that.
Will it have the capability to show only a client their own photos and allow them to purchase them from the site? Or is it more of just a gallery?