This repository documents my transition from Data Science to Backend Engineering, specifically focusing on the WordPress ecosystem. It serves as a centralized location for my code, experiments, and custom plugins built using the rtCamp technology stack.
- PHP 8.x Basics (Syntax, Arrays, Functions)
- Object-Oriented PHP (Classes, Inheritance)
- Security Best Practices (Sanitization, Validation)
- Understanding
wp-config.phpand File Structure - Plugin Architecture & Hooks
- Shortcode API
- HTTP API & Transients (Caching)
- Custom Database Tables (SQL) for high-performance logging
- WP-CLI (Command Line Interface) for automation
- Data Migration (Handling bulk data ingestion)
File: enterprise-audit-log.php | Type: Security Plugin
A compliance tool that creates a custom SQL table (dbDelta) to track user activity, bypassing standard post storage for performance.
Technical Highlights:
- Custom SQL Schema: Uses
CREATE TABLEanddbDelta()to manage high-volume log data outside ofwp_posts. - Security Hooks: Listeners for
wp_loginto create an immutable audit trail. - Dashboard Widget: Custom UI implementation within the WP Admin for real-time monitoring.
File: cli-bulk-importer.php | Type: WP-CLI Command
A command-line tool designed to handle large-scale data migrations. It reads a CSV file and programmatically inserts posts into the WordPress database with a visual progress indicator.
Technical Highlights:
- WP-CLI Integration: Extends
WP_CLI_Commandto run scripts directly in the terminal, bypassing server timeout limits. - Stream Processing: Uses
fopen()to stream data line-by-line for memory efficiency. - UX for Engineers: Implements
make_progress_bar()for real-time feedback.
File: github-portfolio-fetcher.php | Type: API Widget
A widget that connects to the GitHub REST API to display live repository data.
Technical Highlights:
- Performance Caching: Implements the WordPress Transients API to cache API responses for 1 hour.
- Error Handling: Gracefully manages API connection failures.
File: cricket-pace-calculator.php | Type: OOP Logic
A physics-based calculator for bowling speed, re-engineered using Object-Oriented Programming principles.
- CLI Tool: Run
wp vamsi_import run mock-data.csvin terminal. - Plugins: Activate via Dashboard to see the "Enterprise Security Logs" widget.
- Shortcodes: Use
[cricket_calculator]or[my_github_repos].
Author: Vamsi Bodapati Aspiring WordPress Engineer