Posts Tagged ‘PHP’

Week Eight – Day Two

OK – today I got about 60 pages into the database by 11:45 AM – then Alex realized that in order to query the db the way he wanted to, we had to add a column for the manufacturer’s name. So I did that, and manually entered the names for each of the pages, according to content. I went on and entered the rest of the pages – 115 in total – and was done by 2:45. I was so happy to be done with it!

Then Alex realized we had to be able to select for the menu and we needed three MORE fields – so I had to create them and then edit them according to either a boolean or an integer value…finally got finished just in time to clean up a couple of files on my computer and leave for the day. I sure hope Alex doesn’t realize anything else tomorrow! We’re supposed to be setting this all to PHP and finishing off the site – it is promised for delivery for Friday, my last day here.

Week Seven – Day Four

Well, be careful what you wish for. First thing this morning I was told I had a new assignment – slice and code the landing page for the site we have been working on.

I had been longing for a new assignment – this should be fun (my first thought). Then I saw the challenge I was facing – taking one large image, and not using ImageMapping, slice the layers and create the page so all the images were in the CSS, not the HTML, and yet have ONLY images, no text, and links on the images. Also, write a javascript to  read the browser window’s size and load different style sheets to fit, and write the stylesheets to go with it, sizing the images accordingly as well.

It took me all day but I got it done – setting up the divs and putting links for images that exist in the CSS (you can’t have a link outside a whole div, and with no text to put the link on…) It was tough and I had to ask Alex for help at one point but I did get it done.

One of the last things I did was to tweak the javascript to display the image without having it overflow at all, in whatever browser, at whatever resolution – this  was not as hard as it sounds, – all you do is call the CSS for the resolution below the one in the browser and set all your margins to “auto” and there you are. I am so glad I know how to do this now – it is a very handy trick to know and this method will adapt itself to other sites very easily.

Week Five – Day Five

Today was a great day – work was fun, learned about including special characters by using PHP instead of having to type in the ampersand (&) and all the special text each time.

But the highlight of the day was finding out that my daughter has been accepted to Kemptville University for September! We have been waiting and hoping for this for what seems like forever – and we are all delighted about it. She will be doing the Equine Technology Diploma program, and also concurrently the Riding and Coaching Certificate program. So she will be living in residence there, and taking our horse, Chips, along with her. Hopefully she will start a blog about her experiences there, or maybe I’ll just have to content myself with lurking her Facebook page….

That means I’ll have to find a job pretty quickly once this internship is over, since I’ll be wanting to have a horse here for myself!

Week Five – Day One

Well, I thought things were going very well. I have arranged to work slightly offset hours (10 to 6 instead of 9 to 5) so as to miss the worst of the commute, and this morning the drive was a breeze – less than an hour! That`s about 50 minutes off my normal time. I can only hope the homeward journey goes as smoothly.

But I guess it never pays to get too comfortable – halfway through the day I found out I had missed a whole bunch of stuff in the site I have been working on.

To be fair, I was told at the beginning to just slice the images and set up the HTML and CSS – what I didn’t realize was that there are pages and pages of content that have to be added as well! And although all the files were in a folder on the key they gave me, I thought they were just there because the designer forgot to take them out before he gave me the image files, and I didn’t think it was my business to poke around and pry into stuff I hadn’t been specifically told to work with. Now I realize I should have taken the initiative and looked at ALL the files they gave me – then I would have known that there was an awful lot of content waiting to be dealt with. GAK!

So, after discussing it for a while, Alex had me cut up one of the pages I had done and create several smaller PHP pages, and we’ll load the content from them into the main container page (also PHP) dynamically – who knew I’d be doing so darn much PHP, eh? But I’m looking forward to tomorrow, and seeing how the heck these pages are going to be organized so they load properly.

The drive home was smooth and fast – I really like this, and I hope it continues – that today was not a fluke.