ColdFusion

Related Stories:

Technology

Software

Programming

ColdFusion

ColdFusion Fri Jan 12 2018 13:22:00 GMT+0000 (UTC)
WHERE THE PARTY'S AT -- Ben Nadel demonstrates that a wildcard route (**) can redirect to a relative location in the UrlTree. This allows a feature module to provide local "missing route" logic without becoming overly coupled to the URL architecture at the application at la
Ben Nadel demonstrates that the wildcard route (**) can be used multiple times in an Angular 5.1.3 application. And, can be scoped to different portions of the Route configuration tree....
Ben Nadel demonstrates that percentage-based CSS translations can still cause blurry borders, even in the latest release of Chrome. This makes a percentage-based translateX / translateY approach viable in only a subset of circumstances....
Ben Nadel looks at how to convert TechSmith JING SWF movies into MP4 video files. Because the JING SWF movies don't actually contain any video assets, the conversion process is going to require a labor-intensive, realtime, and tedious replay-record w
Ben Nadel looks at parsing derived fields with Regular Expressions (RegEx) in Loggly. And, points-out that there may be a newline character at the end of your log data that you aren't accounting for in your pattern....
Ben Nadel considers the case in which our instinct as product designers diverges from the evidence provided by an analytics system; and, posits that a high-conversion workflow does not necessarily entail a positive user experience (UX)....
Ben Nadel demonstrates how to use the flexible box model in CSS to keep content slightly off-center (for design purposes). He does this with the help of "spacer" elements that have proportional flex-basis percentages....
Ben Nadel disputes the claim that frameworks and libraries prevent people from learning JavaScript. In fact, he argues the opposite: frameworks and libraries can make you a much better developer, forcing you to think differently and more deeply about
Ben Nadel demonstrates an unexpected margin collapsing behavior in Webkit (Chrome and Safari) with Body tags that are using 100vh (100 vertical-height units). And, provides a few possible work-arounds....
Ben Nadel - with the much needed help of Ben Darfler - investigates the use of Distributed Locking in the InVision platform; and, noodles on ways in which distributed locks can be replaced with idempotent processing (for safer, more consistent, and h
Ben Nadel considers what it means for code to be "idiomatic." Most of the time, idiomatic is a good thing. But, certainly not always. In such cases, favor "readable" code over "idiomatic" code and embrace the opportunity to become the rising tide tha
Ben Nadel looks at how to use DOM (Document Object Model) data-* attributes as a means to pass configuration information into Angular's event plug-in system....
Ben Nadel adds a "version" option to his Incident Commander application that will allow InVision's needs to diverge somewhat from the needs of the general public. All data is still stored in a single object inside Firebase's backend-as-a-service (Baa
Ben Nadel noodles on the role of front-end data stores like the localStorage API and the Cookies collection as the front-end application is broken up into different deployable units. Does this decomposition and separation of concerns inadvertently tu
Ben Nadel experiments with the dependency-injection container in Angular and confirms that a Service can be provided as both an individual injectable and as part of a multi-collection at the same time....
Ben Nadel demonstrates how to use an interactive rebase in git to move white-space changes to their own commit such that Pull Requests (PR) become easier to read and reason about....
Ben Nadel shares his approach for implementing keyboard shortcuts in Angular 5.0.5, using a KeyboardShortcuts service that requires explicit priorities and event-propagation rules. This explicit configuration brings clarity and a holistic view to glo
Ben Nadel demonstrates one of the TypeScript features that he loves the most: the TypeScript compiler won't allow him to make poor assumptions about "duck typing" and object usage. Instead, he is forced - by the compiler - to write clean, self-docume
Ben Nadel fixes a 10-year mental model of how DOM methods and DOM events interact. For the last decade, he assumed that form.submit() represented the normal DOM workflow. He was wrong....
Ben Nadel shares the struggle he has with mentally parsing double-parentheses - ()() - which is a common syntax in the JavaScript and Node.js communities. Such expressions require more cognitive load than his caveman brain is able to provide....
Ben Nadel shares a pattern of Interface usage that he's developed in his Angular 5 applications with TypeScript. He has started to lean on local Interfaces rather than imported Interfaces for simple data-structures....
Ben Nadel shares an attribute directive that he uses in his Angular 5.0.2 applications to help make the native "autofocus" behavior a bit more consistent in a dynamically-rendered view within a single-page application (SPA)....
Ben Nadel presents the edge-case in with the RouterLinkActive directive, in Angular 5.0.2, won't properly activate a navigational element. But, provides an input-binding hack that will force the RouterLinkActive directive to re-synchronize with the B
Ben Nadel demonstrates how to use the CSS property "overflow: hidden" to prevent scrolling on the Body element in an Angular 5.0.2 application. This approach can then be encapsulated in a WindowScrolling service and used to disable scrolling when mod
Ben Nadel reflects on the Message Queue (MQ) and looks at why it is an integration database that doesn't suffer from the traditional stigma of an integration database. In fact, it is just the opposite - a shared database that keeps systems more loose
Ben Nadel looks at how shared styleUrls are compiled down in Angular components, destroys his previously poor assumptions, and sees a totally new path forward for modular CSS definitions....
Ben Nadel explores the concept of a "stacking context" in CSS, how it applies to the Document Object Model (DOM), how it quarantines z-index values and, how understanding it will remove the Fear, Uncertainty, and Doubt (FUD) surrounding a layered arc
Ben Nadel builds an SVG-based progress indicator in Angular 5.0.1 as inspired by the TweetDeck intake form progress indicator from Twitter....
Ben Nadel explores the flexible box model in CSS and uses flexbox to try and recreate the overlapping avatar row widget used in InVision App....
Ben Nadel demonstrates how to create a CanActivate Route Guard that will prevent a secondary view from being rendered in a named-outlet upon page refresh in Angular 5.0.0....
Ben Nadel demonstrates that matching multiple attribute selectors on a single HTML element only produces one Directive instance for that element. Which is exactly the kind of behavior we would hope for....
Ben Nadel demonstrates how to use the IntersectionObserver API to implement lazy image loading in Angular 5.0.0. The IntersectionObserver API handles the hard work of calculating element visibility - we just have to wrap it in attribute directives...
Ben Nadel explores the concept of scroll-trapping in which the mouse wheel is allowed to scroll a local container but is not allowed to scroll a parent container. He encapsulates this logic in an attribute Directive in Angular 4.4.6....
Ben Nadel demonstrates how to create a custom (directclick) DOM event plug-in in Angular 4.4.6, which will invoke its handler if and only if the target of the click event is the element on which the (directclick) event-handler was bound....
Ben Nadel reviews "What The Flexbox," a FREE video course about the flexible box model in CSS by Wes Bos. This course covers the technical properties of flexbox-based layouts; and then, walks you through several informative real-world scenarios....
Ben Nadel demonstrates some "unwanted" behaviors in the Angular 4.4.6 router; and, how adding .delay(10) to the ActivatedRoute stream can mitigate these behaviors....
Ben Nadel demonstrates an apparent race-condition in Angular 4.4.6 that causes View components to be destroyed and then unnecessarily re-created if a navigation event takes place too quickly; and, only under circumstances....
Ben Nadel demonstrates that the emulated view encapsulation in Angular 4.4.6 does not apply to @keyframes animations. This allows @keyframes animations defined in one component to override the @keyframes animations defined in another component....
Ben Nadel reviews The New CSS Layout by Rachel Andrew. This book offers a technical introduction to the Flexbox and Grid specifications (among others), demonstrating how these new layout techniques offer powerful solutions for robust and responsive p
Ben Nadel examines the "start_time" column in MySQL's slow query log and concludes that it is, in fact, the "end" time or the "log" time of the query. With this insight, debugging slow queries can be made much more intuitive with a little date-math..
Ben Nadel discusses MySQL's MRR - Multi-Range Read - optimization and how it inadvertently caused a partial database outage by pulling millions of unnecessary records into memory....
Ben Nadel demonstrates that the ngOnInit() and ngOnDestroy() life-cycle methods in Angular 4.4.6 are not invoked symmetrically. Which is to say, sometimes only the ngOnDestroy() life-method method is called....
Ben Nadel reviews RabbitMQ: Patterns For Applications by Derick Bailey. It's a quick read that discusses the different types and composition of messages that can be used in a distributed system; and, what kinds of exchanges should be used for the dif
Ben Nadel shares a quick LESS CSS tip that he learned from Wes Bos - you can use the fade() method to apply an opacity to a HEX value....
Ben Nadel reviews Patterns of Enterprise Application Architecture by Martin Fowler. At 15-years old, the book feels just as relevant today as it did when it was released. And, while a good portion of the book went over Ben's head, much of it was thou
Ben Nadel demonstrates how to apply CSS styles to routable view components when using simulated encapsulation in Angular 4.4.4....
Ben Nadel demonstrates how to create a secondary-route component that is capable of closing itself in Angular 4.4.4. It doesn't seem to be possible with the routerOutlet directive; only with the .navigate() service method....
Ben Nadel demonstrates that routable View components don't need to have Selectors in Angular 4.4.4. But, they are available; and, they me be helpful for debugging and styling purposes. It's good to know that the option exists should you want to lever
Ben Nadel reviews I Heart Logs: Event Data, Stream Processing, And Data Integration By Jay Kreps. This book describes a fascinating architectural pattern in which a commit log acts as the centralized source of truth for your organization....
Ben Nadel demonstrates that a local redirect in the Angular 4.4.4 router will automatically append any non-local URL segments to the redirectTo action. This makes it incredibly easy to map one subset of URLs on to another subset based solely on the U