title: Put the knife down and take a green herb, dude. |
descrip: One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com Using 89% of the same design the blog had in 2001. |
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white. As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green. |
|
Thursday, May 20, 2021 | |
I finally found some videos that talk directly to making an AngularJS site [sic] play nicely with TypeScript (Pluralsight pay-to-play. You can get a free trial, but make sure you select Premium level for your trial or you'll be out of luck). Looks like there was a nice little period where Angular2 had not offiially been released, but TypeScript was already reaonsably mature.
So I’m running through the tutorial, and hit the section on Providers. I admittedly hadn’t used them before, and very quickly learned why: Usually you can use a specialized version of a Provider to do what you need, like a Service or Factory. Providers are conventionally used for things that are reused in multiple apps and might need a domain specific tweak as it’s spun up in each specific app's context.
You know, for instance...
I mean, I'm all for a little humor in a tutorial, but can we get something closer to a real world example for the docs? I mean, I'm not a big fan of PhoneCat app either, since it's just a (now hilariously dated) commercial for Android phones, which is better (?) but so self-serving as to make me wonder. Angular.io's Heroes app is actually pretty close to the right speed. Honestly, the AngularJS docs in general have left me a little disappointed. Guess in a perfect world, that wouldn't be a problem. Sometimes you gotta know the bugs to ship and which JavaScript frameworks to let die. Labels: angularjs, wait what? posted by Jalindrine at 5/20/2021 01:54:00 PM |
|
| |
MarkUpDown is the best Markdown editor for professionals on Windows 10. It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support. Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor. Stop looking. MarkUpDown is the app you're looking for. Learn more or head over to the 'Store now! |
![]() |
|
|