This week we learned about the network layer and focused on the data plane. I learned about two important concepts which was forwarding and routing. Forwarding, dealing with how data packets are moved between devices in a network, and routing, which determines the paths the data packets take across networks. In our lab assignments we learned about Network Address Translation (NAT), which allows communication between private network devices over public networks. The big assignment this week was our group programming assignment, the server chat program. I found this assignment to be particularly interesting because it provided me with a very basic but fundamental understanding of how chat programs are built.
This week we learned how to implement a different type of database using MongoDB. For our group project this week we changes the SQL code to MongoDB code. Both of these database applications do a fine job of working with data and saving it to a database. I did find that MongoDB seemed more streamlined than working with SQL. With SQL there seemed to be more setup as in creating prepared statements, and then executing queries. With MongoDB it seemed like a good chunk of the code was abstracted away and this made for cleaner looking code at the call site. If I had to choose I would likely go with MongoDB as it seemed more approachable.
Comments
Post a Comment