收藏 / 列表

小帆聊前端 - 前端設計模式深度解讀:從混沌到有序,寫出可維護的代碼

前端設計模式深度解讀:從混沌到有序,寫出可維護的代碼 前言:你是否也被這些代碼問題折磨過? "這個彈窗組件改一處就崩三處,到底誰寫的?" "為什麼同樣的表單驗證邏輯,每個頁面都要複製粘貼?" "狀態管理越來越亂,新增功能要改五六個地方?" "接手的項目像一團亂麻,根本不敢動核心邏輯?" 前端開發中,"能跑就行" 的代碼在初期或許能快速交付,但隨着項目迭代,維護成本會指數級增長。設計模式不是銀彈,卻

設計模式 , 前端

Ahmad Shadeed - A Deep Dive Into object-fit And background-size In CSS

We’re not always able to load different-sized images for an HTML element. If we use a width and height that isn’t proportional to the image’s aspect ratio, the image might either be compressed or st

Techniques , Tools , Css , Browsers

beckyyyy - 開源地圖庫OpenLayers的簡單使用

引言 最近在學習可視化的東西,這讓我想起了一些以前用過的圖表庫,其實我在日常做的大多是普通的需求,可視化方面應用的並不多,只是偶爾會因為個別特殊的需求,去借助一些圖表庫來實現圖表的展示,這些普通的圖表庫,在使用上都大差不差,並沒有什麼太大的區別,但是某些特殊的圖表庫,比如地圖庫,在使用上和一些普通的圖表,還是存在一些不同,現在想一想還是需要做一些記錄,因為我沒有在當時使用的時候及時記錄,導致我現在

webgis , openlayers , 地圖 , 前端

Gabriel Shoyombo - Web Components Vs. Framework Components: What’s The Difference?

It might surprise you that a distinction exists regarding the word “component,” especially in front-end development, where “component” is often used and associated with front-end frameworks and libr

Frameworks , Design , HTML

wx6464351503832 - 通義DeepResearch技術報告解讀

通義深度研究:開源AI研究助手的新里程碑 最近AI研究領域有個很有意思的現象,就是那些最厲害的AI研究助手,比如OpenAI的DeepResearch、谷歌的Gemini DeepResearch,全都是閉源的。這就像大家都在説"我做出了很棒的東西",但就是不告訴你怎麼做的。阿里巴巴通義實驗室最近開源的通義深度研究(Tongyi

強化學習 , agent , 智能體 , 數據 , Css , 大模型 , 前端開發 , HTML

Stephanie Eckles - Getting Started With CSS Cascade Layers

CSS recently turned 25 years old, and over that time, many techniques and tools have been created to help developers work with the cascade. Within the last year, a new spec to orchestrate the “C” in

Guides , Techniques , Css

mob64ca140a1f7c - 電調

我們來詳細解析AM32中 Minimum duty cycle, Percent(最小佔空比,百分比) 這個參數。這是一個非常基礎且關鍵的參數,它直接決定了電機能否順利啓動和低速平穩運行。 一、 核心概念:它是什麼? 最小佔空比 定義了電調能夠輸出給電機的最低有效驅動功率。可以把它想象成發動機的怠速。 技術原理:電調通過PWM

參數設置 , 熱啓動 , 滑塊 , Css , 前端開發 , HTML

小蝌蚪 - 安卓的system_service

近期項目中,白色無下劃線的鏈接在iphone中變成了藍色有下劃線,明顯iphone不支持該鏈接的css,趕緊google、百度一下,發現了不少css樣式iphone居然不支持。 解決方法:多加一個div標籤,對a標籤定義顏色和下劃線,注意a標籤不能有背景圖片 li   div style="background: url(/resources/main/im

安卓的system_service , 機器學習 , 人工智能 , a標籤 , 預加載 , Css

肉眼品世界公號 - 人,為什麼要學會理財

前言:財富的來臨從來不是不約而至,而是你有所想,才有所得,為什麼別人能擁有財富和健康,而你不能,有的時候不是因為不努力,而是我們要進入正確的頻道 一、人生這一課有太多的東西要學 人的一生,時間很長,也很短,如風也如雨,如光也如落葉,我們在這塵世間飄搖 曾經,聽到了那個時候百度PHP寫C擴展惠新宸的故事,以為代碼

微信 , it , Css , 架構師 , 前端開發 , HTML

Sven Lennartz - Smashing Highlights 2007

Although Smashing Magazine is quite young, a number of things happened in 2007. Aside from dozens of articles, we’ve organized few contests, re-designed our weblog and we also have released two Word

Highlights , Events , Smashing

angel - 數據分析mysql項目

下面分別從這四個方面來帶大家學習數據分析: 第一,做數據分析要精通Python嗎? 第二,數據分析流程是什麼?學什麼? 第三,如何培養數據分析思維? 第四,數據分析書籍推薦 一、數據分析要精通Python嗎? 做數據分析不必精通Python,但至少要掌握Python基礎內容。第一步是要了解一些Python的編程基礎,知

數據分析mysql項目 , 大數據 , 數據庫 , 人工智能 , 數據分析 , Python

mob64ca140ac564 - javascript 數據結構pdf

最近不忙,瞭解下前端數據結構和算法,因看到不同的實現方法,故單獨寫一篇記錄快速排序,便於日後回顧。 參考書籍:《學習JavaScript數據結構與算法》第2版;《數據結構與算法JavaScript描述》第1版 方法一: 《學習JavaScript數據結構與算法》 (1) 首先,從數組中選擇中間一項作為主元。 (取數組中

快速排序 , 數組 , 數據結構 , javascript 數據結構pdf , 前端開發 , Javascript , Json

Victor Ayomipo - Previewing Content Changes In Your Work With document.designMode

So, you just deployed a change to your website. Congrats! Everything went according to plan, but now that you look at your work in production, you start questioning your change. Perhaps that change

devtools , Tools , testing , debugging , Browsers

智能創新夢想家 - 淺談同步異步、阻塞非阻塞 - 天上的魚520的個人空間 -

非常好的問題!你已經觸及了現代 Web 框架中一個非常關鍵但容易混淆的點: “框架是異步非阻塞的” ≠ “你的業務代碼自動變成異步非阻塞”。 我們來分別分析 Webman(PHP) 和 GoFrame(Go) 的行為,尤其是當你在接口中調用外部 HTTP 請求、讀寫數據庫等 I/O 操作時,是否真的“異步非阻塞”。 🔹 一、Webma

非阻塞 , HTTP , Css , 前端開發 , go , HTML

jowvid - 【深度學習之Transformer】

文章目錄 Week 22: 深度學習補遺:Transformer Encoder構建 摘要 Abstract 1. Positional Encoding 位置編碼 1.1 概要 1.2 代碼實現 1.3 效果簡析 2. LayerNo

人工智能 , transformer , 深度學習 , Css , 代碼實現 , 前端開發 , HTML

春華秋實2025 - jQuery中獲取屬性值arrt()方法的使用

attr()是jQuery中用於獲取或設置HTML元素屬性值的核心方法。它簡化了原生JavaScript中getAttribute()和setAttribute()的操作,讓屬性操作變得簡單高效。 獲取屬性值的基本用法 語法: $(selector).attr(attributeName) 説明: selector:jQu

屬性值 , jquery , 前端開發 , HTML

gjnet - 空降負責人如何與團隊建立信任?_極客時間_石雲升

團隊士氣低落是組織面臨的嚴峻挑戰,其根源往往在於信任缺失、方向迷茫或持續的壓力。要在這種情況下重建信任與動力,管理者必須採取一套系統性且以人為本的策略。核心在於立即開啓透明、誠實的雙向溝通,主動承認問題所在,並清晰闡明未來的改進方向和共同目標。 解決信任危機是第一要務,這要求領導者言行一致,兑現承諾。其次,必須通過實際行動展示變革的決心,例如公平處理遺留問題、優化不合理的流程、併

Small , 數據 , 一對一 , Css , 前端開發 , HTML

Cameron Chapman - 15 Common Mistakes in E-Commerce Design

There are tons of mistakes that online retailers make every day, all of them avoidable with a little careful planning. And even if you’re already committing some of these mistakes, most of them are

ux , Usability , E-Commerce

ZURB - Case-Study: Deconstructing Popular Websites

In our past articles, we’ve experimented with better ways to engage users on web pages with CSS3. We love getting into the nuts and bolts of web design by showing off some nifty coding tricks. In th

Security , Case Studies , Opinion Column , Design

The Smashing Newsletter Team - Adaptive CSS-Layouts: New Era In Fluid Layouts?

If you as a designer are going to go through all the extra work of creating a functional fluid layout, why not go a bit further and make it compatible with all resolutions, instead of just most? You

Layouts , coding , Css

Chris Coyier - 12 Principles For Clean HTML Code

Beautiful and clean HTML is the foundation of a beautiful website. When I teach people about CSS, I always begin by telling them that good CSS can only exist with equally good HTML markup. A house i

workflow , Characters , Principles , coding , Validation , Css

Cosima Mielke - Expand Your Horizons (June 2022 Desktop Wallpapers Edition)

There’s an artist in everyone. Some bring their creative ideas to life with digital tools, others capture the perfect moment with a camera or love to grab pen and paper to create little doodles or p

Wallpapers , Freebies , templates

Cristian Díaz - A Guide To Keyboard Accessibility: JavaScript (Part 2)

In the previous article, we talked about how to improve accessibility for keyboard users using HTML and CSS. Those languages can do the job most of the time, but certain design requirements and the

Guides , Accessibility , Css , HTML , Javascript

Geoff Graham - Tight Mode: Why Browsers Produce Different Performance Results

This article has been kindly supported by our dear friends at DebugBear, who help optimize web performance to improve user experience. Thank you! I was chatting with DebugBear’s Matt Zeuner

performance , optimization , Tools