Friday 4 May 2012

The joy of code

Sadly I am having way too much fun playing with this site and it's growing very rapidly. I've been working on it for 15 hrs straight!

Members now have stables, can add horses, veiw horses (with pictures) and upload pics! When you write it like that it doesn't sound like much but my cramping thumb from the not so ergonomical code that is PHP begs to differ.

Every page is made up of around 7 pages (not including the links). Every menu is an 'included' page, which while sounds impressive, makes updating everything that much easier. As instead of going back to edit the different pages I can edit one included page and it updates to the whole site! How cool is that!

Playing with varibles is still a bit beyond me, but things are just working even when I didn't think they would. Which is fantastic. I think I must be understanding stuff in my sub-concious, cause I am still scratching my head over some things. If thats even possible?

I'm continously having to stop myself from adding on the fluffy extras now and focus on getting the back bone of the site created first. Although when I get tired I find myself messing with the table layouts and the layout of the code. I have found it nesscary (I can't spell) to make comments next to my if close tags, as to make the site as idiot proof as possible I have been including lots of if and else varibles and all those curly brackets can get confusing. So by adding comments when I need to add another if over the top of the first 20 ifs I can work out where to put that blasted curly bracket so it doesn't pop up an extra error for me to figure out.

I know this means nothing to anyone but me, so how about I add some photos.




Am I the only one who finds it curious that I don't actually participate in photo showing? (Thanks liwi and D'Arry for photos which I just ripped out of a random file for test purposes)

4 comments:

  1. My husband is wondering why PHP? (He is curious... and a programmer;) lol

    It looks great, by the way! I am working on some CM's from the very easy-to-work-with Schleich horses... I hope they will be up to participate so I can add them! :)

    ReplyDelete
  2. Oops! Up-to-par! Not "participate"... Darn auto correct!

    ReplyDelete
  3. Oops! Up-to-par! Not "participate"... Darn auto correct!

    ReplyDelete
  4. My husband is wondering why PHP? (He is curious... and a programmer;) lol

    It looks great, by the way! I am working on some CM's from the very easy-to-work-with Schleich horses... I hope they will be up to participate so I can add them! :)

    ReplyDelete