This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:uphp [2017/01/16 10:34] admin |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Programming the Wattmon ====== | ||
- | Programming and scripting will be used interchangeably throughout the document. | ||
- | Wattmon is built on a scripting language that is syntactically identical to PHP - we call it uPHP for Micro-PHP. | ||
- | |||
- | ===== Why uPHP? ===== | ||
- | |||
- | First perhaps it would be good to explain a bit about how and why we chose PHP. The goal of Wattmon is to provide a highly flexible platform that can be customized for pretty much any application imaginable keeping in mind very low memory availability. | ||
- | |||
- | The Wattmon interface is primarily browser based, and generates HTML pages on the fly from uPHP scripts. | ||
- | |||
- | ==== Challenges ==== | ||
- | |||
- | The biggest challenge with the scripting language is its memory limitation. | ||
- | |||
- | ==== Benefits ==== | ||
- | |||
- | Having a scripting language that lets you modify and edit your program remotely is a very powerful thing. | ||
- | |||
- | [[wiki:uPHP Language Basics|Language Basics]] | ||
- | |||