-
Initial State: The process starts with a Layered Monolith.
-
Transaction Frequency: Strong and frequent transactions lead to Clean/Hexagonal architecture within the monolith.
-
Maintainability Focus: Long-life products with a focus on tests and maintainability trigger team-size evaluations.
-
Monolith Retention: If the product is not long-lived, the recommendation is to maintain the monolith.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| type Person = { | |
| readonly id: number, | |
| readonly name: string, | |
| readonly profession: Profession, | |
| readonly accomplishment: string, | |
| readonly imageId: string | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/foundation.dart' show kIsWeb; | |
| import 'dart:math' as math; | |
| void main() => runApp(const MyApp()); | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/foundation.dart' show kIsWeb; | |
| import 'dart:math' as math; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); | |
| @override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'dart:async'; | |
| void main() { | |
| runApp(const MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Responsive Split View</title> | |
| <style> | |
| /* Reset and base styles */ | |
| * { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Function to validate input is not empty | |
| validate_input() { | |
| local input=$1 | |
| local field_name=$2 | |
| if [ -z "$input" ]; then | |
| echo "Error: $field_name cannot be empty" | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Update Gradle, Java and other Android project settings in a Flutter project | |
| # See: https://gradle.org/releases/ | |
| DESIRED_GRADLE_VERSION="8.9" | |
| # Build errors often show the required Java version | |
| DESIRED_JAVA_VERSION="17" | |
| # See: https://developer.android.com/ndk/downloads | |
| DESIRED_NDK_VERSION="27.0.12077973" | |
| # The minimum Android SDK version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # This script sits in the root of your project = <my_flutter_project>/build_stuff.py | |
| # It requires a directory <my_flutter_project>/keys with the credentials below | |
| import os | |
| import subprocess | |
| import sys | |
| import glob | |
| from google.oauth2.service_account import Credentials |
NewerOlder