{"id":1844,"date":"2018-07-27T15:28:58","date_gmt":"2018-07-27T15:28:58","guid":{"rendered":"http:\/\/blog.soton.ac.uk\/webteam\/?p=1844"},"modified":"2018-07-27T15:30:05","modified_gmt":"2018-07-27T15:30:05","slug":"week-7-of-rayna-first-deliverable","status":"publish","type":"post","link":"https:\/\/blog.soton.ac.uk\/webteam\/2018\/07\/27\/week-7-of-rayna-first-deliverable\/","title":{"rendered":"Week 7 of Rayna: *FIRST DELIVERABLE*"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Blog Post 7<\/span><\/p>\n<p><span style=\"font-weight: 400\">Hello again!<\/span><\/p>\n<p><span style=\"font-weight: 400\">This week\u2019s blog post was supposed to be special. I was going to write it in Bulgarian. Unfortunately, Ubuntu is being funny and not allowing me to use the cyrillic alphabet. Next week I guess!<\/span><\/p>\n<p><span style=\"font-weight: 400\">Last week I thought I was almost done with Sprint 1. I was wrong and it took me until Thursday to do it. \ud83d\ude41 Still better than the expected which was the end of Friday!<\/span><\/p>\n<p>Czech out my progress at\u00a0<a href=\"https:\/\/sourcekettle.ecs.soton.ac.uk\/project\/ecs-qna\">this link if it works<\/a><\/p>\n<h1><span style=\"font-weight: 400\">University Bootstrap Template<\/span><\/h1>\n<p><span style=\"font-weight: 400\">Last week I started using the University Official Bootstrap University Branding Template. At first I was finding it hard to fit my design ideas into the style of the template, but after a lot of effort I managed to make things look presentable. Since last week I\u2019ve made a bunch of improvements and some new pages.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The pages I\u2019ve made are the following:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Login<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Home<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">My modules<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">View module<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">View question<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">My unanswered questions<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">My answered questions<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ask a question<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Universal HTTP error page<\/span><\/li>\n<\/ul>\n<h1><span style=\"font-weight: 400\">Bugs<\/span><\/h1>\n<p><span style=\"font-weight: 400\">This week I discovered a bunch of bugs and had to treat them. Yuck! At least they\u2019re out of the way now.<\/span><\/p>\n<h1><span style=\"font-weight: 400\">The Wonders of Test-Driven Development<\/span><\/h1>\n<p><span style=\"font-weight: 400\">Ever since last week when structure was established into my project, I\u2019ve been following the principles of test-driven development. I\u2019ve noticed the following things:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">It can save a ton of time<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">It can be frustrating<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">When you\u2019re a noob and you don\u2019t know how things will work, how do you know what the test should do?<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">PHPUnit doesn\u2019t spit out any error messages so it\u2019s annoying to debug tests<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tests are boring<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">However TDD is still the way to go for sensible reasons<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">I\u2019ve had 1 persistent issue with my testing: it deletes the live database every time. I understand there is a way to configure it so that the tests have their own database. I tried doing that but suddenly half my tests were failing for no reason. Oh well! One day I might try again.<\/span><\/p>\n<h1><span style=\"font-weight: 400\">Current level of functionality<\/span><\/h1>\n<p><span style=\"font-weight: 400\">Things the system can currently do include the following:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Student can ask a question<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Lecturer can answer a question &amp; choose whether to make it public<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Student can see all their own questions &amp; all other public questions<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Lecturer can see all the questions on their module<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Students can like &amp; unlike questions<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Students &amp; lecturers can see how many likes a question has<\/span><\/li>\n<\/ul>\n<h1><span style=\"font-weight: 400\">Screenshot Dump<\/span><\/h1>\n<p><span style=\"font-weight: 400\">Weekly screenshots!!<\/span><\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-24.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1848\" src=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-24-288x300.png\" alt=\"\" width=\"554\" height=\"577\" srcset=\"https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-24-288x300.png 288w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-24-768x801.png 768w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-24-982x1024.png 982w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-24.png 1011w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1847\" src=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-11-288x300.png\" alt=\"\" width=\"553\" height=\"576\" srcset=\"https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-11-288x300.png 288w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-11-768x801.png 768w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-11-982x1024.png 982w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-26-11.png 1011w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-59.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1846\" src=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-59-288x300.png\" alt=\"\" width=\"552\" height=\"575\" srcset=\"https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-59-288x300.png 288w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-59-768x801.png 768w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-59-982x1024.png 982w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-59.png 1011w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-40.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1845\" src=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-40-288x300.png\" alt=\"\" width=\"547\" height=\"570\" srcset=\"https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-40-288x300.png 288w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-40-768x801.png 768w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-40-982x1024.png 982w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2018\/07\/Screenshot-from-2018-07-27-16-25-40.png 1011w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Blog Post 7 Hello again! This week\u2019s blog post was supposed to be special. I was going to write it in Bulgarian. Unfortunately, Ubuntu is being funny and not allowing me to use the cyrillic alphabet. Next week I guess! Last week I thought I was almost done with Sprint 1. I was wrong and [&hellip;]<\/p>\n","protected":false},"author":99742,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1844","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/1844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/users\/99742"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/comments?post=1844"}],"version-history":[{"count":3,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/1844\/revisions"}],"predecessor-version":[{"id":1851,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/1844\/revisions\/1851"}],"wp:attachment":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/media?parent=1844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/categories?post=1844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/tags?post=1844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}