I have analysed the directories of the project and read sections of most of the files. I have also used web development tools available on the Chrome web store to analyse in more detail the responses generated by the server running the website when sent particular requests. I have built a mental map of the website, including which elements of it are complete and which parts still require attention. I am also now more aware of the time that particular parts of the website will take to make, meaning I will be able to better judge my progress as I work on the project and to know if I am ahead or behind schedule.
assets folder. I also researched online for a templating system like the popular Liquid, written in the PHP programming language, which I'm already using, rather than Ruby. I found that Liquid has in fact been ported to PHP, and made available in a repository on GitHub. I may decide to use this as part of the email templating system.
The gallery page has been completed, and the images can be easily viewed. The gallery page back-end connects to the database that stores information about each of the items (that will show on the shop page). Based on the number of entries in the MySQL table, the PHP script generates the right amount of HTML to show each of the images on the server.
Because this page of the website was completed in a smaller amount of time than I had originally expected, I was able to move onto the next part of the project – the shop pages – earlier than I had planned.
The shop section of the website was completed on-time, and it allows users to select items from an extensive list. Items are added to an easily-accessible basket at the bottom of the page, and can be easily removed. As long as at least one item is present in the basket the user is able to proceed to the contact page. The list of items picked from the shop page will be appended to the message, and the subject line of the resulting email will be changed accordingly. The reason behind adding the items to a message rather than processing the bank-card credentials of a user is the nature of the website. The products on sale are hand-crafted, and a sudden demand couldn't necessarily be met. By adding the order to a message, the customer is able to add a more personal message, perhaps adding more information about what they would like to purchase. The prices outlined on the shop page are also subject to change, and are rough to begin with. The ordering system allows the owner of the website to give the customer a more accurate quote as to the final price, and payment can then organised.