Using Zones in Angular for better performance by thoughtram

  • That’s why Jordi Collell pointed out that another option would be to take advantage of Zone APIs, to execute our code outside the Angular zone, which will prevent Angular from running unnecessary change detection tasks.
  • We’ll take a look at some numbers later, but let’s quickly recap Zones and then dive into the code and discuss how Jordi used Angular’s APIs to achieve this performance first.
  • We’re working with the DOM element instead of a box object with bindings for and , because bindings won’t be change detected since we’re running the code outside Angular’s Zone.
  • The cool thing about is not only that it allows us to run code outside Angular’s Zone, it also comes with APIs to run code inside the Angular Zone, which ultimately will cause Angular to perform change detection again.
  • Using Zones is a great way to escape Angular’s change detection, without detaching change detectors and making the application code too complex.

In this article we’ll take a look at how to use Zone APIs to improve our app’s performance!
Continue reading “Using Zones in Angular for better performance by thoughtram”

NativeScript 3.0 lines up release with Angular 4

  • With NativeScript 2.5 recently reaching developers’ hands, the open source mobile framework’s builders are readying version 3.0 for an April release.
  • NativeScript enables development of native mobile applications for iOS and Android using JavaScript, producing one code base.
  • In NativeScript, the native platform’s rendering engine produces JavaScript modules and UIs.
  • The framework supports development using not only JavaScript, but also TypeScript and Google’s Angular framework; NativeScript supplements Angular when it comes to building mobile apps, providing access to native platform APIs and components.
  • A new release of the NativeScript UI was featured as well, with a more customizable DataForm control for building mobile forms, and bundling code with the WebPack module bundler was made easier.

Meanwhile, the framework for building native iOS and Android apps in JavaScript has improved debugging and Angular performance
Continue reading “NativeScript 3.0 lines up release with Angular 4”

NativeScript 3.0 lines up release with Angular 4

  • With NativeScript 2.5 recently reaching developers’ hands, the open source mobile framework’s builders are readying version 3.0 for an April release.
  • NativeScript enables development of native mobile applications for iOS and Android using JavaScript, producing one code base.
  • In NativeScript, the native platform’s rendering engine produces JavaScript modules and UIs.
  • The framework supports development using not only JavaScript, but also TypeScript and Google’s Angular framework; NativeScript supplements Angular when it comes to building mobile apps, providing access to native platform APIs and components.
  • A new release of the NativeScript UI was featured as well, with a more customizable DataForm control for building mobile forms, and bundling code with the WebPack module bundler was made easier.

Meanwhile, the framework for building native iOS and Android apps in JavaScript has improved debugging and Angular performance
Continue reading “NativeScript 3.0 lines up release with Angular 4”

Dimitris Klisiaris’s answer to Why would I use React over AngularJS?

  • But if Library A and B both try and do X, they can compete in a direct fashion in discrete and measurable ways.
  • By using small libraries – components with a dedicated purpose and a small surface area – it becomes possible to pick and mix , to swap parts of our front end stack out if and when they are superceded
  • You can move your legacy projects to new technologies incrementally , rather than rewriting everything, providing you stick to good practices and wrap those libraries carefully.
  • If you find you don’t like the templating language or error handling, you don’t have to rethink the entire project, you just hot-swap the component for another and you’re on your way again.
  • Small components usually do one thing very well .

Continue reading “Dimitris Klisiaris’s answer to Why would I use React over AngularJS?”

GraphQL the future for APIs?

  • GraphQL is a query language for your API, and a server-side runtime for executing queries by using a type system you define for your data.
  • Your client requests data in one request even in slow mobile network connections.
  • There are a number of reasons you might use GraphQL in your product or project.
  • Rather than construct several REST requests to fetch data that you’re interested in, you can often make a single call to fetch the information you need.
  • We think though GraphQL is backed by big companies, thinking in Graphs seems to be good fit for your data and kind of topology.

There has been a lot of buzz about GraphQL recently. GraphQL name rings bell in most of conferences around the world. There were a number of GraphQL sessions in the recent ReactEurope tour. This post throws insights on why GraphQL is the future for APIs.
Continue reading “GraphQL the future for APIs?”

Learn about Laravel 5.3 Pagination with Filters

  • Laravel PHP – Create a Social Network (Full App)
  • Laravel Generator – Get your APIs and Admin Panel ready in minutes
  • How to detect and diagnose Laravel application errors with Rollbar
  • Laravel based CMSs and open source applications that we should know!
  • Saeed Prez shows us how to use Laravel 5.3 Pagination with custom filters.

One of the bestselling Laravel books! Learning Laravel 5 shows you a fastest way to learn developing web applications using Laravel 5 PHP framework
Continue reading “Learn about Laravel 5.3 Pagination with Filters”