Placeholders is a single-unit storage solution for your Frontend.

Overview

Placeholder

Placeholders is a single-unit file storage solution for your Frontend.

Why Placeholder?

Generally, when a website/service requests for files from a remote storage - it uses the URL for fetching the remote resource. For Example

">
Lamp

In a case when the resource is swapped (with another files of different name) it fails to fetch the resource.

To make it work/ keep it up and running, we either need to keep the name of the file same, by renaming it everytime we change the file or we need to update the fetch URL.

To overcome this, a Placeholder provides a single file storage location, that can be called/fetched to access the content of the placeholder storage. This removes the requirement to rename file or change the URL whenever the file is swapped.

How it works?

A Placeholder is a single unit file storage that stores a file that can be fetched by calling the containing Placeholder.

  1. Create a Project.
  2. Create a Placeholder for the Project.
  3. Upload the File to the Placeholder Storage.
  4. The Placeholder Engine maps the Placeholder Identifiers (ID and Name) to the file stored inside the Placeholder Storage
  5. Fetch the Placeholder using any of the Identifiers.
  6. When Swaping the file in Placeholder Storage with a new file, with a different name or extension, the user can upload the new file withput renaming the file.
  7. The Placeholder Engine maps the Identifiers to the newly uploaded file in the Placeholder Storage.

Figure-1: Placeholder Flowdiagram

Figure-2: Multiple Placeholder Structure

Use Cases

Some use-cases of Placeholders are,

  1. A Blog Post Header Image might requires updation as per requirement. Having a File URL-based fetching can limit the functionality, as when a new image is uploaded, the file needs to be renamed to the previous image's filename or the fetch URL needs to be updated everytime. In such a case, Placeholders can be used to store the image, and the placeholder can be called/fetched instead of the file, this removes the dependance on filenames. The placeholder returns the contained image irrespective of its name.

  2. An user generates her CV and names the file according to the updation date. Everytime she updates the file, she requires to create a second copy and renames it to the previous filename, so as to keep the fetch URL up and running on her website. In such a case, she can use a placeholder to store her resume without changing the filename, or updating the fetch URL on her website, and rather call the Placeholder to get the contained file.

Owner
Tanmoy Sen Gupta
Software Engineer @ Optum (UHG)
Tanmoy Sen Gupta
Python project setup, updater, and launcher

pyLaunch Python project setup, updater, and launcher Purpose: Increase project productivity and provide features easily. Once installed as a git submo

DAAV, LLC 1 Jan 07, 2022
Automatização completa do site https://blaze.com

PyBlaze Pyblaze possibilita o acesso a api do site blaze utilizando python, retornando os últimos resultados de crashs e doubles. Agora também é possí

Cleiton Leonel 24 Dec 30, 2022
A docker container (Docker Desktop) for a simple python Web app few unit tested

Short web app using Flask, tested with unittest on making massive requests, responses of the website, containerized

Omar 1 Dec 13, 2021
Model Quantization Benchmark

MQBench Update V0.0.2 Fix academic prepare setting. More deployable prepare process. Fix setup.py. Fix deploy on SNPE. Fix convert_deploy bug. Add Qua

500 Jan 06, 2023
A Lite Package focuses on making overwrite and mending functions easier and more flexible.

Overwrite Make Overwrite More flexible In Python A Lite Package focuses on making overwrite and mending functions easier and more flexible. Certain Me

2 Jun 15, 2022
PKU team for 2021 project 'Guangchangwu detection'.

PKU team for 2021 project 'Guangchangwu detection'.

Helin Wang 3 Feb 21, 2022
Load dependent libraries dynamically.

dypend dypend Load dependent libraries dynamically. A few days ago, I encountered many users feedback in an open source project. The Problem is they c

Louis 5 Mar 02, 2022
Generate your personal 8-bit avatars using Cellular Automata, a mathematical model that simulates life, survival, and extinction

Try the interactive demo here ✨ ✨ Sprites-as-a-Service is an open-source web application that allows you to generate custom 8-bit sprites using Cellul

Lj Miranda 265 Dec 26, 2022
A python package template that can be adapted for RAP projects

Warning - this repository is a snapshot of a repository internal to NHS Digital. This means that links to videos and some URLs may not work. Repositor

NHS Digital 3 Nov 08, 2022
My solutions for Advent of Code 2021 🌟🎄

🌟 Advent of Code 2021 🎄 My solutions for Advent of Code 2021. About · What is Advent of Code? · Contents · Usage · Table of puzzles (TODO: add final

Amanda P. Pinha 2 Dec 05, 2022
PIP VA TASHQI KUTUBXONALAR

39-dars PIP VA TASHQI KUTUBXONALAR KIRISH Avvalgi darsimizda Python bilan birga o'rnatluvchi, standart kutubxona va undagi ba'zi foydali modullar bila

Sayfiddin 3 Nov 25, 2021
🤡 Multiple Discord selfbot src deobfuscated !

Deobfuscated selfbot sources About. If you whant to add src, please make pull requests. If you whant to deobfuscate src, send mail to

Sreecharan 5 Sep 13, 2021
A git extension for seeing your Cloud Build deployment

A git extension for seeing your Cloud Build deployment

Katie McLaughlin 13 May 10, 2022
A simple and convenient build-and-run system for C and C++.

smake Smake is a simple and convenient build-and-run system for C and C++ projects. Why make another build system? CMake and GNU Make are great build

Venkataram Edavamadathil Sivaram 18 Nov 13, 2022
A python script that automatically joins a zoom meeting based on your timetable.

Zoom Automation A python script that automatically joins a zoom meeting based on your timetable. What does it do? It performs the following processes:

Shourya Gupta 3 Jan 01, 2022
Tc-python - A Python script to receive message from a twitch chat

Twitch-Chat 📜 I did a script in Python to receive messages from a twitch chat.

miyucode 2 May 31, 2022
This is a program for Carbon Emission calculator.

Summary This is a program for Carbon Emission calculator. Usage This will calculate the carbon emission by each person on various factors. Contributor

Ankit Rane 2 Feb 18, 2022
An async API wrapper for Dress To Impress written in Python.

dti.py An async API wrapper for Dress To Impress written in Python. Some notes: For the time being, there are no front-facing docs for this beyond doc

Steve C 1 Dec 14, 2022
Freeze your objects in python

gelidum Freeze your objects in python. Latin English Caelum est hieme frigidum et gelidum; myrtos oleas quaeque alia assiduo tepore laetantur, asperna

Diego J. 51 Dec 22, 2022
Pyhexdmp - Python hex dump module

Pyhexdmp - Python hex dump module

25 Oct 23, 2022