The rise of functional programming & the decline of Angular 2.0 • Wolk Software Engineering

Learn why we believe that the rise of functional programming (FP) will prevent Angular 2.0 from being as successful as its predecessor. Angular 2.0 RC.5 was just released last week and is now really close the long-awaited 2.0 release. After the… | Wolk Software Engineering | A group of young and ambitious people dedicated to creating cutting-edge applications in combination with beautiful and functional design.
Continue reading “The rise of functional programming & the decline of Angular 2.0 • Wolk Software Engineering”

Angular 2 Application Architecture

  • Different strategies might be needed for controlling different types of state.
  • If the state needs to be changed we replace it by a new state in a controlled manner, but don’t mutate the existing state.
  • Given an initial state and an action, the reducer function returns the next state.
  • keeping the application state under control, so that the application remains simple to reason about
  • Building an Angular 2 App using Flux

In this post we will explore how to design an Angular 2 application according to the Flux architecture, by using the Redux and Immutable.js libraries. We will go over the following topics:
Continue reading “Angular 2 Application Architecture”

Angular 2 Application Architecture

  • Different strategies might be needed for controlling different types of state.
  • If the state needs to be changed we replace it by a new state in a controlled manner, but don’t mutate the existing state.
  • Given an initial state and an action, the reducer function returns the next state.
  • keeping the application state under control, so that the application remains simple to reason about
  • Building an Angular 2 App using Flux

In this post we will explore how to design an Angular 2 application according to the Flux architecture, by using the Redux and Immutable.js libraries. We will go over the following topics:
Continue reading “Angular 2 Application Architecture”

The rise of functional programming & the decline of Angular 2.0 • Wolk Software Engineering

  • JavaScript is a very accessible programming language and, as a result, FP in JavaScript is much more accessible than learning Haskell .
  • catch(this.handleError); } // Add new Hero private post(hero: Hero): Promise { let headers = new Headers({ ‘Content-Type’: ‘application/json’}); return this.http .post(this.heroesUrl, JSON.stringify(hero), {headers: headers}) .toPromise() .then(res => res.json().data) .catch(this.handleError); } // Update existing Hero private put(hero: Hero) { let headers = new Headers(); headers.append(‘Content-Type’, ‘application/json’); let url = `${this.heroesUrl}/${hero.id}`; return this.http .put(url, JSON.stringify(hero), {headers: headers}) .toPromise() .then(() => hero) .
  • Reactive programming is not functional programming.
  • We can use the Angular 2.0 components (even though they are not stateless functional components) together with some other libraries (like Redux or RxJS) to make Angular 2.0 feel “more functional”.
  • Angular 2.0 uses RxJS with is a functional reactive programming (FRP) library .

Learn why we believe that the rise of functional programming (FP) will prevent Angular 2.0 from being as successful as its predecessor. Angular 2.0 RC.5 was just released last week and is now really close the long-awaited 2.0 release. After the… | Wolk Software Engineering | A group of young and ambitious people dedicated to creating cutting-edge applications in combination with beautiful and functional design.
Continue reading “The rise of functional programming & the decline of Angular 2.0 • Wolk Software Engineering”

What Should Front End Developers Learn in 2017? – Front End Classroom

What Should Front End Developers Learn in 2017? #javascript #reactjs #angularjs #functional

  • How to Learn Functional Programming in JavaScript is a comprehensive list of free and paid courses on learning functional programming in JavaScript.
  • How to Learn Reactive Programming with RxJS shows you courses where you can get introduced to RxJS, Reactive and Async Programming or learn it more in depth.
  • You’ll find some courses designed for all skill levels and don’t require prior knowledge of any other frameworks.
  • So I wanted to take this opportunity to recap all the posts I have written that also cover each of Eric’s topics to learn in 2017.
  • Courses in the track include Node.js, Express, Angular and the MEAN stack, which is MongoDB, Express, Angular and Node.

JavaScript teacher and author Eric Elliott wrote a blog post last month called “Top JavaScript Frameworks & Topics to Learn in 2017“. In his post, Eric gives you a high level overview of what a front end developer should know or start learning in 2017. The goal of this is to help you sort through any confusion by just giving you the main topics you should focus on.
Continue reading “What Should Front End Developers Learn in 2017? – Front End Classroom”

Angular 2 — Making your component auth-aware – NetanelBasal

  • When dealing with cross cutting concerns, AOP (Aspect Oriented Programming) is your best friend.
  • My first approach was in every component to subscribe to the session observable from my store and render what I need based on the status.
  • Not DRY; a cross cutting concern is handled in every component.
  • And then continue following this approach in all my components that needed this kind of functionality.
  • Directive for managing component behavior triggered by login/logout events.

When dealing with cross cutting concerns, AOP (Aspect Oriented Programming) is your best friend. In Angular 2, this is achievable by writing your own Directive. I’m working on my Angular 2 project…
Continue reading “Angular 2 — Making your component auth-aware – NetanelBasal”

I hesitate between learning ReactJS or AngularJS (I have an average level or regular JS + jQuery). Seeing more job offers requiring ReactJS than AngularJS, am I right in assuming that ReactJS is a better option in terms of employability for the years to come? • /r/javascript

I hesitate between learning ReactJS or AngularJS (I have an average level or regular JS + …

  • Don’t be scared about learning new frameworks.
  • Many new frameworks are React oriented these days.
  • You should learn the framework that interests or appeals to you more.
  • I hear there’s a hip new framework called Vanilla JS that all the hippest companies are using.
  • After your first couple, it will not take very long to learn others and you will start to realize that most of the good ideas of any framework are portable.

reddit: the front page of the internet
Continue reading “I hesitate between learning ReactJS or AngularJS (I have an average level or regular JS + jQuery). Seeing more job offers requiring ReactJS than AngularJS, am I right in assuming that ReactJS is a better option in terms of employability for the years to come? • /r/javascript”