Blueprint changed by Jakub Jankiewicz: Whiteboard changed: This is super important, but for super right now. Ok, Google Chrome OS Apps are using a similar format. We should look at what google is doing and do it well: From the article http://www.pcmag.com/article2/0,2817,2374210,00.asp : There are actually two kinds of apps: hosted and packaged, according to Google. Both use the CRX file format. A hosted app wraps an online website, so the CRX package can be as simple as a single manifest.json file pointing to the website, Google said. "A packaged app contains the whole kit and kaboodle inside the CRX package—HTML, CSS, and so on, all run from the user's hard drive," Google said. Ok and this is an idea of what an aiki app store could look like : https://chrome.google.com/webstore Bravo google! ### Here is more from fab wiki: An AikiApp is: SQL + /assets Assets are * css * javascript * images * audio * video * docs * and other non-html/php content An AikiApp can be: * A SQL dump + Assets (OR) * zipfile or tarball containing SQL + Assets. It should contain the assets in an /assets folder. Apps can be gotten by url, upload or trusted aikiapps.com. Aikiapps.com will store the apps and appear like a market. An aiki installation will contain an AppsWizard with this flow: # aikiapps trusted OR app url/upload # URL of app must be selected for installation # Error detection if there is a path already or some problem # success message There should be great care taken to not overwrite apps or paths. This is super crucial. Also, after the first run of an app, good idea for aikiapps to get out of the way. Also, there should be a pane in the messages/console output to display the apps. The aikiapps should be installable off the web. ### Another thing we need to think about is installation of new tables? Should there be an /install folder as well with any sql to be inserted and a script for install of the app? That is probably a good idea. Can use some update code once that is written to install the app or make use of classes to make it work. + ### + + We really need to think this through. ### + It can be a package (self extracting php file, there are compression in + php like gzuncompress and gzcompress) it can be like + transalation-0.1.php and hold all stuff in it, all static files, SQL + statements, we can create a script for packaging. This script can check + the previous version and remove them before insert the new ones. - We really need to think this through. + We can install them from Admin Interface like Ubuntu Software Center. + Or download them to local and upload using Admin Panel.
-- Make AikiApps Interface (AikiApps = AikiSites) https://blueprints.launchpad.net/aikiframework/+spec/make-aikiapps _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp