Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
# Patterns of Application Development Using AI — Reading Guide
## 【One-Line Pitch】
A practical, pattern-based playbook for software developers and architects who want to integrate large language models (LLMs) into real applications, written by a veteran Ruby on Rails developer drawing directly from production experience. If you're wondering "where do I begin?" with AI in your stack, this book gives you a structured vocabulary and reusable building blocks.
## 【Book Arc】
- **Opening (~0%–9%)**: Front matter, preface, and table of contents establish the book's scope, audience, and the author's personal journey from a GPT-4 Dungeons & Dragons session to building a production AI assistant platform called Olympia.
- **Early (~9%–25%)**: The preface and introduction lay out the book's philosophy — a "post-modern" approach to software engineering where developers delegate tasks to AI components, plus practical guidance on what the book covers (and deliberately doesn't: alignment, safety, philosophy).
- **Early (~25%–34%)**: Audience definition and author background. The book targets developers, architects, and tech leaders; assumes basic software knowledge but no AI/ML expertise. Code examples are in Ruby, drawn from the author's real Olympia codebase, and claimed to be language-agnostic in principle.
- **Middle (~34%–47%)**: Acknowledgments, tooling notes (Midjourney illustrations, Mermaid diagrams), and the introduction's architectural philosophy. The author challenges traditional "hard to change" architecture thinking, arguing AI makes systems more fluid and adaptable.
- **Middle (~47%–53%)**: Introduction to LLM fundamentals — how models are trained via unsupervised learning on vast text corpora, capturing statistical properties of language, and how this underpins the patterns that follow.
## 【Key Takeaways】
- **Patterns are adaptable building blocks, not prescriptions** (Early): The book's core stance is that AI integration patterns must be tailored to your specific problem domain, user needs, and architecture — never applied dogmatically. (Early)
- **A two-part structure separates narrative from reference** (Early): Part 1 builds conceptual foundations sequentially; Part 2 is a categorized, independently accessible pattern reference you can jump into when facing specific challenges. (Early)
- **The "post-modern" engineering shift redefines architecture** (Middle): AI enables delegating data manipulation, algorithms, and even whole application logic chunks to external services, challenging the idea that architecture is "the parts that are hard to change." (Middle)
- **Write less code, delegate more** (Middle): Drawing on hacker philosophy, the author argues that minimizing hand-written code reduces bugs, speeds development, and lets you focus on core business logic and UX. (Middle)
- **Real-world production experience drives the content** (Early): The patterns come from the author's daily work on Olympia, an open-source assistant bot platform, giving the advice practical grounding rather than theoretical abstraction. (Early)
- **No AI/ML expertise required** (Early): The book is accessible to developers with basic software knowledge, making it a viable entry point for traditional programmers wanting to add AI capabilities. (Early)
- **LLMs learn statistical language patterns through unsupervised training** (Middle): Understanding how models capture grammar, word associations, and contextual meanings from vast text corpora helps you design better prompts and integrations. (Middle)
## 【Reading Tips】
- **Skim the front matter** (~0%–9%): The preface and acknowledgments are motivational and personal but not essential. Jump to the introduction if you're eager for substance.
- **Read Part 1 sequentially** (~9%–47%): The narrative chapters build conceptual foundations in order. Don't skip the architecture philosophy section — it frames why the patterns work the way they do.
- **Use Part 2 as a reference, not a read-through**: The pattern catalog is designed for on-demand lookup. When you hit a specific problem (e.g., prompt engineering, RAG, tool use), dive into the relevant pattern entry.
- **Don't worry about Ruby if you're not a Rubyist**: The author explicitly states the patterns are language-agnostic. Read the Ruby examples for clarity — they're chosen for readability — but focus on the underlying concepts.
- **Watch for "TK" placeholders**: This is a Leanpub in-progress book; TK marks "to come" content. If you see them, expect some sections to be less polished or complete.
## 【Coverage Limits】
This guide covers the book's front matter, introduction, and early conceptual material through the LLM fundamentals section (~53%). The detailed pattern catalog in Part 2 (prompt engineering, RAG, tool use, workflow orchestration, etc.) is listed in the table of contents but not yet covered in the excerpts.
##
Excerpt 1
ration? How Does RAG Work? Why Use RAG in Your Applications? Implementing RAG in Your Application Proposition Chunking Real-World Examples of RAG Intelligent...
al advice on how to apply the patterns in your own projects. And if I come up with new ideas while working on the book, I can try them out on the Olympia cod...
arness its power in your own projects, this book is for you. Whether you’re a hands-on developer, an architect designing the overall structure of an applicat...
dset, even after becoming a professional software developer. Since the start, I always had a healthy skepticism about what value software architects in their...
in its neural network, has a big impact on its capabilities. Larger models with more parameters, like GPT-4, which is rumored to boast 1 to 2 trillion parame...
oduce more semantically meaningful subwords compared to BPE. SentencePiece with Unigram is used by models like Google’s T5 and BERT. Google Gemini (Multimoda...
e a use case that justifies that expense, more power to you! But for most applications, it’s just too expensive by orders of magnitude. Finding Needles in Ha...
the desired outcome; it takes practice to not be ambiguous! Temporal Inconsistencies: As language models are trained on data that was created at different ti...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Patterns of Application Development Using AI (Obie Fernandez)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share to WeChat Moments
Patterns of Application Development Using AI (Obie Fernandez)(Z-Library)
Scan the QR code with WeChat to open this book
Tap the ··· menu in the top-right corner
Choose Share to Moments
You are already in WeChat. Tap ··· in the top-right corner and choose Share to Moments.
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Patterns of Application Development Using AI (Obie Fernandez)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
这本书围绕用人工智能辅助应用开发这一主题展开,作者奥比·费尔南德斯把注意力放在可复用的模式上,而不是零散的工具技巧。从摘录可以看出,全书的写作方式带有很强的实践取向:作者会把自己在开发过程中总结出的模式讲清楚,同时给出如何把这些模式应用到读者自己项目中的建议。他还会用 Olympia 这个代码库来试验书中提出的新想法,检验它们在真实生产使用中是否成立,这让书中的讨论不止停留在概念层面。
读者可以抓住几条线索。其一是模式与开发流程的关系,作者明确谈到这些模式对他自己的开发过程产生的影响,说明书里关心的不只是“怎么用 AI”,更是 AI 介入之后开发工作如何被重新组织。其二是模型能力背后的技术因素,摘录提到神经网络中的参数规模对模型能力有很大影响,并以 GPT-4 被传拥有一到两万亿参数为例,说明更大的模型通常知识更丰富、能力更强。其三是上下文长度的意义,书中解释了为什么上下文大小重要,比如上下文更大的模型能更好地理解和分析文章、报告乃至整本书这样的长文本。其四是提示表达中的常见问题,作者提醒想要得到理想结果需要练习,避免含糊其辞,同时指出语言模型训练数据来自不同时期,可能带有过时或相互矛...
Digital LibraryAI Assistant
Hi — I can help you pick a book. Tell me a topic, language, or level, e.g. “a light English read”. If that's too broad, I'll ask one follow-up.
Loading comments...
Reply to Comment
Edit Comment