收藏 / 列表

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

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

設計模式 , 前端

Ahmad Shadeed - Using HSL Colors In CSS

From my experience, most of the colors I see people using in CSS are hex and RGB. Recently, I’ve started seeing more usage of HSL colors, however, I still think that the full potential of HSL is ove

Techniques , Tools , Css , Colors

beckyyyy - cookie、session、web storage

cookie與session的區別 首先,使用cookie和session的目的都是為了跟蹤記錄用户狀態,因為http協議是無狀態的協議,而某些場景服務端需要記錄用户的狀態,如購物車,需要來識別具體的用户,服務端就為特定的用户創建特定的session,用於標識並跟蹤用户; 其次,cookie和session都是會話技術,session保存在服務端,cookie保存在客户端,服務端無法知道請求對應哪

sessionstorage , localstorage , cookie , 前端 , Javascript

Gabriel Shoyombo - Masonry In CSS: Should Grid Evolve Or Stand Aside For A New Module?

You’ve got a Pinterest-style layout to build, but you’re tired of JavaScript. Could CSS finally have the answer? Well, for a beginner, taking a look at the pins on your Pinterest page, you might be

Techniques , CSS Grid , Css , Design

wx6464351503832 - 智能體AI的六大核心設計模式

隨着大模型技術的成熟,智能體正在從概念走向實際應用。與傳統的單次問答系統不同,智能體能夠自主規劃、使用工具、反思決策,並通過多輪交互完成複雜任務。本文探討當前業界最主流的六種智能體設計模式,這些模式已經在各大AI產品中得到驗證和應用,為開發者提供了構建可靠智能體系統的技術參考。 ReAct Agent:推理與行動的循環框架

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 - 前端- JSON Schema 實現複雜結構表單數據展示 - 個人文章

第一章:JS智能表單生成的技術背景與意義 隨着前端技術的快速發展,傳統靜態表單已難以滿足現代Web應用對靈活性與可維護性的高要求。JavaScript作為瀏覽器端的核心編程語言,憑藉其動態性與豐富的生態系統,為實現智能化、數據驅動的表單生成提供了堅實基礎。通過將表單結構抽象為配置數據,結合模板引擎或虛擬DOM機制,開發者能夠動態渲染複雜表單,顯著提

字段 , 表單 , 插槽 , 後端開發 , Python

小蝌蚪 - 10、uniapp數據緩存

一、UniApp 緩存系統概述 1.1 緩存概念與作用 在 UniApp 中,本地緩存(Storage)是一種鍵值對(Key-Value)存儲機制,用於在設備本地保存小量數據。它類似於瀏覽器的 localStorage 或小程序的 wx.setStorage,但 UniApp 通過統一的 API 封裝,實現了跨平台的透明使用。緩存的作用主要體現在以下方面:

app , 緩存 , Css , 前端開發 , HTML , Json

Sven Lennartz - Isn’t it sweet? Mascots in Web Design

The more emotional a site design is, the more likely it is to evoke positive feelings within its visitors. To achieve a lasting impression, designers tend to use visual cues and offer some eye candy

Showcases , Web Design , Illustrations , Design , Logo Design

angel - SQL server2014 怎麼更新補丁 sql server升級

背景: 由於建設初期使用的vSphere vCenter版,其中安裝自動化過程中會使用SQL Server Express的免費版數據庫進行基礎環境構建。而此時隨着業務量的增加,虛擬機數的膨脹,產生的日誌如果不被及時清理掉或者轉移走的話,會導致該免費版數據庫很快觸發閾值而停止SQL Server服務(對於2005/2008版【vCenter Ser

數據庫 , server , SQL Server , SQL

mob64ca140ac564 - 深度學習框架拾遺:【Pytorch(二)】——Pytorch的層次結構_J

文章目錄 PyTorch 完整架構流程圖 關鍵組件詳解 完整執行流程示例 PyTorch 架構梳理 PyTorch 完整架構流程圖 關鍵組件詳解 Python Code 作用:用户編寫的模型定義、訓練腳本

pytorch , 架構 , 人工智能 , Css , CUDA , 前端開發 , HTML , Python

前端哇發哈 - 大話css預編譯處理(一)通讀介紹篇

一、什麼是css預編譯處理? CSS 預編譯處理,從字面上理解,就是預先編譯處理CSS。它擴展了 CSS 語言,增加了變量、Mixin、函數等編程的特性,使 CSS 更易維護和擴展。CSS預編譯的工作原理是提供便捷的語法和特性供開發者編寫源代碼,隨後經過專門的編譯工具將源碼轉化為CSS語法。 CSS預編譯器幾乎成為現如今開發CSS的標配,它從以下幾個方面提升了CSS開發的效率: 增強編程

sass , less , stylus , Css , 前端

Victor Ayomipo - Solo Development: Learning To Let Go Of Perfection

As expected from anyone who has ever tried building anything solo, my goal was not to build an app but the app — the one app that’s so good you wonder how you ever survived without it. I had everyth

workflow , Inspiration , Web Design , Opinion Column

智能創新夢想家 - Java讀取excel表格(原理+實現)

一、引言 在企業應用中,Excel 是一種常見的數據存儲和交換格式。Java 通過 Apache POI 庫可以高效地讀取、修改和寫入 Excel 文件。本文介紹如何使用 Java 處理 Excel 文件,包括讀取、寫入和修改數據。 二、環境準備 2.1 安裝 Java 開發環境 下載並安裝 Java SDK:Oracle JDK 下載

System , JAVA , Css , 前端開發 , apache , HTML

jowvid - 【圖論——第一講】圖論基礎以及圖的儲存

文章目錄 圖論理論基礎(1) 1. 圖的基本概念 1.1 基本術語 2. 圖的分類 2.1 有向圖 vs 無向圖 2.2 加權圖 vs 無權圖 2.3 度(Degree) 3. 圖的連通性

數據結構 , 算法 , 寬度優先 , Css , 廣度優先 , 前端開發 , HTML , 圖論

春華秋實2025 - jQuery中mouseleave事件的使用

當鼠標指針離開被選元素時,會發生mouseleave事件。與mouseout事件不同,mouseleave只有在鼠標指針離開被選元素本身時才觸發,不會對子元素的移出行為作出響應。 mouseleave與mouseout的區別(重點!) 事件

鼠標指針 , Css , jquery , 前端開發 , ide

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

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

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

Cameron Chapman - Web Design Industry Jargon and Web Terms: Glossary and Resources

There are specialized web terms referring to all sorts of aspects of web design. For someone just getting started in web design, or someone looking to have a site designed, all the technical jargon

Web Design , Design , Glossaries

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 - Redesign: When To Relaunch The Site and Best Practices

Redesigning a website is a big job (needless to say) and should be handled with care. Many of us with a portfolio, blog or other website have probably thought about a redesign or at least know we ne

performance , Redesign , Validation , Web Design , Design

Cosima Mielke - A Time For Reflection (April 2022 Desktop Wallpapers Edition)

For more than eleven years now, we have stuck to our little tradition of welcoming the new month with a fresh collection of desktop and mobile wallpapers — to bring a bit of variety to your screens

Wallpapers , Freebies , templates

Cristian Díaz - A Guide To Hover And Pointer Media Queries

The Internet is filled with a lot of interactivity, and more often than not the way we choose to show we can interact with an element is by using the hover pseudo-class. After all, changing an eleme

Techniques , Tools , Layouts , Css

Geoff Graham - Behind The Curtains Of Wikipedia Redesign

Wikipedia is more than a website — it’s perhaps a cornerstone of the World Wide Web. For decades, the site has provided a model for collaborating online, designing long-form content layouts, and sup

Interviews , ux , Design , ui