Functional Programming with DataWeave

Learn Mulesoft DataWeave functional programming language. Write transformations using functions, variables, & operators.

Ratings: 2.80 / 5.00




Description

A warm welcome to the Functional Programming with DataWeave course by Uplatz.


DataWeave is one of the easy-to-use and efficient functional programming languages. DataWeave provides features and functionality for transforming data. DataWeave also serves as an expression language to configure components and connectors. In DataWeave there are multiple modules that can be imported and applied and can perform a huge variety of operations such as string manipulation, URL encoding, date formatting, etc. DataWeave facilitates performing use cases where data needs to be read and parsed, to be formatted and transformed, finally to be sent as an output in an entirely different format. Examples include transforming CSVs into JSONs, XML into JSON or CSV, and the like. The beauty of DataWeave functional programming is that the developers can actually focus on building the transformation logic rather than devoting time on syntax, formats and parsing efforts.


What is Functional Programming?

Functional Programming is essentially the process of building software by composing pure functions, avoiding shared state, mutable data, and side-effects. Functional programming is declarative rather than imperative, and application state flows through pure functions. Functional programming is based on mathematical functions. A few of the popular functional programming languages include: DataWeave, Lisp, Python (not in strict sense), Erlang, Haskell, Clojure, etc.


DataWeave - Course Syllabus

  1. DATAWEAVE (DW) INTRODUCTION

  2. EXAMPLES OF DATAWEAVE

  3. DW OPERATORS

  4. MERGE FIELD FROM DIFFERENT OBJECT OPERATORS AND UPDATE OPERATOR

  5. DW VARIABLES CONDITIONS AND FUNTIONSVARS

  6. FLOW CONTROL

  7. DW PATTERN MATCHING

  8. DW FUNCTIONS

  9. MAP-AND-PLUCK-OPERATOR

  10. MAP-AND-MAPOBJECT

  11. FLATTEN FUNCTION

  12. PLUCK OPERATOR

  13. DW SELECTORS

  14. JOINBY AND SPLITBY

  15. DATAWEAVE FUNCTION CHEAT SHEET

  16. DATAWEAVE OPERATORS

  17. TYPES OF ERRORS AND ESC CHARACTERS

  18. ++ on DATES

  19. DATAWEAVE BASIC TRANSFORMATION

  20. DW DATA TYPES

  21. SINGLE MULTI SELECTORS EXAMPLE

  22. DW FILTER OPERATOR

  23. ATTRIBUTE AND DESCENDANT SELECTOR

  24. REDUCE AND ORDERBY FUNCTIONS

  25. LOGICAL AND APPEND AND PREPEND OPERATORS

  26. INDEXOF, KEYSOF, MINBY, MAXBY, REPLACE IN DW

  27. SPLITAT, SPLITWHERE, TAKEWHILE, SUMOF

  28. GEOMETRIC AND TIME OPERATIONS

  29. GLOBAL VARIABLES AND DW FUNCTIONS

  30. FUNCTIONS OVERLOADING AND LAMBDA EXPRESSIONS

  31. HANDLING TRANSFORMATIONS IN DW

  32. DEFAULT VALUES IN DATAWEAVE

  33. RENAME JSON KEYS

  34. TRANSFORM NESTED STRUCTURES TO FLAT

  35. DATA ORGANIZATION USING DATAWEAVE

What You Will Learn!

  • Learn DataWeave (DW) functional programming language
  • Understand examples of DataWeave use-cases
  • Learn DW operators, variables, conditions, functions
  • Understand DW selectors and multi selectors
  • Learn DW flow control and pattern matching
  • Deep-dive into Map and Map Objects
  • Learn to build generalized and reusable transformations with DataWeave
  • Understand how to write transformation logic using Mule DataWeave
  • Apply useful Core, String, Array, Object, and Runtime module functions
  • Write reusable custom mappings and custom modules
  • Advanced concepts with XML/JSON/CSV transformations
  • Design data organization architecture using DataWeave

Who Should Attend!

  • Mulesoft Developers
  • Software Engineers
  • Mule Engineers
  • Anyone interested in Functional Programming
  • Beginners & newbies aspiring for a career in software engineering & product development
  • Platform Architects
  • Data Architects
  • Data Engineers
  • Mule 4 Developers/Architects
  • Application Developers