慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

博客园 - 司徒正美
V
V2EX
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
月光博客
月光博客
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python)
建个人之站,以显己为开发者:吾行之旅,所悟之训
Ziad Amr · 2026-05-24 · via DEV Community

Ziad Amr

建立个人网站以显开发者之姿:吾行之旅思

开发者之个人网站,乃数字之名片——人寻汝或荐汝于机缘,首睹者即此。吾初建ziadamr.me时,志在汇聚吾十四项目,展吾技,兼设双语博客,以分吾识。此文将述吾建此站之由,及每步所悟之理。

首议择术。吾必用Next.js——此乃吾诸项目所依之框架,素所谙熟。然此个人之站稍异,需优SEO以显于Google,当求速载以立初印象,且须遍适诸器。Next.js具Server-Side Rendering与Static Generation,皆可应此。吾择App Router以享其新技。

設計數據庫,乃要務也。素習用PostgreSQL與Prisma。其Schema中,有三大模型:BlogPost為博文,Project為項目,User為管理。BlogPost模型尤為繁複——有阿拉伯文與英文之字段(title_ar,title_en,content_ar,content_en),獨特之slug,發表之日期,及標籤。阿拉伯文與英文之內容,分置不同字段,而非另立翻譯之表,使Query更簡易,更迅捷。

此双语博客系统,实属有趣之挑战。每篇文章须兼有阿拉伯文与英文,且Slug名须一致。用户可单指切换语言。设计亦自适应——选用阿拉伯文时,菜单、文本、按钮皆转为从右至左:动态应用dir="rtl"与dir="ltr"以匹配所选语言。字体亦随之变换——阿拉伯文用Cairo,英文用Inter——务求每语皆宜读。

觀察諸項,實為樂事。凡十四項,每項皆備有卡片,內載名、簡述、所用工藝、生動示範之鏈、及GitHub上代碼鏈。吾以分類之法(Filters),使訪客得以依工藝篩選——譬如選Next.js,則可觀其所成諸項。卡片之製,乃用CSS Grid之靈活網格,隨視窗大小變更列數。復添簡易動畫,俾鼠標掠過時生輕微變化,令體驗生動。

暗态(Dark Mode)乃要旨所在。众开发者多采用暗态,吾之站点必具此功能。吾用 next-themes 以便易理主题。其难处在于设计之每色皆需有二版——明暗各一。吾于 tailwind.config 中设一完备色系,含 primary、secondary、accent、background、surface,皆备暗版。终得两态相谐之设计。

SEO 乃首务也。凡页必有专设之标题与描述,兼用阿拉伯语与英语。以 next/metadata 添加 Open Graph 标签,使链接于社交平台散落时,显为美卡,内含标题、描述及图像。复制 sitemap.xml 与 robots.txt 于 Next.js,自动生成之。更添 Schema.org markup 于文章,俾谷歌善解其内容。其效:人若求吾名,吾之网站必现于搜索之首。

域名之事,不可轻忽。昔达沙里(ziadamr.me)之投资虽微,然价值甚巨。汝之专属域名,能显专业之姿,令人思汝网站之名号,且使汝之电邮,得为professional@ziadamr.me,非若gmail。复次,Vercel之托管,亦为至善——免费于个人之站,自GitHub发布,SSL亦无偿。每推main之次,网站自能言说。

بورتفوليو يفرق عن الآخرين بكون مشاريع حقيقية. لا شيء يؤثر أكثر من عرض مشاريع تمت إنشاؤها فعلاً واستخدامها من قبل الناس الحقيقيين. مواقع التدريب والتطبيق البسيط لا يؤثران. لكن اسمع راديو يستخدمه المستخدمون الحقيقيون، واعلم من يحمي خصوصية الناس، ومحاربة الأسئلة التي يلعبها الناس — هؤلاء الذين يقدرون الزائر كمطور. لهذا السبب يربط بورتفوليو الخاص بي كل 14 مشروع مع بعض، وكل واحد لديه رابط عرض حي ليس مجرد صورة.

吾之诲于初涉编程者:当速行,勿迟。纵初时网站简陋,然存于网,其重于无也。且须持续更新——每新项目,皆添之;每有所学,必录之。此简历非一时之工,乃随君而长之生灵也。至要者:须为真我——非他人简历之摹本。其性情与风格,方为君之魂也.


编程如增之业