https://github.com/jonas/scalatra-angularjs-portlet
Liferay portlet using Scalatra and AngularJS
https://github.com/jonas/scalatra-angularjs-portlet
Last synced: 10 months ago
JSON representation
Liferay portlet using Scalatra and AngularJS
- Host: GitHub
- URL: https://github.com/jonas/scalatra-angularjs-portlet
- Owner: jonas
- Created: 2013-10-05T02:31:02.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-05T02:31:56.000Z (over 12 years ago)
- Last Synced: 2025-01-25T04:44:00.956Z (12 months ago)
- Language: JavaScript
- Size: 277 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
scalatra-angularjs-portlet
==========================
Sample Liferay portlet that uses AngularJS to display a list of user
served via a REST API powered by Scalatra. The REST API is served via
Liferay's delegate servlet in order to access Liferay services with
permission checking enabled. A Scalatra security strategy is used to
setup the Liferay permission checker for all incoming requests.
To make it easy to extend the REST API, individual controllers are
implemented as traits, which are then mixed into the main servlet.
Dependencies are injected into the controllers using SubCut binding
modules.
This portlet is derived from the angularjs-sample-portlet made by Dmitri
Carpov. Apart from the rewrite to Scala it also includes the AngularJS
code as part of the portlet.