a/A - w4d2
Today I learn a good lesson that I should have took notes while watching the rails videos that were part of the readings... the content in the videos was similar to what we did in our prep work and I thought I would remember, but of course I did not... In lecture today we had a long discussion of “params”. There are three sources where params can get key and value pairs from. These are the post body, path, and query string. I don’t think I still fully understand this deeply, but I have a general understanding of it.
Apparently yesterday we build an API. API’s sound like they are very complicated/technical. However, it seems like they are just some way to output data that can be used elsewhere. Yesterday we build a Contacts API that had contact info and usernames that could be access outside of our application in json. That was my take away from lecture this morning. I’m sure there is more to an API description. I think once I learn how to use other APIs, I’ll gain a better understanding of it all.
Today’s assignment was a play on 99 Dresses. App Academy is obsessed with cats so we built 99 cats. We were required to build cats, and rental requests. Tomorrow we will be continuing on top of this project to integrate authenticity into it. I feel like I’m really enjoying Rails so far. I do hate how ugly our applications look with just html. Hopefully tomorrow I’ll have some time to apply some CSS later in the day. Day 17 is done!







