Typesafe Activator

Enterprise Cloud Web Portal

Enterprise Cloud Web Portal

ACenterA Inc.
June 17, 2014
emberjs ember angular sample web database hibernate starter javascript java scala playframework akka reactive

An Enterprise Cloud Web Portal that is built using Java, Scala, Play Framework, and Akka.

How to get "Enterprise Cloud Web Portal" on your computer

There are several ways to get this template.

Option 1: Choose play-web-portal in the Typesafe Activator UI.

Already have Typesafe Activator (get it here)? Launch the UI then search for play-web-portal in the list of templates.

Option 2: Download the play-web-portal project as a zip archive

If you haven't installed Activator, you can get the code by downloading the template bundle for play-web-portal.

  1. Download the Template Bundle for "Enterprise Cloud Web Portal"
  2. Extract the downloaded zip file to your system
  3. The bundle includes a small bootstrap script that can start Activator. To start Typesafe Activator's UI:

    In your File Explorer, navigate into the directory that the template was extracted to, right-click on the file named "activator.bat", then select "Open", and if prompted with a warning, click to continue:

    Or from a command line:

     C:\Users\typesafe\play-web-portal> activator ui 
    This will start Typesafe Activator and open this template in your browser.

Option 3: Create a play-web-portal project from the command line

If you have Typesafe Activator, use its command line mode to create a new project from this template. Type activator new PROJECTNAME play-web-portal on the command line.

Option 4: View the template source

The creator of this template maintains it at https://github.com/ACenterAInc/acentera-web#master.

Option 5: Preview the tutorial below

We've included the text of this template's tutorial below, but it may work better if you view it inside Activator on your computer. Activator tutorials are often designed to be interactive.

Preview the tutorial

Intro to ACenterA Community Portal

ACenterA Web Portal is an Enterprise Ready Cloud Management Portal, it is aiming to manage multi-cloud providers. We hope that the community will provide pull requests, in order to improve this framework and make everyone benefits from it.

Unlike a traditional Play Web Application, the controllers only responds to JSON Requests, making it great to build a RestFull API at the same time as building your Web Application.
If you prefer to only use the Portal without the needs to manage it, you may visit our ACenterA Cloud Databases, where you can see / use the full features without any fees.
The Web UI is built using the ".handlebars" templates, thanks to the

com.ketalo.play.plugins - play-emberjs

This template will get you started building your first Enterprise Grade Web Application.

Intro to EmberJS


EmberJS ACenterA Implementation

The EmberJS uses the play-emberjs plugin, which was modified a little bit and use our fork at ACenterA Play-EmberJS. Thanks for that original plugin, takes the various *.handlebars files and *.js from the following folders in that order


    * modules/acentera/app/assets/templates/base/common/{view,models,controller}
    * modules/acentera/app/assets/templates/base/user/{view,models,controller}

    * app/assets/templates/base/common/{view,models,controller}
    * app/assets/templates/base/user/{view,models,controller}
The Javascript files generated generated are imported from following html file in a specific order

    * modules/acentera/app/assets/views/main.scala.html

i18N - Multi-Language

We have not yet modified or created all of the i18N texts, feel free to create or update the various views and send us a pull request. We will be happy to look at them and integrate it.
Browser base Text Replacement

EmberJS i18n.js file is located at modules/acentera/app/assets/templates/base/i18n.js

Server-Base API Text Replacement

The messages file is located at modules/acentera/conf/messages

comments powered by Disqus