Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
arc42 by Example

You're reading from   arc42 by Example Software architecture documentation in practice

Arrow left icon
Product type Paperback
Published in Oct 2019
Publisher
ISBN-13 9781839214356
Length 236 pages
Edition 1st Edition
Arrow right icon
Authors (4):
Arrow left icon
Michael Simons Michael Simons
Author Profile Icon Michael Simons
Michael Simons
Ralf D. Müller Ralf D. Müller
Author Profile Icon Ralf D. Müller
Ralf D. Müller
Stefan Zörner Stefan Zörner
Author Profile Icon Stefan Zörner
Stefan Zörner
Gernot Starke Gernot Starke
Author Profile Icon Gernot Starke
Gernot Starke
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

About the Book Acknowledgements
I - Introduction FREE CHAPTER II - HTML Sanity Checking III - Mass Market Customer Relationship Management IV - biking2 V - DokChess VI - docToolchain VII - macOS Menu Bar Application

IV.5 Building Blocks-Level 1

The application that's packaged as biking2.jar contains two of three main parts (the api and the spa), as shown in the business context:

Figure 4.7: Level 0 building blocks

Let's have a closer look at the API. For details regarding the structure of an AngularJS 1.2.x application, have a look at their developer's guide (https://code.angularjs.org/1.2.28/docs/guide).

Note

To comply with the Java coding style guidelines, the"bikingPictures" and "galleryPictures" modules reside in the "bikingpictures" and "gallerypictures" Java packages.

5.1 Whitebox biking2::api

The following diagram shows the main building blocks of the system and their interdependencies:

Figure 4.8: Level 1 building blocks

I used functional decomposition to separate responsibilities. The single parts of the API are all encapsulated in their own components, represented as Java packages.

All of the components depend on a...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image