Courses

Learn Electron

12 lessons · 0 completed

Start
0%
  1. 1 Electron Foundations & Hello World The "Why" Before the "How": Desktop Apps with Web TechSetting Up Your Environment: Node.js and npmYour First Desktop App: "Hello World" Electron StyleUnderstanding package.json and Entry Points
  2. 2 The Two-Process Architecture Explained The Main Process: The Backend of Your FrontendThe Renderer Process: Your App's User InterfaceThe Bridge: Introduction to Preload ScriptsUnderstanding Process Lifecycles and App Events
  3. 3 Window Management and UI Basics Creating and Configuring the BrowserWindowFrameless Windows and Custom Title BarsHandling Multiple Windows and Child WindowsIntegrating Modern Frameworks (React/Vue) Conceptually
  4. 4 Inter-Process Communication (IPC) Mastery ipcMain and ipcRenderer: The Communication ChannelsOne-Way Messaging: Sending Fire-and-Forget DataTwo-Way Communication: The invoke and handle PatternExposing Safe APIs via contextBridge
  5. 5 Native Operating System Integration Crafting Custom Application and Context MenusNative System Dialogs: Open, Save, and Error PromptsSystem Tray Icons and Background ApplicationsTriggering Native OS Notifications
  6. 6 File System and Local Data Storage Navigating App Directories: Using app.getPath()Reading and Writing Local Files via Main ProcessStoring User Preferences and Settings SafelyEmbedding Local Databases (SQLite/JSON Stores)
  7. 7 Ironclad Security Best Practices Why nodeIntegration: false is Absolute LawEnforcing Context Isolation ProperlyImplementing Content Security Policies (CSP)Safely Handling External Links and Web Navigation
  8. 8 Hardware and OS Interaction Accessing Webcams and Microphones SafelyCapturing the Screen: Using desktopCapturerRegistering and Handling Global Keyboard ShortcutsManaging Power States and Preventing Sleep Mode
  9. 9 Performance and Optimization Keeping the Main Process Lightweight and Non-BlockingMemory Management: Preventing Leaks in WindowsOffloading Heavy Tasks: Hidden Windows vs Worker ThreadsStartup Time Optimization Strategies
  10. 10 Testing Your Desktop Application Unit Testing Main Process LogicEnd-to-End Testing with Playwright or WebdriverIOMocking IPC Calls for Reliable Automated TestsAdvanced Debugging Techniques and DevTools Extensions
  11. 11 Packaging and Distribution Choosing Your Tool: Electron Forge vs. Electron BuilderCompiling Assets and Creating Standalone ExecutablesThe Basics of Code Signing for macOS and WindowsGenerating Installers (DMG, Setup.exe, AppImage)
  12. 12 Auto-Updates and CI/CD Pipelines Implementing electron-updater for Seamless UpgradesSetting Up a Release Server via GitHub ReleasesAutomating Builds with GitHub ActionsManaging Release Channels (Alpha, Beta, Stable)