Week 5, Day 1: I Never Thought JQuery Could Be So Confusing

November 28, 2016

We spent the day continuing to work with JQuery and AJAX on our Trip Planner app (previous posts: here and here, this time with the goal of making it persistent – that is, making the user’s trip data more permanent by saving it to and retrieving it from a database, rather than an object that clears itself every time the page is refreshed or the server is reset. First, we reconfigured a get route so that it would serve up all of our attraction information.

Continue reading

Week 4, Day 3 and Break: More JQuery, WebSockets, and React

November 27, 2016

We ended class early on Wednesday because of the holiday. Given the couple of hours that we had, my pair and I primarily worked on figuring out how to “persist” (at least until the server is reset) the hotels, restaurants, and activities that the user chooses on the days that they add them to – so, for example, if the user chooses a hotel and three restaurants on Day 2, that hotel and those restaurants will populate the itinerary every time the user switches to Day 2.

Continue reading

Week 4, Days 1 and 2: ScriptCraft Hackathon, JQuery, and an ES6 Intro

November 22, 2016

Yesterday morning, we had a checkpoint over Express and Sequelize – a three-hour long evaluation of sorts to see where we were at in our understanding of the concepts and their usage. I spent the almost the past week reviewing and studying and ensuring I understood the ins-and-outs of things like setting up models with validations and getters and setters and class methods and instance methods and hooks, creating associations between models, handling routes, communicating with the database to create/update/read/destroy, and eager creation and loading.

Continue reading