Software Architecture with Python

This Course Includes:

Use Software Architecture with Python course and lab to get to know how Python fits into an application architecture.  The software architecture training will help you gain an understanding of the different architectural quality requirements to help build a product that satisfies business needs. The course also provides knowledge and skills required to work with various techniques such as incorporating DevOps, Continuous Integration to make your application robust.  The lab is cloud-based, device-enabled, and can easily be integrated with an LMS.

Lessons 1: Preface

  • What this course covers
  • Conventions

Lessons 2: Principles of Software Architecture

  • Defining software architecture
  • Characteristics of software architecture
  • Importance of software architecture
  • System versus enterprise architecture
  • Architectural quality attributes

Lessons 3: Writing Modifiable and Readable Code

  • What is modifiability?
  • Aspects related to modifiability
  • Understanding readability
  • Fundamentals of modifiability – cohesion and coupling
  • Exploring strategies for modifiability
  • Metrics – tools for static analysis
  • Refactoring code

Lessons 4: Testability – Writing Testable Code

  • Understanding testability
  • White-box testing principles

Lessons 5: Good Performance is Rewarding!

  • What is performance?
  • Software performance engineering
  • Performance testing and measurement tools
  • Performance complexity
  • Measuring performance
  • Profiling
  • Programming for performance – data structures

Lessons 6: Writing Applications that Scale

  • Scalability and performance
  • Concurrency
  • Thumbnail generator
  • Multithreading – Python and GIL
  • Multithreading versus multiprocessing
  • Pre-emptive versus cooperative multitasking
  • The asyncio module in Python
  • Waiting for a future – async and await
  • Concurrent futures – high-level concurrent processing
  • Scaling for the web
  • Scaling workflows – message queues and task queues
  • Celery – a distributed task queue

Lessons 7: Security – Writing Secure Code

  • Information security architecture
  • Secure coding
  • Common security vulnerabilities
  • Is Python secure?
  • Security issues with web applications
  • Strategies for security – Python
  • Secure coding strategies

Lessons 8: Design Patterns in Python

  • Design patterns – elements
  • Categories of design patterns
  • Patterns in Python – creational
  • Patterns in Python – structural
  • Patterns in Python – behavioral

Lessons 9: Python – Architectural Patterns

  • Introducing MVC
  • Event-driven programming
  • Microservice architecture
  • Pipe and Filter architectures

Lessons 10: Deploying Python Applications

  • Deployability
  • Tiers of software deployment architecture
  • Software deployment in Python
  • Deployment – patterns and best practices

Lessons 11: Techniques for Debugging

  • Maximum subarray problem
  • Simple debugging tricks and techniques
  • Logging as a debugging technique
  • Debugging tools – using debuggers
  • Advanced debugging – tracing

Appendix - A

  • Installing Python
  • Running Python
  • Basic syntax
  • Conditional statements and loops
  • Data structures
  • Functions

Appendix - B

  • Object-oriented programming
  • Modules and packages
  • File operations
  • Error and exception handling

Hands-on LAB Activities

Writing Modifiable and Readable Code

  • Documenting the Code
  • Understanding the Concept of Cohesion
  • Finding the McCabe Metric
  • Running a Static Checker
  • Fixing Code Smells by Refactoring the Code
  • Fixing Code Complexity by Refactoring the Code

Testability – Writing Testable Code

  • Measuring Code Coverage
  • Unit Testing a Module
  • Using Test-Driven Development
  • Unit Testing Using doctest

Good Performance is Rewarding!

  • Measuring the Performance of Code Using timeit
  • Collecting and Reporting Statistics
  • Profiling with cProfile
  • Implementing an LRU Cache Dictionary

Writing Applications that Scale

  • Using the Multiprocessing Pool Object
  • Creating a Co-operative Multitasking Scheduler Using Simple Python Generators
  • Using the asyncio Module
  • Using async and await
  • Using the concurrent.futures Module

Security – Writing Secure Code

  • Serialising an object using code jail
  • Making the Code Secure for Input

Techniques for Debugging

  • Debugging Maximum Subarray Problem
  • Generating Random Patient Data Using the schematics Library
  • Debugging the Word Searcher Program
  • Creating a Log File Using Logger Objects
  • Creating a Simple Log File
  • Debugging with pdb

Exam FAQs

FAQ's are not Available for this course.

Summary

Standard:

Software Architecture - Python

Lessons:

13+ Lessons

Delivery Method:

Online

Language:

English

Scroll to Top