GithubHelp home page GithubHelp logo

jeperez / scala-design-patterns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nikolovivan/scala-design-patterns

0.0 2.0 0.0 95 KB

Contains examples of various design patterns in Scala

Scala 100.00%

scala-design-patterns's Introduction

Scala Design Patterns

This repository contains the code that goes with the Scala Design Patterns book.

Project Structure

The source code for the book is presented as amulti-module Maven project and it contains different modules for the following chapters:

  1. Chapter 1 - The Design Patterns Out There and Setting Up Your Environment.

    There is no code for this chapter. It provided the users with some skeletons.

  2. Chapter 2 - Traits and Mixin Compositions.

    a. Module name: traits.

  3. Chapter 3 - Unification.

    a. Module name: unification.

  4. Chapter 4 - Abstract and Self Types.

    a. Module name: abstract-types.

  5. Chapter 5 - Aspect Oriented Programming and Components.

    a. Module name: aop.

  6. Chapter 6 - Creational Design Patterns.

    a. Module name: creational-design-patterns.

  7. Chapter 7 - Structural Design Patterns.

    a. Module name: structural-design-patterns.

  8. Chapter 8 - Behavioral Design Patterns - Part 1.

    a. Module name: behavioral-design-patterns.

  9. Chapter 9 - Behavioral Design Patterns - Part 2.

    a. Module name: behavioral-design-patterns.

  10. Chapter 10 - Functional Design Patterns โ€“ The Deep Theory.

    a. Module name: deep-theory.

  11. Chapter 11 - Functional Design Patterns โ€“ Applying What We Learned.

    a. Module name: functional-design-patterns.

  12. Chapter 12 - Real Life Applications.

    a. Module name: real-life-applications.

    b. Module name: job-scheduler.

Running the Code

Running the code is pretty straightforward from here and anyone with some minor Maven experience should manage.

Compiling the Projects

mvn clean compile

Running the Unit Tests

mvn clean test

The test command will also run the compile one.

Creating the Jars

mvn clean package

The above command will package everything. You can find the jars in the target subfolder of the respective module folder.

scala-design-patterns's People

Contributors

nikolovivan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.