We created our own webclient for the API we created
When a web browser sends get requests to an API, the API sends back only data, the developer then is free to use all the data! For example, The City of Chicago has a webpage that stores all of their data, and by law, these data are all open to public to use! I used a Historical Landmark API and got a list of all the historical landmarks in Chicago and I created an app that displays all of the entry in a readable way! (not in array of hashes)
Trello keeps track of everything, from the big picture to the minute details. For free! https://trello.com/
MockFlow is an online wireframe tool for software and websites. https://mockflow.com/
SQL Designer http://ondras.zarovi.cz/sql/demo/
Today we expanded on the many to many assocation, using join table(s) to create a shopping cart for our mini capstone app.
We learned how to link multiple categories to each product through a CategoryProduct table. And we showed that on our show page.
We also did the same with our contacts app. We assigned random numbers of group id to each faker contact, and got to show these group names on the contacts show page.
Today before class, I spent an hour with Josh to fix the issue of migrating my seeds file multiple times. Turns out, it's easier than you'd imagine! It's great that Rails keep the seeds.rb and the migration files, because after you drop your database, all you need is to reorganize your seeds.rb, make sure that nothing is out of place, and just rake db:create, rake db: migrate, and then rake db:seed (assuming all of your other codes all functioning)! Oh, this puts a smile on my face :)
It's crazy that we're already in week 5! Including 4 weeks of pre-work, we're in it 9 weeks deep!!
As we submit our ideas for our capstone app, we are getting feedback from our instructor. It's exciting to see our ideas getting solidified, but at the same time, there's still so much more research to do!
Join table creates many-to-many associations. The join table is a third table that you create, in order to document the connection between the two(for example, products and categories). A product can be multiple categories, and vice versa, one category can have multiple products. For example, Air Jordans can be categorized as athletic shoes, and it can also be categorized as street fashion shoes (hypebeast!). In this case, you can create a ProductCategory table to document and make the connection!
Today we did a shopping cart for our mini capstone app. We made a form to input quantity and product ID. Although this looks elementary for a shopping cart, but we'll make improvements to make it more sophisticated!
Today we learned how to create a sign-up page, a login page, and a logout page.
For these forms, we learned how to make the password field show as black dots, and redirecting to the correct page.
Session is a coookie.
And we should always give vague feedbacks when someone fails a log in!
After a talk with Josh after class yesterday, I learned that why it's called a bootcamp, and not anything else. Bootcamps were built to push you and to accelerate your growth. Even now we are are feeling drowned, we are learning so much in such a short time! There is an end to the tunnel. Eyes on the prize. PTL
Chicago Data Portal
Cloud Vision API
Today we did more practices in data table association. The pace was really fast. Head is currently a blur
We learn the very basic concept of password encryption, and was introduced to bcrypt gem and benchmark gem.
Mapme
device - Authentication
Twilio - bots
Haml, an abstract HTML
The concept of linking two tables can be confusing, but thinking it as farmers branding cows was really helpful (credit: Josh Nixon)!
We can just write belongs_to and has_many, and Rails magic happens! :)
http://guides.rubyonrails.org/active_record_querying.html
To retrieve objects from the database, Active Record provides several finder methods. Each finder method allows you to pass arguments into it to perform certain queries on your database without writing raw SQL.
We learned how to create new links to sort the items in our mini capstone app in either ascending or descending approach in the navbar, using query params.
Today we each connected with 50 web developers in the Chicago area. We're making an early effort to make ourselves known!