Skip to content

Commit 89b78ad

Browse files
authored
feat: Add book page (#89)
* remove .editorconfig * add book page + some enhancements * adjust texts
1 parent 893e33f commit 89b78ad

File tree

11 files changed

+80
-18
lines changed

11 files changed

+80
-18
lines changed

generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ git clone https://github.com/iluwatar/java-design-patterns.git
1414
cd java-design-patterns
1515
git checkout-index -a -f --prefix=../patterns/
1616
cd ../patterns
17-
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
17+
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
1818
find . -maxdepth 2 -type d -exec bash -c 'cd "{}" && pwd && rm -rf src pom.xml *.ucls *.puml .gitignore' \;
1919

2020
rm -vf README.md

src/.vuepress/navbar/en.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { navbar } from "vuepress-theme-hope";
22

33
export const enNavbar = navbar([
4-
{ text: "Patterns", link: "/patterns/" },
5-
{ text: "Principles", link: "/principles/" },
6-
{ text: "Snippets", link: "/snippets/" },
4+
{ text: "Patterns", link: "/patterns/", icon: "home" },
5+
{ text: "Principles", link: "/principles/", icon: "certificate" },
6+
{ text: "Snippets", link: "/snippets/", icon: "code" },
7+
{ text: "Book", link: "/book/", icon: "book" },
78
]);

src/.vuepress/navbar/es.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { navbar } from "vuepress-theme-hope";
22

33
export const esNavbar = navbar([
4-
{ text: "Patrones", link: "/es/patterns/" },
5-
{ text: "Principios", link: "/es/principles/" },
6-
{ text: "Fragmentos", link: "/es/snippets/" },
4+
{ text: "Patrones", link: "/es/patterns/", icon: "home" },
5+
{ text: "Principios", link: "/es/principles/", icon: "certificate" },
6+
{ text: "Fragmentos", link: "/es/snippets/", icon: "code" },
77
]);

src/.vuepress/navbar/ko.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { navbar } from "vuepress-theme-hope";
22

33
export const koNavbar = navbar([
4-
{ text: "패턴", link: "/ko/patterns/" },
5-
{ text: "원칙", link: "/ko/principles/" },
6-
{ text: "짧은 발췌", link: "/ko/snippets/" },
4+
{ text: "패턴", link: "/ko/patterns/", icon: "home" },
5+
{ text: "원칙", link: "/ko/principles/", icon: "certificate" },
6+
{ text: "짧은 발췌", link: "/ko/snippets/", icon: "code" },
77
]);

src/.vuepress/navbar/zh.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { navbar } from "vuepress-theme-hope";
22

33
export const zhNavbar = navbar([
4-
{ text: "设计模式", link: "/zh/patterns/" },
5-
{ text: "编程原则", link: "/zh/principles/" },
6-
{ text: "代码片段", link: "/zh/snippets/" },
4+
{ text: "设计模式", link: "/zh/patterns/", icon: "home" },
5+
{ text: "编程原则", link: "/zh/principles/", icon: "certificate" },
6+
{ text: "代码片段", link: "/zh/snippets/", icon: "code" },
77
]);

src/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ title: Java Design Patterns
66
heroImage: /coffee.svg
77
heroText: Software design patterns, principles, and snippets
88
tagline: The best designers will use many design patterns that dovetail and intertwine to produce a greater whole --Erich Gamma
9-
heroFullScreen: true
9+
heroFullScreen: false
1010
action:
11+
- text: Get the book 📖
12+
link: /book/
13+
type: primary
1114
- text: Study the design patterns 💡
1215
link: /patterns/
13-
type: primary
16+
type: default
1417
features:
1518
- title: Design Patterns
1619
details: Study the world's largest collection of software design patterns implemented in Java.
@@ -24,6 +27,10 @@ features:
2427
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.
2528
link: /snippets/
2629
icon: code
30+
- title: Book
31+
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.
32+
link: /book/
33+
icon: book
2734
---
2835

2936
# Introduction

src/book/README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Get the Book
2+
3+
## For the Price of a Cup of Coffee ☕️, Unlock the Power of Advanced Java Development with "Open Source Java Design Patterns"
4+
5+
**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.
6+
7+
[![Click the image to enter the book store](./etc/oil-painting.jpeg)](https://payhip.com/b/kcaF9)
8+
9+
## What's Inside?
10+
11+
1. **158 Design Patterns**:
12+
- Abstract Document
13+
- Abstract Factory
14+
- Active Object
15+
- And many more... [Get the free book sample from the store](https://payhip.com/b/kcaF9) to see the full table of contents.
16+
17+
2. **14 Categories**:
18+
- Architectural
19+
- Behavioral
20+
- Concurrency
21+
- And many more...
22+
23+
3. **79 Tags**:
24+
- Abstraction
25+
- Accumulation
26+
- Architecture
27+
- And many more...
28+
29+
4. **746 Pages**:
30+
- Comprehensive and detailed explanations.
31+
- Step-by-step tutorials.
32+
- Real-world examples.
33+
- Practical implementation tips.
34+
- Code snippets and diagrams.
35+
36+
## Why This Book?
37+
38+
- **Comprehensive Coverage**: From creational to structural to behavioral patterns, this book covers every essential design pattern you need to know.
39+
- **Hands-On Examples**: Real-world examples and practical tutorials to help you apply each pattern in your projects.
40+
- **Expert Insights**: Learn from experienced Java developers and architects who share their best practices and tips.
41+
- **Scalability and Maintainability**: Discover patterns that make your code more scalable, maintainable, and adaptable to change.
42+
43+
## Transform Your Coding Practices
44+
45+
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.
46+
47+
## Get Your Copy Today!
48+
49+
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.
50+
51+
**[Order now](https://payhip.com/b/kcaF9) and start your journey towards mastering Java design patterns!**
52+
53+
---
54+
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!

src/book/etc/oil-painting.jpeg

911 KB
Loading

src/es/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Java Design Patterns
66
heroImage: /coffee.svg
77
heroText: Patrones, principios y fragmentos de diseño de software
88
tagline: Los mejores diseñadores utilizan muchos patrones de diseño que encajan y se entrelazan para producir un todo mayor --Erich Gamma
9-
heroFullScreen: true
9+
heroFullScreen: false
1010
actions:
1111
- text: Estudiar los patrones de diseño 💡
1212
link: /es/patterns/

src/ko/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Java Design Patterns
66
heroImage: /coffee.svg
77
heroText: 소프트웨어 디자인 패턴, 원칙 및 스니펫
88
tagline: 최고의 디자이너는 더 큰 전체를 생산하기 위해 얽히고 얽힌 많은 디자인 패턴을 사용할 것입니다. --Erich Gamma
9-
heroFullScreen: true
9+
heroFullScreen: false
1010
action:
1111
- text: 디자인 패턴 연구 💡
1212
link: /patterns/

src/zh/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Java Design Patterns
66
heroImage: /coffee.svg
77
heroText: 软件设计模式,编程原则还有代码片段
88
tagline: 最好的设计师会使用许多相互吻合和交织的设计模式,以产生更大的整体 --Erich Gamma
9-
heroFullScreen: true
9+
heroFullScreen: false
1010
action:
1111
- text: 学习设计模式 💡
1212
link: /zh/patterns/

0 commit comments

Comments
 (0)