GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Phoenix Code
  • Docs
  • API
  • Blog
  • Download
  • GitHub
  • Creating Themes
  • Creating Extensions
  • Use node.js from your extension
  • Debugging Extensions
  • Publishing Themes & Extensions
  • Available Standard Libraries
  • How-To
  • API-Reference

This view

  • Original page
  • New address

GeezerVison is showing docs.phcode.dev — Creating Extensions | Phoenix Code Docs

This document outlines how to write your own extensions for Phoenix Code.

How to create a new Extension​

Click on the link below and follow the instructions there to start: Create an Extension

API docs​

Please refer to the links below for extension API docs and code references.

  • Phoenix Code APIs - API Reference
  • Take a look at our default extensions for code reference - Default Extensions

Running and Debugging your Extension​

Follow the steps below to run and debug your extension:

  • Clone your extension repository onto the machine.

  • Go to https://create.phcode.dev. This is a development-focused version of the browser editor which shows non minified JS/CSS files in the browser developer tools.

  • Now, open the cloned folder in create.phcode.dev.

Refer to this guide to see how to open a folder in Phoenix Code.

  • Select Debug > Load Project As Extension

Debug Menu Image

  • The extension will be loaded in Phoenix Code.

  • You can now make code changes and live preview them.

You can also select Debug > Reload Project As Extension to test the new code changes.

  • When you are done developing the extension, select Debug > Unload Project As Extension to unload the extension.

You can use the browser developer tools to debug the extension.

  • How to create a new Extension
  • API docs
  • Running and Debugging your Extension
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.