The Single Page App (SPA) module allows for deployment of single page applications into your Drupal environment, just the same as you would create any kind of Drupal content (page, article, etc). This module aims to do a few things well:
- Provide a very simple way of getting single page applications deployed within Drupal. A SPA content type only requires 3 fields be completed.
- Treat a single page application like a content type, that can be unpublished like normal content. Generally modules that work with content types could integrate with Single Page Apps as well.
- Provide a method for non-Drupal SPA developers to have their applications hosted in Drupal, without learning any Drupal.
This module also allows for the idea of "chroming" (sandboxing the application). In this way single page applications can exist on external sites with their own styling, but when brought into Drupal with the SPA module the Drupal environment's styling can be applied to the application in the form of headers and footers.
More information for usage and features can be found with the module's documentation: https://www.drupal.org/node/2411075
I did not see a module for deploying pre-built single page apps, although the AngularJS project looked close.
Link to the project page: https://www.drupal.org/sandbox/bjpritch/2411053
Git clone: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/bjpritch/2411053.git single_page_app
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | single_page_app.txt | 4.85 KB | artematem |
| SPA_example.png | 342.19 KB | bjpritch |
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxbjpritch2411053git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
bjpritch commentedCleaned up code even more based on automated PA review.
Comment #3
artematem commented1. Attaching coder report, please clean up what possible.
2. Fix formatting in tpl files. And why there are link on localhost?
3. Add config link ("config = admin/config/content/spa") to emoji_scrub.info file, so user could reach the config page from module list page.
Comment #4
artematem commentedComment #5
tikaszvince commentedAutomated Review
No pareview errors found, but there are some Coding Standard issues as @artematem mentioned.
Manual Review
This review uses the Project Application Review Template.
Comment #6
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.