Skip to content

Add book page #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ git clone https://github.com/iluwatar/java-design-patterns.git
cd java-design-patterns
git checkout-index -a -f --prefix=../patterns/
cd ../patterns
rm -rf etc .circleci .github .mvn checkstyle-suppressions.xml CONTRIBUTING.MD LICENSE.md license-plugin-header-style.xml mvnw mvnw.cmd pom.xml PULL_REQUEST_TEMPLATE.md .all-contributorsrc .gitignore gpl-3.0.txt layers.log lgpl-3.0.txt lombok.config service-layer.log
rm -rf etc .circleci .editorconfig .github .mvn checkstyle-suppressions.xml CONTRIBUTING.MD LICENSE.md license-plugin-header-style.xml mvnw mvnw.cmd pom.xml PULL_REQUEST_TEMPLATE.md .all-contributorsrc .gitignore gpl-3.0.txt layers.log lgpl-3.0.txt lombok.config service-layer.log
find . -maxdepth 2 -type d -exec bash -c 'cd "{}" && pwd && rm -rf src pom.xml *.ucls *.puml .gitignore' \;

rm -vf README.md
Expand Down
7 changes: 4 additions & 3 deletions src/.vuepress/navbar/en.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { navbar } from "vuepress-theme-hope";

export const enNavbar = navbar([
{ text: "Patterns", link: "/patterns/" },
{ text: "Principles", link: "/principles/" },
{ text: "Snippets", link: "/snippets/" },
{ text: "Patterns", link: "/patterns/", icon: "home" },
{ text: "Principles", link: "/principles/", icon: "certificate" },
{ text: "Snippets", link: "/snippets/", icon: "code" },
{ text: "Book", link: "/book/", icon: "book" },
]);
6 changes: 3 additions & 3 deletions src/.vuepress/navbar/es.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { navbar } from "vuepress-theme-hope";

export const esNavbar = navbar([
{ text: "Patrones", link: "/es/patterns/" },
{ text: "Principios", link: "/es/principles/" },
{ text: "Fragmentos", link: "/es/snippets/" },
{ text: "Patrones", link: "/es/patterns/", icon: "home" },
{ text: "Principios", link: "/es/principles/", icon: "certificate" },
{ text: "Fragmentos", link: "/es/snippets/", icon: "code" },
]);
6 changes: 3 additions & 3 deletions src/.vuepress/navbar/ko.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { navbar } from "vuepress-theme-hope";

export const koNavbar = navbar([
{ text: "패턴", link: "/ko/patterns/" },
{ text: "원칙", link: "/ko/principles/" },
{ text: "짧은 발췌", link: "/ko/snippets/" },
{ text: "패턴", link: "/ko/patterns/", icon: "home" },
{ text: "원칙", link: "/ko/principles/", icon: "certificate" },
{ text: "짧은 발췌", link: "/ko/snippets/", icon: "code" },
]);
6 changes: 3 additions & 3 deletions src/.vuepress/navbar/zh.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { navbar } from "vuepress-theme-hope";

export const zhNavbar = navbar([
{ text: "设计模式", link: "/zh/patterns/" },
{ text: "编程原则", link: "/zh/principles/" },
{ text: "代码片段", link: "/zh/snippets/" },
{ text: "设计模式", link: "/zh/patterns/", icon: "home" },
{ text: "编程原则", link: "/zh/principles/", icon: "certificate" },
{ text: "代码片段", link: "/zh/snippets/", icon: "code" },
]);
11 changes: 9 additions & 2 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ title: Java Design Patterns
heroImage: /coffee.svg
heroText: Software design patterns, principles, and snippets
tagline: The best designers will use many design patterns that dovetail and intertwine to produce a greater whole --Erich Gamma
heroFullScreen: true
heroFullScreen: false
action:
- text: Get the book 📖
link: /book/
type: primary
- text: Study the design patterns 💡
link: /patterns/
type: primary
type: default
features:
- title: Design Patterns
details: Study the world's largest collection of software design patterns implemented in Java.
Expand All @@ -24,6 +27,10 @@ features:
details: 30 Seconds of Java is a collection of reusable, tested, copy-pasteable Java 17 compatible code snippets that you can understand in 30 seconds or less.
link: /snippets/
icon: code
- title: Book
details: Open Source Java Design Patterns book provides a comprehensive guide to various design patterns used in Java programming, illustrated with real-world examples and detailed explanations.
link: /book/
icon: book
---

# Introduction
Expand Down
54 changes: 54 additions & 0 deletions src/book/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Get the Book

## For the Price of a Cup of Coffee ☕️, Unlock the Power of Advanced Java Development with "Open Source Java Design Patterns"

**Are you a Java developer looking to elevate your coding skills and architectural knowledge?** Look no further than ["Open Source Java Design Patterns"](https://payhip.com/b/kcaF9), the essential guide for mastering the art of design patterns in Java. This comprehensive resource is your gateway to creating robust, maintainable, and scalable software systems.

[![Click the image to enter the book store](./etc/oil-painting.jpeg)](https://payhip.com/b/kcaF9)

## What's Inside?

1. **158 Design Patterns**:
- Abstract Document
- Abstract Factory
- Active Object
- And many more... [Get the free book sample from the store](https://payhip.com/b/kcaF9) to see the full table of contents.

2. **14 Categories**:
- Architectural
- Behavioral
- Concurrency
- And many more...

3. **79 Tags**:
- Abstraction
- Accumulation
- Architecture
- And many more...

4. **746 Pages**:
- Comprehensive and detailed explanations.
- Step-by-step tutorials.
- Real-world examples.
- Practical implementation tips.
- Code snippets and diagrams.

## Why This Book?

- **Comprehensive Coverage**: From creational to structural to behavioral patterns, this book covers every essential design pattern you need to know.
- **Hands-On Examples**: Real-world examples and practical tutorials to help you apply each pattern in your projects.
- **Expert Insights**: Learn from experienced Java developers and architects who share their best practices and tips.
- **Scalability and Maintainability**: Discover patterns that make your code more scalable, maintainable, and adaptable to change.

## Transform Your Coding Practices

Whether you're a beginner or an experienced developer, ["Open Source Java Design Patterns"](https://payhip.com/b/kcaF9) provides the knowledge and tools to transform your coding practices. Understand the principles behind each pattern and learn how to implement them effectively in your projects.

## Get Your Copy Today!

Don't miss out on the opportunity to become a more skilled and efficient Java developer. Enhance your programming toolkit with ["Open Source Java Design Patterns"](https://payhip.com/b/kcaF9) and take your software development skills to the next level.

**[Order now](https://payhip.com/b/kcaF9) and start your journey towards mastering Java design patterns!**

---
By focusing on the key aspects and benefits of the book, this advertisement aims to attract both novice and seasoned Java developers interested in enhancing their skills and understanding of design patterns. If you have any specific details or highlights you want to include, feel free to let me know!
Binary file added src/book/etc/oil-painting.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Java Design Patterns
heroImage: /coffee.svg
heroText: Patrones, principios y fragmentos de diseño de software
tagline: Los mejores diseñadores utilizan muchos patrones de diseño que encajan y se entrelazan para producir un todo mayor --Erich Gamma
heroFullScreen: true
heroFullScreen: false
actions:
- text: Estudiar los patrones de diseño 💡
link: /es/patterns/
Expand Down
2 changes: 1 addition & 1 deletion src/ko/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Java Design Patterns
heroImage: /coffee.svg
heroText: 소프트웨어 디자인 패턴, 원칙 및 스니펫
tagline: 최고의 디자이너는 더 큰 전체를 생산하기 위해 얽히고 얽힌 많은 디자인 패턴을 사용할 것입니다. --Erich Gamma
heroFullScreen: true
heroFullScreen: false
action:
- text: 디자인 패턴 연구 💡
link: /patterns/
Expand Down
2 changes: 1 addition & 1 deletion src/zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Java Design Patterns
heroImage: /coffee.svg
heroText: 软件设计模式,编程原则还有代码片段
tagline: 最好的设计师会使用许多相互吻合和交织的设计模式,以产生更大的整体 --Erich Gamma
heroFullScreen: true
heroFullScreen: false
action:
- text: 学习设计模式 💡
link: /zh/patterns/
Expand Down