Skip to content

Commit afdd8c6

Browse files
committed
little styling tweaks etc in preamble chapters
1 parent afa5315 commit afdd8c6

File tree

3 files changed

+32
-31
lines changed

3 files changed

+32
-31
lines changed

acknowledgments.asciidoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[preface]
2-
Acknowledgments
3-
---------------
2+
== Acknowledgments
43

54
Lots of people to thank, without whom this book would never have happened,
65
and/or would have been even worse than it is.
@@ -80,8 +79,7 @@ and make it up to you in any way I can.
8079
And finally thanks to you, the latest reader, for deciding to check out
8180
the book! I hope you enjoy it.
8281

83-
Additional Thanks for the Second Edition
84-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82+
=== Additional Thanks for the Second Edition
8583

8684
Thanks to my wonderful editor for the second edition, Nan Barber, and to
8785
Susan Conant, Kristen Brown, and the whole team at O'Reilly.
@@ -101,3 +99,8 @@ gonulate, Margie Roswell, Ben Elliott, Ramsay Mayka, peterj, 1hx, Wi, Duncan
10199
Betts, Matthew Senko, Neric "Kasu" Kaz, Dominic Scotto, Andrey Makarov,
102100
and many, many more.
103101

102+
=== Additional Thanks for the Thid Edition
103+
104+
At the time of writing we'd only just started,
105+
but thanks in advance to my editor Rita Fernando,
106+
and thanks to my tech reviewers Csanad and David for volunteering!

chapter_01.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _Only then_ do we go ahead and build some of our app.
3434
Repeat that to yourself in a goat-like voice. I know I do.
3535

3636
Another thing about goats is that they take one step at a time.
37-
That's why they seldom fall off mountains, see, no matter how steep they are.
37+
That's why they seldom fall off things, see, no matter how steep they are.
3838
As you can see in <<tree_goat>>.
3939

4040
[[tree_goat]]

part1.asciidoc

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,34 @@
88
In this first part, I'm going to introduce the basics of 'Test-Driven
99
Development' (TDD). We'll build a real web application from scratch, writing tests first at every stage.
1010

11-
We'll cover functional testing with Selenium, as well as unit testing, and
12-
see the difference between the two. I'll introduce the TDD workflow, what
13-
I call the unit-test/code cycle. We'll also do some refactoring, and see how
14-
that fits with TDD. Since it's absolutely essential to serious software
15-
engineering, I'll also be using a version control system (Git). We'll discuss
16-
how and when to do commits and integrate them with the TDD and web development
17-
workflow.
18-
19-
We'll be using Django, the Python world's most popular web framework
20-
(probably). I've tried to introduce the Django concepts slowly and one at
21-
a time, and provide lots of links to further reading. If you're a total
22-
beginner to Django, I thoroughly recommend taking the time to read them. If
23-
you find yourself feeling a bit lost, take a couple of hours to go through
24-
the official Django tutorial (make sure to use the
25-
https://docs.djangoproject.com/en/1.11/intro/tutorial01/[1.11 version]), and
26-
then come back to the book.
27-
28-
You'll also get to meet the Testing Goat...
11+
We'll cover functional testing with Selenium, as well as unit testing,
12+
and see the difference between the two.
13+
I'll introduce the TDD workflow, Red/Green/Refactor.
14+
15+
I'll also be using a version control system (Git).
16+
We'll discuss how and when to do commits and integrate them with the TDD and web development workflow.
17+
18+
We'll be using Django, the Python world's most popular web framework (probably).
19+
I've tried to introduce the Django concepts slowly and one at a time,
20+
and provide lots of links to further reading.
21+
If you're a total beginner to Django, I thoroughly recommend taking the time to read them.
22+
If you find yourself feeling a bit lost,
23+
take a couple of hours to go through the https://docs.djangoproject.com/en/4.2/intro/[official Django tutorial]
24+
and then come back to the book.
25+
26+
In Part 1 you'll also get to meet the Testing Goat...
2927

3028
.Be Careful with Copy and Paste
3129
[TIP]
3230
====
33-
If you're working from a digital version of the book, it's natural to want to
34-
copy and paste code listings from the book as you're working through it. It's
35-
much better if you don't: typing things in by hand gets them into your muscle
36-
memory, and just feels much more real. You also inevitably make the occasional
37-
typo, and debugging them is an important thing to learn.
38-
39-
Quite apart from that, you'll find that the quirks of the PDF format mean
40-
that weird stuff often happens when you try to copy/paste from it...
31+
If you're working from a digital version of the book,
32+
it's natural to want to copy and paste code listings from the book as you're working through it.
33+
It's much better if you don't: typing things in by hand gets them into your muscle memory,
34+
and just feels much more real.
35+
You also inevitably make the occasional typo, and debugging them is an important thing to learn.
36+
37+
Quite apart from that, you'll find that the quirks of the PDF format
38+
mean that weird stuff often happens when you try to copy/paste from it...
4139
====
4240

4341
--

0 commit comments

Comments
 (0)