?? ????? ? ?????? ????? HTML5 INDEXEDDB API? ???? ??? ??????
?? ?? : INDEXEDDB? ?? ? ????? ?? ? ??? NOSQL ?????????. ??? ? ? ??? ???? ?? ????? ?? indexeddb? ?? ? ???? ???? ??? ? ??? ??? ?????. ?? ?? ??? ?? ? ???? ??? ??? ?????. ??????? ??? ?? ???? ???? ?? UI ??? ????? ?????.
?? ?? ?? : indexedDB? ????? ?? ?? ??? ?? ?????.
-
window.indexedDB
: ??????? ?? ???? ???? ??? ??. -
open()
: ??????? ??? ?????. ???IDBOpenDBRequest
?????. -
IDBDatabase
: ?? ??????? ?????. ??? ???? ????? ??? ?? ???? ??????. -
createObjectStore()
: ??? ??????? ???? ??? ?????? ??? ?? ???? ????. ???? ????? ??? ???? ??? ? ??? ?????. -
IDBTransaction
: ??? ??? (??)? ???? ?? ?? ??? ????? ? ?????. -
IDBObjectStore
: ?? ???? ?????. ???? ???? ???? ??, ??, ???? ? ?????. -
put()
: ?? ????? ???? ????? ???????. -
get()
: Key? ???? ?????. -
getAll()
: ?? ????? ?? ???? ?????. -
delete()
: ???? ?????. -
index()
: ? ?? ??? ?? ?? ??? ?? ???? ?????.
? : ? ?? ? ??? ?????? ??, ?? ??? ?? ? ??? ??? ?????.
<code class="javascript">const dbRequest = indexedDB.open('myDatabase', 1); dbRequest.onerror = (event) => { console.error("Error opening database:", event.target.error); }; dbRequest.onsuccess = (event) => { const db = event.target.result; console.log("Database opened successfully:", db); }; dbRequest.onupgradeneeded = (event) => { const db = event.target.result; const objectStore = db.createObjectStore('myObjectStore', { keyPath: 'id', autoIncrement: true }); objectStore.createIndex('nameIndex', 'name', { unique: false }); // Create an index on the 'name' field console.log("Object store created successfully:", objectStore); }; //Adding data (after database is opened) const addData = (db) => { const transaction = db.transaction(['myObjectStore'], 'readwrite'); const objectStore = transaction.objectStore('myObjectStore'); const newItem = { name: 'Item 1', value: 10 }; const request = objectStore.add(newItem); request.onsuccess = () => console.log('Item added successfully!'); request.onerror = (error) => console.error('Error adding item:', error); }</code>
??? ???? ????. ?? ????? ?? ???? ?? ? ?? ?? ??? ? ???? ???? ??? ?????? ??? ??? ?????.
? ???????? IndexedDB ??? ??????? ?? ??? ??????
???? ??? ??????? : ??? ??? ? ?? ??????. ??? ????? ? ?? ?? ?? ??????? ???? ??? ??? ????. ?? ???? ??? ?? ?? ????? ???? ??? ???? ????.
??? ??? ?? : ??? ?? ??? ?? ?????. ?? ?? ? ???? ???? ????. ??? ??? ?? ??? ??? ?? (?? ?? ? ??)? ??????. ??? ???? ??? ???? ??? ? ? ???? ???? ??? ??? ???? ??????.
?? ?? : ???? ??? ????? ???? ??, ??? ?? ?? ??? ??????. ?? ??? ?? ??? ?? ??? ?? ????.
???? ?? ?? : ? ??? ???? ??????. ??? ? ?? (? : ?? ?? ID)? ??? ??? ?????. ??? ??? ??? ??? ?? ??? ?????.
??? ?? ??? : ??? ??? ? ?????. ?? ??? ??? ??? ??? ????. ?? ?? ?? ??? ?? ????? ?? ? ??? ?? ?? ? ???? ?? ?? ??? ??????.
??? ?? : INDEXEDDB? ???????. Code? ?????? ??? ???? ????? onsuccess
? onerror
? ?? ???? ?? ??????. ? ????? ? ?????? ??? ???? ?? ???? ???? ????.
?? : ?? ????? ???? ?????? ?? ?? ????. ??? ?????? ?? ??? ????? ?? ???? ???? ?? ????? ????? ?? ?? ?? ? ??? ???? ???? ?? ??????.
?? ?? ? ?? : ??? ?? ??? ?????. ????? ?? ? ??? ????? ????, ????, ??? ?? ?? ? ??? ??? ?? ??.
??? ? ?????? ?? ?? : ?? ?? ???? ???? ????? ???? ?? ?? ?????? ?? ?? ??? ??????.
IndexedDB? ??? ??? ??? ????? ?? ? ? ????? ???? ?? ??? ????????
?, IndexedDB? ??? ??? ??? ????? ?? ? ? ????? ??? ?????? ??? ?? ? ??? ?????. ??? ??? ??? ??? ???? ??? ?????? ?????.
?? : ?? ???? ??? ??? ??? ??????. ?? ??? ??? ? ?????? ?? ?? ??? ??????? ??????. ??? ??? ???? ??? ?? ?? ??????.
???? ??? ?? : ??? ??? ??? ??????. ?? ????? ?? ?? ?? ??? ? ??? ???? ?? ?? ? ?? ?? ??? ???? ?? ??????.
????? ? ??? ? ?? : ??????? ???? ?? ??? ? ????? ??? ??? ? ??? ?????. ????? indexeddb?? ?? ???? ???? ?? ?? ???.
??? ?? : ???? ???? ??????. ??? ??? ??? ?? ???? ??? ? ??? ???? ?????. ?? ??? ???? ?? ???? ?? ?? ???? ??????.
?? ?? ? Blob Storage : ?? ?? (???, ??? ?)? ?? INDEXEDDB? ?? ???? ????. ??, ?? (URL ?? ?? ID)?? ??? ???? ??? ? ?? ?????? ??????.
??? ?? : IndexedDB? ???? ?? ???? ???? ?? ??????. ??? ?? ??? ??? ??? ??????. ??? ???? ???? ?? ???? ???????.
????? ?? ? ? ??? : ????? ?? ? ? ???? ???? ?? ???? ???? ?? ?? ???? ?????? ??? ?????. ????? ?? ?? ???? ???? ?? ?? ????? ??? ?????.
?? ?????? ?? ?? : ?? ?? ???? ???? ???? ??????? ????? ?????. ?? ??????? ???? ?? ??? ???? ? ??????.
?? ? ??? ??? ?? ??? ??????. ???? ??? ???? ?? ? ??? ??? ?? ?? ? ?????? ?? ? ??? ??????? ???? ????? ?? ??????.
indexeddb? ??? ? ???? ? ?? ??? ????? ????? ?????????
?? : ??? ??? ???? ???? ? ?????. ??? ?? ??? ?? ????? ?? ?? ????????. ?? ? ?? ???? ???? ?? ( readonly
?? readwrite
)? ???? ????? ????.
<code class="javascript">const transaction = db.transaction(['myObjectStore'], 'readwrite'); const objectStore = transaction.objectStore('myObjectStore');</code>
?? ?? : INDEXEDDB ??? ??????? ??? ???? ???? ??? ???????. ?? ??? ??? onerror
? onabort
???.
-
onerror
: ?????? ?? ?? ??? ????? ???? ?????. -
onabort
:? ???? ??? ???? (? : ??? ??) ?????.
<code class="javascript">const request = objectStore.put(newItem); request.onerror = (event) => { console.error("Error during database operation:", event.target.error); // Implement retry logic or alternative actions here }; transaction.onabort = (event) => { console.error("Transaction aborted:", event.target.error); // Handle transaction abortion, potentially retrying or informing the user. }; transaction.oncomplete = () => { console.log("Transaction completed successfully!"); };</code>
? ?? ???? : ?? ??? ?? ??? ????? ?????. ?? ??, ???? ??? ???? ?? ?? ? ??? ?? ?? ? ? ????.
?? ?? : ??? ?????? ??? ???? ?? ??? ?????? ?? ?? ??? ??????. ??? ??? ???? ???? ?? ?? ???? ?? ? ????.
??? ??? : ?????? ??? ???? ????? ??? ???? ?????. ??? ??? ??? ????? ??? ?????? ???? ? ??????.
???? ? ?? ??? ??? ??? ???? ???? ???? ????? ???? ???? ???? ??? ??? IndexedDB ?? ????? ?? ? ????. ?? ?? ?? ? ? ?? ????? ??? ????????.
? ??? ?? ????? ? ?????? ????? HTML5 indexeddb API? ??? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











html5isbetterforcontrolandcustomization, whileoutubebetterforeaseandperformance

? ???? ??? ? ?? ??? ???? ??? ?? ??????? ????? ???? HTML5? Draganddrop API? ???? ????. ?? ??? ??? ????. 1. ???? ?????? ?? draggable = "true"? ?????. 2. ??? ???? ??, ???, ?? ? ??? ?? ???? ????. 3. DragStart?? ???? ???? Dragover?? ?? ??? ???? ??? ?????. ??, AppendChild? ?? ?? ??? ?? ? ? ??? e.datatransfer.files? ?? ?? ???? ?? ? ? ????. ?? : ??? ???????

InputType = "Range"? ???? ???? ???? ? ???? ???? ?? ?? ? ???? ?? ??? ? ????. 1. ?? ??, ?? ?? ???? ??? ??? ?? ?? ????? ?? ???? ??? ?? ?????. 2. ?? ???? ???, ?? ? ? ?? ??? ?? ???? ??, ?? ? ?? ??? ?????. 3.? ?? ??? ??? ????? ?? JavaScript? ?? ????? ?? ??? ? ????. 4. ?? ?? ???? ??? ? ??? ? ???? ??? ?????? ???? ?? ????.

animatingsvgwithcssispossibleusingkeyframesforbasicanimationsandtransitionsforactiveeffects.1.use@keyframestodefineanimationStagesFropertiesLikescale, ???? ? ? ?? .2

HTML? ??? ? ??? ??? ? ???? ?? ? ??? ??? ???? ? ????. 1. ??? ???? ??? ??? ????? ?? ?? ? ?? ??? ?? ?? ??? ?? ? ?? ??? ??????. 2. ??? ???? ??? ??? ???? ?? ??? ???? ??? ???? ???? ???? ???? ?? ?? ??? ?????.

WEBRTC? ????? ?? ?? ??? ??? ???? ?? ?? ?? ?????. ?????? ?? API? ?? ??? ? ??? ??, ??? ? ??? ? ??? ?????. ?? ???? ??? ?????. 1. ????? ??? ? ??? ??? ?????. 2. ???? ?? ????? ?? ?? ????? ?? ????? ?????. 3. ?? ??? ?? ??? ?????? ??? ???? ???? ????. 4. ??? ??? ?? ?? ??? ???? ?? ???????. ?? ?? ???? ????? ??? ????. 1. ?? ?? (? : Googlemeet, Jitsi); 2. ?? ??? ??/?? ??; 3. ??? ?? ? ?? ??????; 4. IoT ? ??? ????. ??? ??? ??? ???, ???? ?? ??, ?? ??? ? ?? ?? ??, ??? ? ??? ?????.

????? ?? ??? ??? ??? ? ??? ????? ?? ??? ?? ? ????. 1. ????? ?? ?? ?? Caniuse ? ???? ???? Chrome Supports MP4, Webm ?? ?? ???? ??? ????? Safari? ?? MP4? ?????. 2. HTML5 ?? ?? ???? ???? ??? ??????? ????? ??? ? ??? ??????. 3. Cross-Platform Detection? ?? VideoJstechinsights ?? BrowserstackLive? ?? ??? ??? ??? ???????. ??? ? ? ??? ? ??? ?????? ??????, ?? ?? ???? ???? ???? ?? ? ? ????.

htmlcanvas?? ???? ?????? ???? ?? requestAnimationFrame ()? ???? ??? ?? ????? ???? ???? ??? ????? ???? ????. 1. requestAnimationFrame ()? ?????? ?????? ?? ??? API???. ?? ?? ?? ??? ????? ???? ??? ??? Settimeout ?? SetInterval?? ??????. 2. ????? ????? ??? ?? ??, ???? ?? ? ?? ?? ?? ?? ???? ???? ?? ???? ???? ?? ???? ???? ?? ?? ?? ??? ?????. 3. ?? ??? ???? ?? ?? ?? ??? ?? ?? ??? ? ????? ?????? ?????.
