Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering ABP Framework
  • Table Of Contents Toc
Mastering ABP Framework

Mastering ABP Framework

By : Kalkan
4.7 (6)
close
close
Mastering ABP Framework

Mastering ABP Framework

4.7 (6)
By: Kalkan

Overview of this book

ABP Framework is a complete infrastructure for creating modern web applications by following software development best practices and conventions. With ABP's high-level framework and ecosystem, you can implement the Don’t Repeat Yourself (DRY) principle and focus on your business code. Written by the creator of ABP Framework, this book will help you to gain a complete understanding of the framework and modern web application development techniques. With step-by-step explanations of essential concepts and practical examples, you'll understand the requirements of a modern web solution and how ABP Framework makes it enjoyable to develop your own solutions. You'll discover the common requirements of enterprise web application development and explore the infrastructure provided by ABP. Throughout the book, you’ll get to grips with software development best practices for building maintainable and modular web solutions. By the end of this book, you'll be able to create a complete web solution that is easy to develop, maintain, and test.
Table of Contents (24 chapters)
close
close
1
Part 1: Introduction
6
Part 2: Fundamentals of ABP Framework
11
Part 3: Implementing Domain–Driven Design
15
Part 4: User Interface and API Development
19
Part 5: Miscellaneous

Consuming HTTP APIs

You can use any tool or technique to consume HTTP APIs from your JavaScript code. However, ABP provides the following ways as fully integrated solutions:

  • You can use the abp.ajax API as an extension of the jQuery.ajax API.
  • You can use dynamic JavaScript client proxies to call server-side APIs, just like you can with JavaScript functions.
  • You can generate static JavaScript client proxies at development time.

Let's begin with the first one – the abp.ajax API.

Using the abp.ajax API

The abp.ajax API is a wrapper around the standard jQuery.ajax API. It automatically handles all errors and shows a localized message to the user on an error case. It also adds the anti-forgery token to the HTTP header to satisfy Cross-Site Request Forgery (CSRF) protection on the server side.

The following example uses the abp.ajax API to get a list of users from the server:

abp.ajax({
  type: 'GET',
  url: &apos...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering ABP Framework
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon