CS373 Spring 2021: Blog #6

Xuefei Zhao
3 min readMar 6, 2021
  1. What did you do this past week?
    This week my team mainly worked on the frontend of our website to deliver an MVP for phase 1. The website now has a splash page, the 3 model pages, and an about page. Each of the 3 model pages has 3 hard-coded instances displayed and each of the instances is linked to another page with more details. We also have a fully functional header bar to navigate among the 5 main pages. We worked on the documentation, and the technical report and postman documentation are updated with our achievement in phase 1. Furthermore, I spent some time adding format tools to our development environment to enforce coding styles.
  2. What’s in your way?
    I rely on pre-defined themes a lot in my previous software projects, so I never worried about CSS. However, the TA told us that we must do the themes ourselves in this project, so I spent a lot of time on beautify our UI.
  3. What will you do next week?
    Next week I plan to work on developing the APIs for our website. Specifically, I will fetch the data from our data sources and filter the data. Also, instead of getting all instances with all data from the data source, we add new methods that fetch one instance or a required number of instances with only the data they needed.
  4. If you read it, what did you think of the Open-Closed Principle?
    I have heard about the Open-Closed Principle or the concept before, and I believe this is very useful and can avoid a lot of trouble if people can use it in their projects. However, I found it very difficult to actually apply it. Most of the time we are asked to establish some specific functionalities in a limited amount of time. It can be helpful in the long term to develop a closed hierarchy, but most software developers do not stay on the same project and think in the long term.
  5. What was your experience of iterators and reduce2?
    I did not know much about python iterators. Most of the time the for loop in python is enough for me to do my work, and even if an iterator is needed there are some ways to get around it. But knowing the properties of iterators in python, I think I would be able to write more efficient programs.
  6. What made you happy this week?
    Our website is up!
  7. What’s your pick-of-the-week or tip-of-the-week?
    I spent a lot of time this week adding Eslint to our project. I enforced a lot of rules to make our source code as consistent as possible. Because I added the tool a bit late in phase one, it caused some pain for me to resolve all of the errors.

--

--