Articles & Tutorials

Every Prasansoft article and step-by-step tutorial in one place: programming, game engines, networking, hardware and more. (45)

Java Programming from ScratchJava Programming from ScratchVariables, conditions, loops, classes, and compiling and running with javac, with a tested example. JavaScript from ScratchJavaScript from ScratchVariables, functions, arrays, and working with web pages through the DOM. Building Web Pages with ASPBuilding Web Pages with ASPHow ASP works, handling forms, connecting to databases, and practices to know. Python Programming from ScratchPython Programming from ScratchVariables, lists, dictionaries, functions, and reading files. Installing and Managing Windows ServerInstalling and Managing Windows ServerInstallation, server roles, Active Directory, and commonly used PowerShell commands. Building a REST API with Spring BootBuilding a REST API with Spring BootProject setup, controllers, services, and database access with Spring Data JPA. Creating Reports with JasperReportsCreating Reports with JasperReportsDesigning report templates, binding data, and exporting to PDF. SQL from ScratchSQL from ScratchSELECT, WHERE, JOIN, GROUP BY and creating tables, with examples that run. Using PostgreSQLUsing PostgreSQLInstallation, creating databases and users, permissions, and basic commands. Node.js from ScratchNode.js from ScratchRun JavaScript on the server, read and write files, use async/await, and build a small HTTP server, with a tested example. Go from Scratch with 25 ExamplesGo from Scratch with 25 ExamplesVariables, control flow, structs, interfaces, goroutines, channels and generics, with the real output of every example. Using MySQLUsing MySQLInstallation, creating databases and tables, and backing up data. React from Scratch: Build a Website with 21 ExamplesReact from Scratch: Build a Website with 21 ExamplesComponents, props, state, useEffect, Context and custom hooks, with the real output of every example and a small website. Object Detection with YOLO: Finding Objects in Images and VideoObject Detection with YOLO: Finding Objects in Images and VideoBounding boxes, IoU, NMS, decoding grid cells, letterbox, precision, recall and AP, with the real output of every example. Making an FPS Game with Unreal Engine: From a New Project to an AI EnemyMaking an FPS Game with Unreal Engine: From a New Project to an AI EnemyMenu-by-menu steps to create an FPS project, import models, write shooting and damage, and build an AI enemy with a Behavior Tree. Making an FPS in C with raylib: From the First Window to Shooting EnemiesMaking an FPS in C with raylib: From the First Window to Shooting EnemiesUse the open-source raylib engine with C to write a map, movement, wall collision, ray shooting and a HUD, compiled with MSVC. Comparing 10 Popular Game Engines: Pros, Cons and Which to ChooseComparing 10 Popular Game Engines: Pros, Cons and Which to ChooseUnity, Unreal, Godot, GameMaker, Construct, Cocos, Defold, RPG Maker, Roblox Studio and Phaser, with a comparison table and a decision guide. A Sample Project: Reading License Plates and Counting VehiclesA Sample Project: Reading License Plates and Counting VehiclesMatch plates to vehicles, track vehicles across frames, count line crossings, and vote on plate readings, with real output from every example. How to Use Claude to Get Answers You Want and Work FasterHow to Use Claude to Get Answers You Want and Work FasterA good prompt structure, before and after examples, output formats, breaking tasks into steps, and reusable templates. PlateVision for Sale: License Plate Recognition and Entry-Exit System, with Detection Engine and ModelsPlateVision for Sale: License Plate Recognition and Entry-Exit System, with Detection Engine and ModelsPlateVision is a web-based plate reading system for entries, exits, plates inside now and alerts. Includes real screenshots, the YOLOv8 detection engine and a camera setup guide. React Native from Scratch: Install, Test and Deploy a Mobile AppReact Native from Scratch: Install, Test and Deploy a Mobile AppCreate an Expo project, build six examples, test them with Jest, and export and release the app, with diagrams and real output. Building a React Login Page: From the Form to a Protected PageBuilding a React Login Page: From the Form to a Protected PageA controlled form, validation, locking after failed attempts, Context and a protected page, with the real output of every example. CCNA Networking from Scratch: Binary, Subnets, VLSM, Routing and ACLsCCNA Networking from Scratch: Binary, Subnets, VLSM, Routing and ACLsBuild a subnet calculator, VLSM planner, longest-prefix route lookup and ACL check in Node, with tests, real output and diagrams. Palo Alto Next-Generation Firewall: Setup Concepts from Zones to Security PolicyPalo Alto Next-Generation Firewall: Setup Concepts from Zones to Security PolicyPlan, zones, security policy, NAT, security profiles, decryption, VPN, high availability and troubleshooting, with illustrations and a lab path. FortiGate Next-Generation Firewall: Setup Concepts from Interfaces to TroubleshootingFortiGate Next-Generation Firewall: Setup Concepts from Interfaces to TroubleshootingPlan, interfaces, policies, virtual IPs, security profiles, SSL inspection, IPsec VPN and high availability, with FortiOS commands, illustrations and a lab path. F5 BIG-IP LTM Load Balancing: Setup Concepts from VLANs to FailoverF5 BIG-IP LTM Load Balancing: Setup Concepts from VLANs to FailoverVLANs, self IPs, pools and health monitors, virtual servers, load-balancing methods, SSL offload, sync-failover and troubleshooting, with tmsh commands, illustrations and a lab path. The History of AMD's Factories: From Assembly Plants in Asia to Chips Made by PartnersThe History of AMD's Factories: From Assembly Plants in Asia to Chips Made by PartnersPenang assembly, the Austin and Dresden fabs, the 300 mm Fab 36 and the 2008 decision to spin off GlobalFoundries, with sources and uncertain dates marked. Resistors: How to Read, Calculate, Choose and Use ThemResistors: How to Read, Calculate, Choose and Use ThemColour codes, materials, Ohm's law, series and parallel, voltage dividers and pull-up resistors, with worked examples and illustrations. Capacitors: How They Store Charge, How to Read, Calculate, Choose and Use ThemCapacitors: How They Store Charge, How to Read, Calculate, Choose and Use ThemTypes, markings, Q = CV and energy, series and parallel, power supply smoothing and voltage ratings, with a photo, illustrations and worked examples. AC Power Transmission and Distribution: From the Power Plant to the Pole TransformerAC Power Transmission and Distribution: From the Power Plant to the Pole TransformerHow AC electricity is generated, stepped up, transmitted, stepped down and delivered to homes, with loss calculations, power factor, safety and a photo of a pole transformer. LEDs: How They Work, How to Connect, Calculate and Use Them SafelyLEDs: How They Work, How to Connect, Calculate and Use Them SafelySymbols and polarity, colours and forward voltage, series resistor calculations, several LEDs, PWM dimming and microcontroller pins, with illustrations and a lab. Transistors: How They Work, How to Use Them as a Switch and an AmplifierTransistors: How They Work, How to Use Them as a Switch and an AmplifierHow a BJT works, packages and pinouts, biasing, base resistor calculations for switching, a simple amplifier, driving loads from a microcontroller, with illustrations and a lab. How a Hydroelectric Dam Generates Electricity: From Water Behind the Wall to the GridHow a Hydroelectric Dam Generates Electricity: From Water Behind the Wall to the GridHead and flow physics, dam types, reservoirs and spillways, penstocks and turbines, generators, power calculations, safety and environmental trade-offs, with a photo and a lab. Java for Beginners: 100 Examples You Can Compile and RunJava for Beginners: 100 Examples You Can Compile and RunVariables, operators, loops, arrays, strings, methods, classes, collections, generics, exceptions, lambdas and streams, with the real output of every example and a grade report lab. HTML From Zero to 100 Examples: Structure, Forms, Media and Every Kind of CSS PropertyHTML From Zero to 100 Examples: Structure, Forms, Media and Every Kind of CSS PropertyPage structure, text, forms, tables, media and every major group of CSS properties, from colour and spacing to flexbox, grid, transitions and animation, with 100 code examples. C# and .NET from Zero to 100 Examples: Types, Properties, Classes, LINQ, Async and ExceptionsC# and .NET from Zero to 100 Examples: Types, Properties, Classes, LINQ, Async and ExceptionsVariables, operators, patterns, loops, methods, arrays, strings, classes, every kind of property, inheritance, records, LINQ, generics, delegates, async and exceptions, with the real output of 100 compiled examples. Angular from Zero to 100 Examples: Components, Templates, Signals, Forms, Routing, HTTP and Every Kind of PropertyAngular from Zero to 100 Examples: Components, Templates, Signals, Forms, Routing, HTTP and Every Kind of PropertyComponents, templates, control flow, pipes, inputs and outputs, every kind of property, lifecycle hooks, dependency injection, routing, forms, HTTP with RxJS, directives, signals, testing and deployment, with 100 code examples. C and C++ from Zero to Professional: 100 Compiled Examples with Real OutputC and C++ from Zero to Professional: 100 Compiled Examples with Real OutputVariables, control flow, functions, pointers, structs, memory, files, classes, RAII, smart pointers, templates, the standard library, concepts, exceptions and threads, with the real output of each example. Raspberry Pi and IoT with Python: 100 Examples from Zero to ProfessionalRaspberry Pi and IoT with Python: 100 Examples from Zero to ProfessionalFrom your first Python program to a complete sensor pipeline: GPIO, I2C, SPI, 1-Wire, HTTP, MQTT, Flask, SQLite and systemd services, with real output for the runnable examples. Microsoft Azure from Zero to Professional: 100 Examples with CLI, Bicep and PythonMicrosoft Azure from Zero to Professional: 100 Examples with CLI, Bicep and PythonThe Azure CLI, resource groups and tags, Bicep, identity and RBAC, compute, containers, storage, databases, serverless Functions, networking, messaging, monitoring, Key Vault and DevOps with cost governance, with 100 examples. Docker from Zero to Professional: 100 Examples with Dockerfile, Compose and CI/CDDocker from Zero to Professional: 100 Examples with Dockerfile, Compose and CI/CDImages and registries, multi-stage Dockerfiles, volumes, networking, Compose, configuration and secrets, resource limits, container security, debugging, CI/CD and orchestration, with 100 examples. Kubernetes from Zero to Professional: 100 Examples with kubectl, Manifests, Helm and GitOpsKubernetes from Zero to Professional: 100 Examples with kubectl, Manifests, Helm and GitOpskubectl and contexts, Pods, Deployments and rolling updates, Services and Ingress, ConfigMaps and Secrets, persistent storage, Jobs and CronJobs, StatefulSets and DaemonSets, autoscaling, RBAC, Helm, Kustomize and GitOps, with 100 examples. Full-Stack Development with Angular, Node.js and MySQL: 100 Examples from Zero to ProfessionalFull-Stack Development with Angular, Node.js and MySQL: 100 Examples from Zero to ProfessionalProject setup, Node.js and Express, REST APIs, MySQL and SQL, data access, validation, authentication, Angular components, services, forms and interceptors, testing, Docker and deployment, with 100 examples. Designing the Database for an Online Buying and Selling System: 100 Examples with MySQL 8Designing the Database for an Online Buying and Selling System: 100 Examples with MySQL 8Shop tables with keys and indexes, sample data, the order, payment, refund and last-item transactions, locking, views, partitioning and reports, with 100 examples. Designing a Used-Car Marketplace Database: 100 Examples from Zero to ProfessionalDesigning a Used-Car Marketplace Database: 100 Examples from Zero to ProfessionalBusiness rules, users and dealers, the car catalog, listings and inspections, search, offers and orders, ledger payments, ownership transfer, financing, reviews, race conditions and release, with 100 examples.