• About
  • Apps
    • Testan
19 Mar 2018
cat: Angular 2+
0 Comments

Angular 4 – HttpClient Mapping using Decorators

In Angular 4 we use HttpClient to perform AJAX request. HttpClient does help with type hints unlike the old Http but it does not really map to a typed object, it only returns a JavaScript object. In this tutorial we will use decorators to help with mapping properties. With this technique we don't have to map every JSON response from AJAX to typed objects, we just decorate properties of a class.
Read More

Recent Posts

  • Laravel 8 Clean Architecture Example
  • Laravel Factory Design Pattern Example
  • Laravel API and Angular Client Tutorial – Part 6 Client Form File Upload
  • Laravel API and Angular Client Tutorial – Part 5 API File Upload
  • Laravel API and Angular Client Tutorial – Part 4 Client Get Photos and Videos

Recent Comments

  • Nick Alcala on Laravel OAuth with Passport and Dingo API
  • Neo on Laravel OAuth with Passport and Dingo API
  • Nick Alcala on Express JS OAuth 2 Server using oauth2-server package
  • James on Express JS OAuth 2 Server using oauth2-server package
  • Nick Alcala on Laravel Factory Design Pattern Example

Archives

  • February 2021
  • April 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • March 2019
  • December 2018
  • June 2018
  • March 2018
  • February 2018
  • November 2017

Categories

  • Angular 2+
  • API
  • Express
  • Laravel
  • Node
  • PHP

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright (c) Nice Programmer 2025 | Privacy Policy | Contact: support@niceprogrammer.com