From 342e9fb6685e1bb8d4ec1666db86b56ea9cf1ec4 Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 5 Apr 2016 23:47:08 +0100 Subject: [PATCH] Hopefully this doesnt look awful --- creating_modules.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 | ++-------------------+ +--------------+ +-----------+ +------+ +```