TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #290 · 6 окт.

Релиз Python 3.10 случился! Все быстро побежали использовать новые type hints, pattern matching и всё такое😁 А между тем, на днях вышел Qt6.2. Наконец-то портировали такие модули как QtBluetooth, QtMultimedia, QtWebEngine, QtWebView и другие полезняхи. Если вы этого ждали, то пора действовать! PySide6 тоже подтянулся по версии. #qt#libs

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #2post

当前筛选 #2post清除筛选
Dasturlash hayoti️️ ️

@dasturlash_hayoti · Post #4112 · 24.12.2025 г., 05:52

#JavaScript#API#webdev#2post#boshlovchilar 👨‍💻 JavaScript qayerda ishlatiladi? 2️⃣API bilan ishlash (server bilan muloqot) JavaScript serverdan ma’lumot olib kelish va uni sahifada ko‘rsatish uchun ishlatiladi. Sahifani yangilamasdan ham ma’lumot keladi. 🌐 Serverdan ma’lumot olish (fetch) <button onclick="getData()">Ma’lumotni yuklash</button> <p id="result"></p> <script> function getData() { fetch("https://jsonplaceholder.typicode.com/posts/1") .then(res => res.json()) .then(data => { document.getElementById("result").innerText = data.title; }); } </script> ☑️ Tugma bosildi → serverdan ma’lumot keldi → sahifada chiqdi Real-time yangilanish nimaga o‘xshaydi? 📩 Chatda xabar kelishi 📰 Yangiliklar avtomatik yangilanishi ❤️ Like bosilganda soni darhol o‘zgarishi 👉 Bularning barchasi JavaScript + API orqali ishlaydi. Ma’lumotni sahifada dinamik ko‘rsatish Serverdan kelgan ma’lumot: ❌ qo‘lda yozilmaydi ❌ sahifa qayta yuklanmaydi JavaScript: ☑️ o‘zi olib keladi ☑️ o‘zi joylashtiradi JavaScript + API bo‘lmasa: ❌ sayt sekin ❌ har safar refresh kerak JavaScript + API bilan esa: ☑️ tez ☑️ jonli ☑️ zamonaviy sayt 💻@dasturlash_hayoti— dasturchilar hayoti va IT memlari aralash kanal😉