diff --git a/creating_modules.md b/creating_modules.md index de0c864..7f68812 100644 --- a/creating_modules.md +++ b/creating_modules.md @@ -3,8 +3,14 @@ ##Introduction With the new WiFi Pineapple Interface, It is easy to create modules that use the new [API](api.md). Modules use HTML, AngularJS and PHP to make requests and retrieve a response. The new interface and the modules also use Bootstrap. + // TODO: write better Introduction ##Anatomy of a basic module -A basic module will request information through AngularJS to PHP, and then PHP will provide a response to AngularJS, where it will then be displayed on the page. +A basic module will request information through AngularJS to PHP, and then the PHP will provide a response to AngularJS, where it will then be displayed on the HTML page for the user to see. +``` ++-------------------+ +--------------+ +-----------+ +------+ +| AngularJS Request | --> | PHP Response | --> | AngularJS | --> | HTML | ++-------------------+ +--------------+ +-----------+ +------+ +```