Skip to content

Instantly share code, notes, and snippets.

View flancer64's full-sized avatar

Alex Gusev flancer64

  • F. Lancer, LLC
  • Riga, Latvia
View GitHub Profile
@flancer64
flancer64 / TeqFW_Guide_Philosophy_RU.md
Created October 31, 2024 08:30
Основная философия и принципы Tequila Framework (TeqFW) для масштабируемой и модульной разработки на JavaScript.

Философия платформы TeqFW

Введение

Платформа Tequila Framework (далее — TeqFW) создана для упрощения распределённой разработки JavaScript-приложений слабо связанными командами разработчиков. Она полностью поддерживает ES6-модули, предоставляя уникальный подход к внедрению зависимостей и отказу от раннего связывания кода. Этот документ даёт общее понимание философии TeqFW, а для детализированных инструкций и примеров обращайтесь к другим документам в базе знаний.

Основные идеи TeqFW включают:

@flancer64
flancer64 / TeqFW_Guide_Philosophy_EN.md
Created October 31, 2024 08:28
Core philosophy and principles of Tequila Framework (TeqFW) for scalable, modular JavaScript development.

Philosophy of the TeqFW Platform

Introduction

The Tequila Framework platform (hereafter referred to as TeqFW) was created to simplify the distributed development of JavaScript applications by loosely connected teams of developers. It fully supports ES6 modules, providing a unique approach to dependency injection and avoiding early code binding. This document offers a general understanding of TeqFW's philosophy; for detailed instructions and examples, please refer to other documents in the knowledge base.

The main concepts of TeqFW include:

@flancer64
flancer64 / App_Back_Web_Api_Entity_List_A_Query.js
Created May 7, 2024 08:04
The template for a RDB query to compose the list of items for a grid on the UI
/**
* RDB query builder to select data for the customers list.
*
* @implements TeqFw_Db_Back_Api_RDb_Query_List
*/
export default class App_Back_Web_Api_Entity_List_A_Query {
/**
* @param {TeqFw_Db_Back_RDb_IConnect} conn
* @param {Lp_Base_Back_App_Db_Util_ListQuery} utilListQuery
* @param {App_Back_Store_RDb_Schema_Password} rdbPassword
@flancer64
flancer64 / App_Front_Ui_Lib_Component.js
Last active April 19, 2024 07:38
The template for a Vue based UI component used in the TeqFW
/**
*
*
* @namespace App_Front_Ui_Lib_Component
*/
// MODULE'S VARS
const NS = 'App_Front_Ui_Lib_Component';
const REF_SELF = 'self';
const DOM_ID = 't-any-id';
@flancer64
flancer64 / TeqFW_Code_Type_Dto.js
Created March 12, 2024 08:46
The template for a Data Transfer Object (DTO) code used in the TeqFW framework.
/**
* The format in which the exported/imported information is organized.
*/
// MODULE'S VARIABLES
const NS = 'TeqFw_Db_Back_Dto_Export';
// MODULE'S CLASSES
/**
* @memberOf TeqFw_Db_Back_Dto_Export
*/
@flancer64
flancer64 / TeqFW_Code_Type_Act.js
Last active October 16, 2024 14:05
The template for an Action code used in TeqFW.
/**
* Read user data from RDB.
*
* @implements TeqFw_Core_Shared_Api_Act
*/
export default class Dialog_Back_Mod_User_A_Read {
/**
* @param {TeqFw_Db_Back_Api_RDb_CrudEngine} crud
* @param {Dialog_Back_Store_RDb_Schema_User} rdbUser
*/
@flancer64
flancer64 / TeqFW_Code_Type_Util.js
Last active January 18, 2024 07:57
Template for TeqFW utility code.
/**
* This is a description of a set of utilities.
*/
// MODULE'S IMPORT
import {existsSync} from 'node:fs';
// MODULE'S CLASSES
export default class Vnd_Plugin_Back_Util_Cookie {
/**
* Declares the dependencies that should be injected by the Object Container.
@flancer64
flancer64 / Name.mjs
Last active February 8, 2022 13:36
TeqFW action code template (./src/Back/Act/Name.mjs)
/**
* Action description.
*
* @namespace Vnd_Prj_Back_Act_Name
*/
// MODULE'S IMPORT
import {join} from 'path';
// MODULE'S VARS
const NS = 'Vnd_Prj_Back_Act_Name';
@flancer64
flancer64 / index.html
Created September 30, 2021 09:11
Medium post about communication between app and service workers (https://medium.com/p/3c719f6f646e/edit)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SW Messages</title>
<link rel="manifest" href="./pwa.webmanifest">
<script>
const queue = {};
const generateMsgId = () => `${(new Date()).getTime()}`;
WebAPI User Developer Device Network
Bluetooth API +
Image Capture API +
Long Tasks API +
Payment Request API + +
Push API + +
Streams API +
Web Animations API +
Web Notifications API + +
WebXR Device API +