Hello, Angular 4.0!
Today in class we were led through The Hero Editor tutorial from the official Angular site. Holy crap. I really like it!!
I can’t remember if I mentioned it before, but at Galvanize they choose to teach Angular 1 because it’s still the most commonly used version. We specifically started with 1.6; it allows for the code to be written in the older way, but we can also code in a way that’s similar to 4.0.
Overall, the architecture in 4.o appears to be the same as it is in 1.6, however, the implementation seems a lot cleaner in 4.0. I think that can be attributed to the use of Typescript as well as classes. I had heard of Typescript before and thought it sounded like a good idea. What can I say, I like my strongly typed languages! I got through most of the tutorial but then things kinda started breaking down and I wasn’t sure why. I did kind of speed through the tutorial, I was excited. I may blow all the code away and start over, or I may try to implement my own similar simple program. I think an address book-type thing might be neat and feel slightly less trivial.
After lunch I went back to good ol’ Angular 1.6 and my reddit clone. I created a users table in the database, a users router, and a user service and component. I got registering and logging in mostly working. Logging in isn’t so persistent yet though. If you’re not logged in, though, you can’t add posts or comments and you can’t up/downvote. I may poke at it some more this weekend.
I snagged a couple of React and React Native courses on udemy, they were on sale. I’d like to start one on Sunday and see if I can work through them on the weekends. Maybe I can also do them on weekdays that I’m not so gosh dang tired after school. So much cool stuff that I wanna learn, so little time!
