Hi Everyone! My name is Dakota Lee Martinez. In the following post, I want to talk to you about why I wanted to learn Software Development. In my life, I’ve been passionate about many things. But, few things are as exciting to me as the developments in the field of software.
Some of my favorite conversations have been about the role of technology in our rapidly changing world. I think that the ability to think abstractly and to create tools is one of the things that really sets humanity apart. At present, the acceleration of progress in Software Development is extremely inspiring to me. These days, there are so many amazing things that we can do on the internet.
I have always been a creative person. I would always be inventing new ways of doing math problems, imagining how different the world would be if we changed the rules, and exploring how changes in the language I use to talk to myself could transform the way I felt about my life. I’ve written many songs, recorded them, read about countless techniques for getting the best sound in a recording or a live situation. Still, as I’ve gotten older, software has become a more substantial presence in all areas of my life.
Today, I am continually amazed by all we are able to do with recording software in our bedrooms. Ultimately, I have felt the value that great software can provide within the world of music long before I decided to learn software development. There is one particular story that I have to share, because it’s a wonderful example of just how big of an emotional impact software can have. For this story, I’ll take you back to my college days studying music in Claremont.
Hi Everybody! Welcome to the final installment of our series on building a Hacker News clone in AngularJS. In this post, we’re going to discuss routing resolves and when we might want to add them to our application. For a quick review, let’s take a look at what we covered in the previous posts:
In Part 1, we covered creating an Angular service to connect to the Hacker News API.
In Part 2, we covered creating a custom Angular directive to display individual stories.
In Part 3, we covered AngularJS pagination with a library developed by Michael Bromley
In Part 4, we covered creating a custom Angular component to display individual comments, using Angular Filters to help out.
In Part 5, we covered displaying threaded comments by using nested components.
In Part 6 of our series, we’re going to be adding routing resolves to our application to make sure that we don’t transition to a story’s show page before we get the story’s data from the Hacker News API.
To do that, we’ll be going through how to create routing resolves to preload data from a service before hitting the controller. There are certain instances where this is more useful than others. Specifically, when we are wary of a promise failing, using resolves can be a better bet as we won’t load a page before we have the data needed to display it properly. If a promise within a routing resolve fails, the page stays in its current state.