Funny name, amazing gift! Today Chyld gave us Tmuxinator. A real Ruby gem that makes our lives so much easier. This blog is not entirely about Tmuxinator, however, I felt it was worthy of the title since it is such a great thing. With a fairly easy install, our tmux session opens up with 10 windows; frontend, backend, server, unit test, acceptance test, redis, mongo, grunt, system and two prompt tabs. Sounds a little like overkill, but it makes staying organized so much easier. Thanks, Chyld!
Week 9 started off with presentations of our weekend projects. Weekend project you ask? Yes, on Friday afternoon Chyld assigned a doozy of an assignment that would spread out over the holiday weekend. If that wasn’t challenging enough, he made it our first group project. Any hope of a mental break was crushed. In true cohort 6 fashion, everyone put on their big girl (or boy) pants and pulled it together for some amazing results. I was truly impressed. My team was amazing. I didn’t have child care this weekend so any work that I was able to do had to be done while my 9 month old was sleeping. My team really picked up the slack and I am so grateful. Chyld gave us a little advanced warning that we will have another group assignment this weekend. I have family coming in town. It sucks that I wont be able to spend time with them, but at least I will have free child care so I can take a more active role in this project.
After our presentations, we learned about Passport. Passport is authentication middleware for Node.js. It provides users with a single sign-on so they don’t have to remember a ton of usernames and passwords. Using an OAuth provider such as Facebook or Twitter, users don’t have to create a username and password or provide personal information. Passport serializes and deserializes user instances to and from the session. Serialization takes a user object and turns it into an UserId and Deserialization reverses that action at logout.
Along with Passport, we learned about Flash. Flash is a place to store messages that will be visable to the user for a brief period of time. An example would be when a user tries to login using the wrong credentials, a message would pop up on the screen saying something like, “Sorry sucka! Wrong info…please try again.” Once the user reads the message, it goes away. We still have a bit to learn about this, but it seems like it will be a very user-friendly practice.
A few other neat tools that we learned about today were Font Awesome Icons and Subtle Patterns. Font Awesome Icons are cool little icons that can be used on a site to add a visual alongside areas such as buttons or form fields. Subtle Patterns has a bunch of background image patterns to be used when styling your css. These are some fun resources that can really spruce up a site.