Working on libraries

Written by erik on 2011-12-27 Categories: Epics

It wasn’t the authors page I was supposed to make, it was the Libraries page. Every manuscript is located somewhere and it seems the easiest part of the process to tackle, because it is simple. The other parts look like a headache, because each manuscript can have several parts that can each refer to a different epic, and they might be in poetry or prose.

It would be very convenient if every library in the world had a unique identifier associated with it. I could use that as the key to the database. Because it doesn’t, I have to make up my own that will only be true for this site. I’d rather use something an international body agreed on.

When my father wrote this, he wasn’t thinking in terms of database, so it is difficult to organize. It is also written in French, because it was dealing with Medieval French Epics. I don’t read French, so I can’t just look at what he wrote and figure out what is going on. It looks like a lot of the data uploading will need to be done by hand. Thankfully my father is onboard and looking through it.

I’m making progress on the PHP side. The hardest part is getting used to using a non-compiled language. If this was C++, it would happily inform me that I haven’t declared a variable, or I forgot a bracket. PHP is only processed when it is opened in a webpage. So if my code has an error, I won’t find out about it until after I run it. And then there seems to be a dearth of error messages. And if I accidentally misspell the name of a variable, the page will assume it is a different one.

Blech!

I should look into getting an IDE for this. That might make life easier.

No Comments on Working on libraries

Testing, testing…

Written by erik on 2011-12-25 Categories: Epics

Alright, first actual post.

The project I’ve decided to work on is for my father. He, long ago, wrote an index to Medieval French Manuscripts. He never finished it, and then went on to other things. I think that is a shame and something needs to be done about it. So, I’m going to see if I can.

At the very least, this looks like a good way to learn PHP and MySQL. I’ve already started the process by downloading MAMP. So I’ll be playing around with that and seeing what trouble I can get into.

First goal I think is to make an Authors page.

No Comments on Testing, testing…

Don’t split the party

Written by erik on  Categories: Website

When I saw the movie, The Social Network, one of the more interesting ideas I saw in it was in the first fifteen minutes. While Mark Zuckerberg was doing a programming project of his own, he was writing his thought processes out into a blog as he was doing it. Lots of little post, but each revealing a problem and how he was solving it.

Cool.

I should do something like that.

The hope is that by writing things down, I will have to describe the problem clearly. Frequently, just describing an issue to someone, who doesn’t even have to understand it, has helped in solving the problem. Hopefully it will also help in the what-was-I-smoking-when-I-wrote-this syndrome that inevitably hits. But that should be more the purview of comments in the code.

I already have a personal blog, you are possibly reading it right now, but that doesn’t seem to be the best forum for what I’m looking for. That is for, well, personal stuff. This should be something more for technical issues. I’ve done a few posts like that in my personal blog, so I’m thinking of moving them to the technical blog.

My web hosting company has made it fairly easy to install a WordPress site, so why shouldn’t I do this? I’ve often thought of moving my personal blog to be hosted on my website via WordPress, but WordPress doesn’t allow me to filter the content so that only certain categories of people can read certain entries. There are just some things mothers shouldn’t know.

No Comments on Don’t split the party