Skip to content

Is this a Framework?

TL;DR - not a framework, rather a low-code approach for creating systems

There are many excellent frameworks for developing web apps. They provide tools for writing code to handle API and application events.

API Logic Server is not a framework - it is built on frameworks (Flask currently, more are possible). It is a low-code approach for creating customizable microservices - Apps, APIs, and (uniquely) the underlying business logic.

 

Frameworks - code based app/api handlers

Frameworks require extensive background in web app development, and significant amounts of code. The video at the end provides an excellent summary of Flask, FAST API, and Django. While flexibile, they are complex and time consuming.

 

API Logic Server - low-code declarative, customizable system creation

API Logic Server is designed to provide a significantly faster and simpler low-code approach for creating database systems:

  • Remarkable speed and simplicity: given a database, you get an instant system - no training, no coding:

    • an API, including filtering, pagination, sorting, related data and swagger
    • a multi-page, multi-table Admin Web App, and
    • SQLAlchemy model classes
  • Fully Customizable: you get a customizable project you can use in your IDE to create custom services with all the flexibility and power of Python, Flask and SQLAlchemy

  • 🏆 Declarative Business Logic: unique spreadsheet-like rules that are 40X more concise than legacy code, extensible with Python

 

Example: todos -- 1 command project creation

The video at the top shows how to create a system from a todos database. You can create this system with API Logic Server like this:

  1. Download the todos database to your desktop

  2. Install API Logic Server:

Install API Logic Server       (also available for Docker)
cd ~/Desktop
mkdir ApiLogicServer
cd ApiLogicServer
python -m venv venv        # may require python3 -m venv venv
source venv/bin/activate   # windows venv\Scripts\activate
python -m pip install ApiLogicServer
3. Create and run your project
Create and Run todos project      1 command
ApiLogicServer create-and-run --project_name=todo \
   --db_url=sqlite:////Users/Val/Desktop/todos.db  # explicit path (no ~)

Explore your project in your IDE, using standard services to code, run and debug.

 

Appendix - Video Conventional Approach

This video provides an excellent summary of Flask, FAST API, and Django.