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

推薦訂閱源

博客园 - 司徒正美
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精良,俾人搜索吾名时得见;须加载迅捷,以臻首观之善;须应答无碍,遍诸设备。Next.js,兼有服务器端渲染与静态生成,尽备此要。吾用其App Router,以享最新之能。

制表之工,乃要务也。吾素用 PostgreSQL 配 Prisma。其架构有三核之模:BlogPost 为博客,Project 为作品集,User 为管理。BlogPost 之模最繁——有阿拉伯文与英文之字段(title_ar, title_en, content_ar, content_en),一独异之 slug,发表之期,及标签。分阿拉伯文与英文于异字段,非置一别之译表,使询查简而速。

此双语博客系统,诚为乐事也。每文须兼有阿拉伯语与英语,而别名(slug)一也。用户以单指可易其言。其制自适——尔若择阿拉伯语,则凡物皆右至左:菜单、文字、按钮悉然。吾以 dir="rtl" 与 dir="ltr" 依所择之语而动。字亦易之——阿拉伯语用开罗(Cairo),英语用英特(Inter)——使各语皆宜于目。

展项目之乐,乃诸乐之冠。十四项目,各设一卡,列名、简述、所用之技、演示之链、GitHub代码之链。吾设滤器,使访者可按技筛选——如择Next.js,则见诸用此技所建之项目。卡自用响应式CSS Grid,变列数以应屏之大小。复加微动于卡之悬停,轻灵之致,使体验生趣盎然。

暗黑模式实属必要。众开发者多采用此模式,而代表吾之网站,亦当具此。吾以 next-themes 管理主题,甚为便捷。然挑战在于,设计中之每色,皆需二版——明暗各一。吾于 tailwind.config 中创一完备色系,有主色、次色、点缀色、背景色、表面色,皆具暗黑之变。终得两模式皆和谐之设计。

自始即以 SEO 为要。每页皆备阿拉伯文与英文之定制标题及描述。吾以 next/metadata 添加 Open Graph 标签——此使链接于社交媒体分享时,显雅致之卡,具标题、描述及图像。吾亦于 Next.js 中建自动 sitemap.xml 与 robots.txt。复加 Schema.org 标注于文章,俾 Google 更善解其内容。其果:人若以吾名搜索,此站辄现于首列搜索结果。

拥有己域乃不可躐之阶。ziadamr.me此域,乃简易之投,实具巨值。己域能显专业之象,使网址易记,且令电邮可专业@ziadamr.me 乃代 Gmail。Vercel 托管亦佳——个人网站免费,GitHub 自动部署,SSL 亦免费。每推至 main,网站即自动更新。

使作品集超群者,实项目也。无逾于展示真者所建、真者所使用者。教程之站、待办之应用,未足动心。然Esma3 Radio之有真用户,Tammeny之护隐私,Battle of Questions之真者所玩——此乃使访者敬尔为开发者之由。故吾之作品集,合十四项目为一,每项皆附实演链接,非徒 screenshot 而已。

凡未建作品集之开发者,吾之忠告曰:今日始,勿待明日。初虽简陋,然在网者,重于未在也。且须勤更,新项目皆录,所学者皆述。作品集非一时之工,乃与君共生长之灵物也。至要者:须显己之特色,勿效他人之集。君之性情与风格,方为君之标识。


Ziad Amr驱动