Toll Free: +1-855-656-NUVI

Tag: tutorial
  • Alexander Ziskind

Have you ever written platform specific code in NativeScript, whether it was JavaScript or CSS? Did it look like a giant ifthenelse statement? Or maybe you even separated out your platform specific code into separate functions, but you still needed conditional statements and your code for iOS and Android still gets packaged up whether it’s destined for one platform or another. In this series of videos, I’ll show you how to avoid doing this altogether and get only the code you need for a specific platform packaged, all while using clean interfaces and TypeScript.

Continue
  • Alexander Ziskind

Do you manage your application state using the Flux pattern (now better knows as Redux, I supposed)? Well you should check it out since it will make your application state handling life much easier. @ngrx is a Redux inspired set of libraries for Angular. You’ll find exactly the same concepts used in @ngrx as you did in Redux: actions, reducers, and a single store. The difference here is that @ngrx is build on top of RxJS, so at the heart of the @ngrx store are observables. The @ngrx with NativeScript course on NativeScripting.com was just updated to the latest versions of everything! It’s a gentle introduction to using @ngrx in a NativeScript with Angular application.

Continue
  • Alexander Ziskind

This may sound familiar to you.

You’ve built an Angular web application for the browser, and then had to create a mobile application that has pretty much the same features. So you start from scratch, and maybe, just maybe, you can use some of the business logic code that you’ve already written in your mobile app. If you’re lucky.

If you want to be a good citizen of the code world, you need to learn how to recycle your code!

Continue
  • Alexander Ziskind

If you have used the Redux pattern for your application store before, you know how powerful the concept is. @ngrx is a Redux inspired set of libraries for Angular. You’ll find exactly the same concepts used in @ngrx as you did in Redux: actions, reducers, and a single store. The difference here is that @ngrx is build on top of RxJS, so at the heart of the @ngrx store are observables. The new course on NativeScripting.com was just launched and it’s a gentle introduction to using @ngrx in a NativeScript with Angular application.

Continue