aj-geddes avatar

Server Side Rendering

This covers the fundamentals of building server-rendered applications across Flask, Django, and Express. You get working examples of template inheritance, custom filters, context processors, and caching strategies for Jinja2, Django templates, and EJS. The reference guides are split by framework, which is helpful if you're working in one ecosystem but might feel scattered if you're comparing approaches. The best practices section correctly emphasizes keeping business logic out of templates and caching expensive operations. It's solid for traditional web apps and SEO-critical pages, though the quick start example cuts off mid-implementation. Good breadth across Python and Node.js stacks.

skills.sh installs
433
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill server-side-rendering --agent claude-code

Installs into .claude/skills of the current project.

Files

Server-Side Rendering

Table of Contents

Overview

Build server-side rendered applications using modern template engines, view layers, and data-driven HTML generation with caching, streaming, and performance optimization across Python, Node.js, and Ruby frameworks.

When to Use

  • Building traditional web applications
  • Rendering HTML on the server
  • Implementing SEO-friendly applications
  • Creating real-time updating pages
  • Building admin dashboards
  • Implementing email templates

Quick Start

Minimal working example:

# app.py
from flask import Flask, render_template, request, jsonify
from datetime import datetime

app = Flask(__name__)

# Custom Jinja2 filters
@app.template_filter('currency')
def format_currency(value):
    return f"${value:.2f}"

@app.template_filter('date_format')
def format_date(date_obj):
    return date_obj.strftime('%Y-%m-%d %H:%M:%S')

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Frontend Development, Backend & APIs, AI & Agent Building
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1davila7 avatarvercel-deploymentdavila7/claude-code-templatesExpert knowledge for deploying to Vercel with Next.js Use when: vercel, deploy, deployment, hosting, production.433skills.sh installs
2pedronauck avatarelectron-builderpedronauck/skillsComprehensive guide for electron-builder (v26.x) packaging, code signing, auto-updates, and release workflows. Use when: (1) configuring electron-builder builds433skills.sh installs
3guia-matthieu avatarheadline-formulasguia-matthieu/clawfu-skills25+ proven headline formulas that stop the scroll, capture attention, and drive clicks. Templates and examples for every situation. Use when: Writing headlines 431skills.sh installs
4davila7 avatarc4-architecturedavila7/claude-code-templatesGenerate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document system architecture, visualize sof430skills.sh installs
5rstackjs avatarmigrate-to-rstestrstackjs/agent-skillsMigrate Jest or Vitest projects to Rstest. Use when asked to move from Jest/Vitest to Rstest, replace `jest`/`vi` APIs with `@rstest/core`, translate config int427skills.sh installs
6brightdata avatardata-feedsbrightdata/skillsExtract structured data from 40+ supported platforms (Amazon, LinkedIn, Instagram, TikTok, Facebook, YouTube, Reddit, and more) via the Bright Data CLI (`bdata 425skills.sh installs