Our very own Burke Holland has released several videos that will interest NativeScript Developers. In this video series, you'll learn the nuances behind Paths in NativeScript applications, Control Value access, Observables and Observable Arrays. If you like these videos and want more, be sure to subscribe to Burke Holland's YouTube channel.
Understanding Paths in NativeScript, Runtime – 4:51
Understanding paths is key to using NativeScript well. In this video you will learn how to reference modules / files in NativeScript. You will also get a better understanding of how paths work for node_modules and project files.
Getting and Setting Control Values in NativeScript, Runtime – 5:35
Controls, or Views are the foundational elements of the mobile user interface. In this video, Burke Holland will demonstrate how to programmatically get and set control values. This method is similar to selecting an element with jQuery and setting it’s value. I.e. $(‘#someElement’).val(‘SomeVal’);
NativeScript Observables, Runtime – 4:41
Observables are the preferred way to get data to and from the user interface in NativeScript. They also make it a LOT easier to keep your data models in sync with your UI. In this video, Burke Holland demonstrates the fundamental concept behind observables, the binding syntax and how to handle value updates and events.
Using Observable Arrays in NativeScript, Runtime – 10:29
Observable Arrays in NativeScript are used to create collections of items that are bound to a user interface. This way, whenever the collection is updated, the UI is updated as well. For instance, if there was a list of items, instead of having to remove the item from the collection and from the UI, it is removed from the Observable Array, and the UI is immediately updated. In this video, Burke Holland explains the fundamentals of Observable Arrays and how to use them with standard NativeScript observables.