Web_programming
1.14K subscribers
354 photos
14 videos
125 files
1.23K links
Sharif web programming
If you have any questions, please feel free to ask(@yumcoder)
Download Telegram
In web development, a #polyfill is code that implements a feature on web browsers that do not support the feature. Most often, it refers to a JavaScript library that implements an HTML5 web standard, either an established standard (supported by some browsers) on older browsers, or a proposed standard (not supported by any browsers) on existing browsers. Formally, "a polyfill is a shim for a browser API"

https://en.wikipedia.org/wiki/Polyfill_(programming)
The Page #Visibility API is useful for the Web application to know whether it is currently displayed on the front or not, especially to stop resource-intensive UI animations or data refreshing when it is not needed. On the mobile devices, the primary reason for that is to reduce the battery usage.

https://whatwebcando.today/foreground-detection.html
هنگامی که یک تابع داریم که می خواهیم برای اجرایهای متوالی آن محدویت بگذاریم از debounce استفاده میکنیم

For those of you who don't know what a debounce function does, it limits the rate at which a function can fire. A quick example: you have a resize listener on the window which does some element dimension calculations and (possibly) repositions a few elements. That isn't a heavy task in itself but being repeatedly fired after numerous resizes will really slow your site down. Why not limit the rate at which the function can fire?

#JavaScript #Debounce Function
This media is not supported in your browser
VIEW IN TELEGRAM
augmented reality phone call
در آینده نه چندان دور این طور با دوستان خود تماس برقرار خواهیم کرد :)
This interdisciplinary scientific short book explores the mind at a conceptual level. It touches on its evolutionary development, its algorithmic nature and its scientific history by bridging ideas across Neuroscience, Computer Science, Biotechnology, Evolutionary History, Cognitive Science, Political Philosophy, and Artificial Intelligence
#book
توصیه می کنم قبل از اینکه بخواهید یک کتابخانه جدید بنویسید حتما یک بررسی در پروژه گوگل در لینک زیر بیاندازید احتمالا قبلا نوشته شده است و یا نقظه شروع خوبی در اختیاراتان قرار میدهد.

https://github.com/google/closure-library

#closureـlibrary
#WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications.

https://webassembly.org/
https://webassembly.org/getting-started/developers-guide/