Amy
Member since Dec 15, 2016
- Profile: /members/13386-amy.htm
- URL: http://flexdiary.blogspot.com
- Comments: 7
Recent Blog Comments By Amy
-
Programming Is Hard: Reconciling Server-Side And Client-Side "Clean" Architectures
Posted on Mar 22, 2017 at 12:07 PM
Am I right in thinking that when you're talking about Controllers on the front end, you're specifically thinking about the "Angular/AngularJS" "thing" that is called a Controller? I think that the problem is that Controllers, Factories, and Services as defined in Angular don't at... read more »
-
Using BEM (Block Element Modifier) And Emulated View Encapsulation In Angular 2.4.1
Posted on Jan 13, 2017 at 2:03 PM
So it's not semantic for the widget to know it's in the header, and in fact this is at cross purposes to the Angular CSS philosophy, which essentially says your widget should always have the same styling no matter *where* it is. Which makes no sense in terms of any development I've ever done--it is ... read more »
-
Using BEM (Block Element Modifier) And Emulated View Encapsulation In Angular 2.4.1
Posted on Jan 13, 2017 at 12:00 PM
Ew, BEM means that your html is definitely not going to be semantic and is probably going to be very rigid in terms of what layouts it supports. Am I in crazy land where people keep digging out anti-patterns and saying "here's this great new thing I thought of?" Kind of like how Angular ... read more »
-
Thinking About Static vs. Private Methods In TypeScript / Angular 2
Posted on Dec 26, 2016 at 5:12 PM
If developers always designed everything perfectly and/or always had perfect knowledge of upcoming requirements, I'd agree with you. Bit IME people use statics primarily to make them easy to get ahold of. Which means they're actually using them to get around the need to properly design their softwar... read more »
-
Moving Core Application CSS Styles Into The Root Component In Angular 2.0.0
Posted on Dec 26, 2016 at 4:49 PM
It looks like to me that even if you use styleUrls that Angular 2 reads in those files and translates them to JS. I would suspect that the CSS applied in JS would "win," since I would think it would be applied after CSS from an external style sheet. If that's the case, specificity really w... read more »
-
Thinking About Static vs. Private Methods In TypeScript / Angular 2
Posted on Dec 21, 2016 at 2:13 PM
I just generally dislike statics coming from a strongly typed language where the specific implementation of the Class and hence its statics gets compiled into the runtime file, so it's literally not possible to swap to a different implementation than the one the client is grabbing onto. This makes t... read more »
-
Moving Core Application CSS Styles Into The Root Component In Angular 2.0.0
Posted on Dec 15, 2016 at 7:11 PM
I find myself deeply uncomfortable with the Angular 2 philosophy toward CSS. If you're familiar with the CSS Zen Garden project ( http://www.csszengarden.com/ ), the idea is that you can completely change the look and feel of a web page based on the CSS. The idea of separation of content from presen... read more »