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 / 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
Created January 16, 2024 15:37
The template for an Action code used in TeqFW.
/**
* Read user data from RDB.
*
* @implements TeqFw_Core_Shared_Api_Act
*/
export default class Fl32_Auth_Back_Act_User_Read {
/**
* @param {TeqFw_Db_Back_Api_RDb_CrudEngine} crud
* @param {Fl32_Auth_Back_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 +
WebAPI User Developer Device Network
Geolocation API +
Touch events + +
Vibration API + +
WebAPI User Developer Device Network
Beacon API + +
Channel Messaging API +
Encoding API +
IndexedDB API +
Navigation Timing + +
Performance API +
Resource Timing API + +
Service Worker API + +
Web Authentication API + +