The Internet evolved so much the last 20 years that – It has becomed impossible to create indepedently Java Web Applications – without JavaScript, CSS, TypeScript, the HTTP protocol and all the technical details of the Web. Here are the most close attempts. Vaadin Web Applications Vaadin Framework is the king of abstracting the Web…
Author: Toma Velev
Database Integrations in Spring Boot
Here are minimal examples of different Database Integrations in Spring Boot that you could choose from in your applications. 1. JdbcTemplate (Plain JDBC) JdbcTemplate is a lower-level approach that directly executes SQL queries. import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.RowMapper; import org.springframework.stereotype.Repository; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; @Repository public class UserJdbcRepository { private final JdbcTemplate jdbcTemplate; public…
How to Generate PDF in Flutter
To Generate PDF documents in Flutter can be achieved through several packages. Here are a few popular ones: pdf: This package provides a simple way to create and manipulate PDF documents in Dart. syncfusion_flutter_pdf: This package provides a comprehensive set of features for generating and manipulating PDF documents. https://pub.dev/packages/syncfusion_flutter_pdf The also have a lot of…
What type of Flutter Tests you actually need
What type of Flutter Tests do you implement, do you code small apps like for Proof of Concepts/Minimal Viable Products or you deliver apps in critical sectors? Business need of tests in a Flutter app From a business perspective, you need tests in a Flutter app when: You’re building a complex feature. If your feature involves…
AppDrawer – common Flutter Drawer in multiple screens
Here’s an example of how you can create a reusable AppDrawer in Flutter – a common Drawer component For multiple screens: // app_drawer.dart import ‘package:flutter/material.dart’; class AppDrawer extends StatelessWidget { const AppDrawer({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Drawer( child: Column( children: [ const UserAccountsDrawerHeader( accountName: Text(‘John Doe’), accountEmail: Text(‘john@example.com’), ),…
The Platform Providers – the Gatekeepers of Users
I’m seeing colleagues registering less traffic – from SEO and social and this goes directly to an idea that I have/had – the Platform Providers are the Gatekeepers of Users. That is why many marketers during all the social media time preferred email. Now with the evolution of the internet – it is also Telegram…
Benefits of using Convention & Configuration & following Guidlines
There are major Benefits of using Strong Convention over Configuration and following Guidlines – in file and folder structure, components, micro services, when coding in a big team, startup, corporation and for clients.</p> Places where Conventions are implemented Guidlines in the development approach may be placed in different places: In file and folder structure, components…
Count of Software Environments
The Count of Software Environments depends on – the team size, project and client type. Here are some general guidelines for the number of environments based on team size and project type/client: Small Teams (1-5 developers) For simple projects or proof-of-concepts: 2 environments: Development and Production For medium-complexity projects: 3 environments: Development, Staging (or QA),…
How to set and how to get Arguments in Flutter Navigator
In Flutter, you can pass Arguments when navigating between screens using the Navigator class. Here’s how to set and get arguments: Setting Arguments to Navigator To pass arguments when navigating, you can use the push or pushNamed method of the Navigator. The first argument is the route name, and the second argument is a map…
To what situations SafeArea Flutter Widget protects the UI
Use SafeArea Widget in Flutter to protect the UI from being covered by system overlays such as navigation bars, status bars, and other platform-specific features. SafeArea protects the UI from Navigation Bar: When a navigation bar is present at the bottom of the screen, SafeArea ensures that your UI content doesn’t get covered by it….