Friday, May 25, 2018

I saw Beth Carretto speak on Angular Elements on Wednesday night.

This meeting was one of the STL Angular Meetup meetup.com meetings out at Bullhorn and Beth Carretto is a UI Engineer at Bullhorn itself. Bullhorn doesn't really use Angular Materials itself. Ms. Carretto just goofed off with them some now that they are an official part of Angular (as of Angular 6's release) and no longer an experimental undertaking of Angular Labs. Lance Finney was at this event. I chatted with him some. He mentioned that the Ivy compiler is coming out later this year, and Beth stressed that it will reduce the size of Angular Elements and get them manageable such that they are something you might actually want to use without an unrealistic load time. The Bazel build tool system will allow you to play with Ivy. Lance also mentioned that he was going to present remotely the following night at Bonnie Brennan's ngHouston user group. Apparently, the "Tour of Heroes" app has five unit tests in it and three of them have broken over time as the version of Angular has changed and Lance's talk was on how to get them working again. I see stuff in temporary disrepair all the time in the Angular space. After Angular 6 came out the CLI wasn't immediately ready to make an Angular 6 application, etc. I'm wandering off topic, I know. Beth showed off that you may basically include in a plain Jane website that has no Angular code a script tag to reference one .js file and then, downstream of that, you are good to go to just have a selector tag for your Angular Element as if it were a component. Whatever page crawling magic there must be to make sense of the tag is just part of what is packaged up in the token .js file. You may have a module, a component, and the template for a component as three separate files when you work and they all will become a smorgasbord of code in the .js file you will make. Nice. When you find yourself getting underway ng add @angular/elements as an Angular CLI command will loop in Angular Elements and ng g component -v Native sets ViewEncapsulation.Native which is needed for some Shadow DOM magic. Polymer Elements and Angular Elements are rival ways to do web components and Joshua Godi who runs this meetup (with Elizabeth Carretto as she is stepping up as of this meeting) mentioned that a company called Vaughton has done some work in getting Polymer stuff to run in Angular apps. I think there might be some videos online. I'm not sure how Josh Godi spells Vaughton as I can't find them in Googling.

 
 

Addendum 5/26/2018: There is a Slack channel for STL techies and I see someone mentioning MAMP on there right now (well, in yesterday's stuff) which Wikipedia says is like LAMP only with macOS in lieu of Linux. I had to look it up so I learned something. I forgot to mention yesterday that Beth invited me into this group on Wednesday night. It reminds me of the los techies Slack channel of Austintexasland. Los Techies was named for the Dos Equis beer whose name means "two X" in Spanish and that has nothing to do with anything.

No comments:

Post a Comment