ASAB

Asynchronous Server App Boilerplate Video Tutorial

Previous article

If you ever wondered about how to enter the fast asynchronous world, where web servers and other responsive applications utilize hardware components to their maximum and sleep when no work is necessary, you are in the right place.

Asynchronous Server App Boilerplate (ASAB) was built exactly for the purpose of letting newcomers quickly enter the asynchronous programming with just a few lines of code. ASAB can then be used for building complex applications or foundations for other frameworks and base components.

Introduction

Presentation of the ASAB architecture together with basics of asynchronous programming in Python with asyncio library.

Hello world

How to build a few line long "Hello world" application.

Web server example

Web server application made easy with ASAB using aiohttp.

Publish-subscribe (PubSub) example

Publish-subscribe mechanism of events in the ASAB application.

Logging & Configuration

How to use hierarchy configuration and simple logging.

Modules & Services

ASAB is based on modules, services and their handlers to ensure loose coupling and independent microservices.

Other examples

ASAB provides many examples, which are part of the source code on GitHub: https://github.com/TeskaLabs/asab/

About the Author

Premysl Cerny

Software Developer at TeskaLabs

You Might Be Interested in Reading These Articles

Integrate Charles Debugging Proxy With SeaCat Gateway

Developers of web applications often take advantage of using HTTP proxies to debug their applications. It allows them to check headers and body of outgoing requests and incomming responses and track possible flaws of their client application and server backend. You want to be able to do the same with mobile applications secured with SeaCat. Here is how you do it by integrating Charles Web Debugging into the process very easily.

Continue reading ...

tutorial

Published on March 17, 2016

Example of using BSPump with CSV files

Let us say we have a CSV file, no, wait, a lot of CSV files that are coming to our storage directory with flashing speed. We even do not have the slightest notion what names of the files are, the only thing we know is that we need to process their data and deliver them to our database as quickly as possible.

Continue reading ...

tutorial development asab

Published on August 19, 2018

5 Things to Look for in an Enterprise Mobile Development Platform Solution

Today many enteprises are looking to have their own mobile applications. With the right solution, you can build a mobile app that will fit your organization’s needs like a glove and be in the driver’s seat of the development.

Continue reading ...

mobile development

Published on September 01, 2015