
Asynchronous Server App Boilerplate Video Tutorial
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/
Most Recent Articles
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.
Published on March 17, 2016
Inotify in ASAB Library
From blocking read challenge, ctypes and bitmasks to a solution that enables the ASAB framework to react to changes in the file system in real time.
Published on August 15, 2023
SeaCat tutorial - Chapter 2: Simple Post (iOS)
The goal of this article is to create a simple iOS client which generates a simple POST Request which will be read in host written in Node.js and the output generated in the console. The whole comunication will be handled by SeaCat which help us to establish fast and secure connection among our key components.
Published on September 09, 2014