Posts

Conclusion and Final Thoughts

So to conclude my project, I would like to give some final thoughts. A more in-depth look at my thoughts can be seen in my final presentation video. Overall, I feel my project went quite well. There are of course some issues which I would like to fix going forward, however as someone who has no previous experience with PHP whatsoever, I feel my final product is quite good. Some of the issues I would fix going forward are the upload form and the login page. These issues should be simple fixes, as there is likely just a small issue with part of the code. Though it would be nice to have fixed these issues before giving a demo of my site, I don't think they take away from the overall project. As I have said before, I don't have any experience with PHP, so to get a product which actually functions was my main goal and this is something I achieved. If I could start again knowing what I know now, I believe I would be able to fix the issues my site still has and also I would try to...

Final Changes

Image
In this blog post I will discuss the final changes I made to my project before presenting it to the rest of the group. The above screenshot shows the login page I created. Nothing has changed on this page since it was last discussed. Unfortunately I was unable to get the login page to function correctly and as stated in my last post, I didn't think I would get this done before the presentation. In the presentation I stated that going forward, one of the changes I would make to the site is to get this working. The above screenshot shows my home page. Since it was last shown, I have added a welcome message, which is personal to the user that logs in. As there is only one account currently set up, it will always display the name "Josh". However, going forward, I would be adding more accounts and therefore this message would change depending on which account was being used at that time. The above screenshot shows my gallery page. Again, this hasn't really change...

Week 31 & 32 (May 30th & 4th June)

Image
Over the last two weeks I have once again been focusing on the finishing touches of my website. I continued working on the login form and tried to link it to the website so that when the correct details were entered it would log in, however the login doesn't currently work. At the moment, when details are entered into the form, they don't seem to be passed through to the file which checks them to see if they are correct. Therefore, when details are entered, the login page remains on the screen and the user doesn't advance to the home page. Due to the small amount of time that remains for the project, it is unlikely that the issues will be rectified before the end of the project and so I may have to leave these features out. Along with this I have also continued work on my upload form. The issues I was having last week have continued and the form still doesn't upload the files, resulting in the same error messages. The goal was to have the form upload user images to t...

Week 29 & 30 (May 16th & May 23rd)

Image
In the last two weeks, I have been trying to put some finishing touches on to my website. One of these finishing touches is the addition of an upload form where users can add their own photos. The screenshot shows how the form looks. The idea is that when the user clicks the "choose file" button, a box will pop up which allows the user to select a photo file to upload to their profile. When they click "upload image" the file will be added to the database which holds the other photos. I have also added some code which checks the format of the file, to ensure the user is uploading a real image rather than a fake file. This will help with security as it means only certain types of files can be uploaded. Although the form has been designed and the code created, unfortunately it isn't currently functional. The form allows the user to select the file they want to upload, however the file doesn't actually get uploaded and instead results in an error, ...

Week 28 (May 9th)

Image
After weeks of trying, I finally managed to get the images to display correctly on my website. After studying my code and getting a little help, I managed to figure out where I had gone wrong in my code. It turned out to be an extremely simple error which I had initially overlooked. As I missed the issue originally, I then began to over-complicate the code in order to try and fix the problem. After asking for help, the issue was very quickly pointed out to me. The red circle in the screenshot shows the amended code and shows just how easy it was to fix the problem. All I had to do was use the "img src" tag and then point it to the image field in my database. This is how simple the issue was to fix, however I missed this and instead spent weeks trying to encode/decode the image data in various different ways. After changing the code, I was met with the glorious site of my images being displayed on my website. Having finally got the images onto my website, I quickly se...

Week 26 & 27 (April 24th & May 1st)

Image
In the past two weeks, I worked on implementing the gallery page on my site. The aim of this page is to show a gallery of images from various sources. These images could come from the database or could be pulled from various social media accounts. The screenshot shows how the page currently looks: As the screenshot shows, I have implemented the same design on this page as is on my other pages. The page currently pulls images from the National Geographic Twitter account only. I plan to expand this by adding some of my own images and some different social media accounts. The other pages still look a little bare at this stage, though this is because I have been working on this page. Over the next week or two I will be adding much more content to the other pages.

Week 24 & 25 (April 10th & April 17th)

Image
Over the past 2 weeks I have once again struggled to get the pictures to display correctly on my site. Due to the continuing struggle with this issue, I decided to instead focus my attention on the site design instead. My old site design looked like this: After taking some time to think about my design, I realised that my design looked very ordinary and quite boring. It also looked old fashioned and very square. I therefore decided to search the web for some design inspiration, as I was keen to make my site look more modern. My main aim was to find a new design for the navigation bar at the top of the page and then use CSS to modernise the rest of the page. I quickly found a few designs that I liked and so I decided to try and implement them on my site. All of the designs I tried used a combination of HTML, CSS and JavaScript to give functionality to the navigation bar. However, I quickly ran into a major issue. When I implemented JavaScript, it wouldn't work. I tried various di...

Week 22 & 23 (March 27th & April 3rd)

Image
As I explained in my last blog post, I was taking a week away from my project as I had reached a point where I wasn't making any real progress. Returning to the project after this break, I wanted to  again try to implement the feature which I had previously struggled to do. This feature was the image gallery. This screenshot shows what has changed since my last post. I have been trying to implement the image gallery, which will pull pictures from the database and display them in the form of an interactive image gallery. However, as my last couple of posts have shown, I have been having a number of issues with it. As the above screenshot shows, I have removed the old placeholder image, so that the image gallery will be able to take its place. I am a step closer to getting the images to display, however it appears that there is either an issue with the way the pictures are referenced in the database, or an issue with the way they are encoded. Having searched the internet for a sol...

Week 20 & 21 (March 13th & March 20th)

Image
After multiple attempts to implement the picture gallery at the top of my page, I am still no closer to implementing the feature. Over the last two weeks I have worked hard on trying to implement this feature using a mixture of PHP, CSS and JavaScript. Having tried multiple times to implement this feature and failing each time, I decided to take a break from the project. I have reached a stage where I feel that if I continue forcing myself to work on this, I will get no further and this will just add to my frustration. Due to this situation, I am taking a break from the project for a week and will continue with it after this week has passed (March 27th). My next post will address the break and will discuss the work I have done since I finished the week break.

Week 19 (March 6th)

Image
This week I decided to take a break from implementing the image gallery. This was due to certain elements of the code not working and therefore the feature not functioning correctly. Due to the feature not working, I decided to keep the static image as a placeholder until the feature is working. As I wasn't working on the image gallery, I decided to add some extra placeholders to my page. I worked on the navigation box on the right of the page. Currently this box contains placeholders for different links, which will eventually be turned into buttons which allow the user to perform different actions. I plan to use the grey navigation bar as the main navigation between the site pages and the right navigation box as a way to change/view elements of the current page. None of the links are currently functioning as I haven't completed the page code and therefore I cannot add the functionality I want to. Therefore in the coming weeks I will be working on getting these links worki...

Week 18 (Feb 27th)

Image
This week I have been trying to implement an image gallery which pulls pictures from my database. The images are stored in my database as references rather than actual image files. In order to pull the files from their storage location, I need to implement some complex PHP code. The screenshot shows my current progress. In the screenshot, there is only one image. This image is currently being used as a placeholder and is static, so therefore it is not being pulled from the database. I want to create an image gallery which is interactive and dynamic and can be changed by the user's actions. Therefore, the page doesn't currently look how I want it to, as currently I only have a static image displaying on the page. In the next week or two, I hope to have fully implemented an interactive image gallery, however I currently don't have this feature on my site.

Week 17 (Feb 20th)

Image
This week I have been setting up my database to contain the images I want to display on my website. I am using original images, so these are all pictures I have captured myself. The database had been created prior to this week, so I was just focusing on choosing some of the images I wanted to use and getting them added to my database. The screenshot above shows the database set up. I have an 'id' field which gives each image a unique identifier that can referenced more easily than using its location reference. I also have an 'image' field which holds the location information for each of the pictures. Setting up the database is the starting point for linking the front end of the site to the back end. I have set this database up in a different way to those I have previously created. In previous databases I have stored the actual image file in the database. However after doing some research, I realised that this was a bad idea and wasn't very efficient. I therefore...

Week 16 (Feb 13th)

Image
This week was the deadline for handing in the PHP assignment (deadline Feb 14th). This meant I spent the week finalising my documentation to go along with the final web app I produced. As there was a very large amount of documentation to complete, I was unable to do any additional work on my project. As the above screenshot shows, the final document consisted of 18 pages and over 6500 words. Therefore I felt the need to prioritise this over my project. Along with finalising this document, I also completed my testing, as this took longer than I had first anticipated. By prioritising this work over my project it meant I was able to hand it in on time and put that unit to one side and bring the focus back to my project.

Week 15 (Feb 6th)

This week I was once again focusing on my PHP/web apps assignment. This week, I was specifically focusing on the database I am using for the assignment. I chose to put the assignment before my project this week, as I am using it as part of the learning process for my project. In my project, I will be using a database to hold data and then use code to display that onto my website. This can be a very complex process and since I am doing an assignment which is very heavily linked to this process, I felt it was a good opportunity to learn some skills before trying to do it for my project. Last week I focused on finalising certain elements of the site such as the buttons. This week I focused on testing the site. I had to thoroughly test the site, which was a fairly lengthy process. As I was focused on this assignment, I didn't have a lot of time left to add to my project. Due to lack of time, I was only able to tweak a couple of design aspects on my login page. I looked at using diffe...

Weeks 13 & 14 (Jan 23rd & Jan 30th)

Image
For the last two weeks, I have prioritised my PHP assignment. I did this because the assignment can be used as part of the learning process for my project. In order to create my project, I need to have knowledge of PHP and how I can use it to achieve different things. As the web apps assignment is heavily focused on PHP, I am using it to gain extra skills for my project. These last two weeks have been centered around finalising my PHP assignment. My main focus for these two weeks was getting the page to function as much as I could. I worked on getting the buttons linked to the relevant pages and tried to ensure that they had the functionality I needed. I chose to prioritise this as I am using it to learn extra skills for my project.

Week 12

Image
Since returning to college, I decided to start creating the homepage for my project website. I was keen to create this, as it is one of the main parts of the site, as it is where users will log in to their accounts. I wanted to create a page which looked clean and modern, and was also relevant to the topic of my site, photography. Below is a screenshot of the page I created: Before I started to design the page, I had a rough idea of how I wanted the page to look. I wanted the background to be one image, which helps to show the topic of my site, without needing to write it anywhere. I then wanted to have the login form displayed over this image, and transparent so it gives the impression it is floating over the top of the image. I believe I have achieved this with the page I have created. The page isn't currently linked to any part of the site, so logging in will have no effect. In the next few weeks, I will be working hard to ensure the page is connected to the rest of the site ...

Week 10 & 11

Image
For the past two weeks, I have been combining my coursework for other units with my project. As part of Unit 35&36, I have been tasked with making a website to sell TV's. This task is similar to my project, and so I am using it as practice for my project implementation unit. Below are screenshots of some of the work I have done for Unit 35&36: This work is extremely relevant to my project as the foundations work in exactly the same way. For example, this site requires a database back-end and the rest of the site is coded using HTML, CSS and PHP. I have decided to use this work as part of my planning/research for my project, as it is teaching me valuable skills which I will need to make the site for my project. I have combined the last two weeks into this one blog post because I have been working on it for this length of time. I will use the skills I have learned on my project and I have used this as research because it works in a very similar way to my project.

Presentation

This week (Nov 29th) it was time to do my presentation. I decided the presentation should be a priority for me and so I put this before the rest of my project. I spent the days leading up to the presentation ensuring all my slides were prepared and I knew the message I wanted to convey for each slide. One thing I wanted to make sure of was time. I was given the goal of between 10 and 15 minutes and was keen to ensure this goal was met. To check the length of my presentation, I had a practice run at home. This gave me the chance to see any flaws in the slides before I presented it for real. My practice run came to 13 minutes, which I was happy with as I felt it was just the right length for the information I wanted to give. I decided not to prepare notes or a script, as I felt it would be distracting to be looking at notes during the presentation. The presentation included a short Q&A, where I was asked to clarify my time-scale and how I was going to structure my workload. I explai...

Week Before Presentation

This week I took a break from my project work, due to being away in London for a few days. Being away meant that I missed a lesson (15th November) and so didn't continue with my project work as I normally would have. However, whilst in London, I was keen to do a little bit of work. To do this, I made a start on gathering some images for my project. I took these images myself, as I am trying to use as much original work as I possibly can. This means using my own images for the final project. So although I didn't continue with my presentation or my initial research, I was creating some images which will be used in my final project. My PowerPoint still needs a bit of work before it is ready to present, so this is what I will be doing between now and the day of the presentation (22nd November). By the time I next post, I will have presented the PowerPoint. Therefore, the next post will show screenshots of my final presentation and will detail how it went and any feedback I received...

Presentation and Research

Image
This week was about continuing with the presentation and doing some initial research for my project. This is a screenshot of the research document I have started. This document is the start of my design research.  I looked at some existing websites and produced this document, which shows the sites I will be taking inspiration from. I chose to research 3 different websites to get some inspiration for my own design. I want my site to be original so I will not be "copying" these sites, however I will be using parts of their designs and some of their features. This is not my full research, this is what I started this week. Next week, I plan to do some more in-depth research and get some more inspiration for my design. I then hope to create some final sketches to show how I want my site to look.