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!

CommentFileSizeAuthor
#3 single_page_app.txt4.85 KBartematem
SPA_example.png342.19 KBbjpritch

Comments

PA robot’s picture

Status: Needs review » Needs work

There 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.

bjpritch’s picture

Status: Needs work » Needs review

Cleaned up code even more based on automated PA review.

artematem’s picture

StatusFileSize
new4.85 KB

1. 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.

artematem’s picture

Status: Needs review » Needs work
tikaszvince’s picture

Automated Review

No pareview errors found, but there are some Coding Standard issues as @artematem mentioned.

Manual Review

Individual user account
[Yes: Follows] the guidelines for individual user accounts.
No duplication
[Yes: Does not cause] module duplication and/or fragmentation.
Master Branch
[Yes: Follows] the guidelines for master branch.
Licensing
[Yes: Follows] the licensing requirements.
3rd party assets/code
[Yes: Follows] the guidelines for 3rd party assets/code.
README.txt/README.md
[Yes: Follows] the guidelines for in-project documentation.
[No: Does not follow] the README Template.
Code long/complex enough for review
[Yes: Follows] the guidelines for project length and complexity.
Secure code
I haven't done any security review

This review uses the Project Application Review Template.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing 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.