Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgradecak/alfresco-mvc
Glue between SpringMVC @Controllers and Alfresco
https://github.com/dgradecak/alfresco-mvc
alfresco alfresco-mvc amp annotations content-management content-management-system spring spring-mvc springmvc webscript
Last synced: about 1 month ago
JSON representation
Glue between SpringMVC @Controllers and Alfresco
- Host: GitHub
- URL: https://github.com/dgradecak/alfresco-mvc
- Owner: dgradecak
- License: apache-2.0
- Created: 2013-03-16T19:15:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-09-14T05:58:51.000Z (2 months ago)
- Last Synced: 2024-09-29T08:41:02.665Z (about 2 months ago)
- Topics: alfresco, alfresco-mvc, amp, annotations, content-management, content-management-system, spring, spring-mvc, springmvc, webscript
- Language: Java
- Homepage:
- Size: 615 KB
- Stars: 22
- Watchers: 8
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The missing glue between Alfresco and Spring MVC
===
Personally, I do not like Alfresco Webscripts because of the boilerplate code that comes with them (XML, FTL, Java/Javascript). Also, I am not a big fan of Javascript on the server side either, as in a medium sized application this becomes unmaintainable. That is why I wrote Alfresco @MVC.Alfresco @MVC consists of several libraries for REST, AOP
- Alfresco MVC REST enables the usage of the full Spring MVC stack within the context of an Alfresco Webscript, benefiting of Alfresco standard authentication and security
- Alfresco MVC AOP enables simple handling of Alfresco transactions and Alfresco runAs mechanism with simple annotations[Distributed on Maven Central](https://search.maven.org/search?q=g:com.gradecak.alfresco-mvc)
```
com.gradecak.alfresco-mvc
alfresco-mvc-rest
xxxcom.gradecak.alfresco-mvc
alfresco-mvc-aop
xxx```
Works on Enterprise as well as on Community and it reuses a widely accepted REST framework.
For the correct version supported by your Alfresco version [please check the wiki](https://github.com/dgradecak/alfresco-mvc/wiki) or
[The release page](https://github.com/dgradecak/alfresco-mvc/releases).[The docs are on the wiki page](https://github.com/dgradecak/alfresco-mvc/wiki)
[The Samples are provided on](https://github.com/dgradecak/alfresco-mvc-sample)
You should use it when
-
- You need custom APIs
- You want to be more productive
- You write custom Alfresco WebscriptsYou would benefit from
-
- Faster and cleaner development
- Java developers know how to use Spring MVC while newcomers tend to avoid Alfresco WebscriptsFor supported Alfresco versions, check the [release notes](https://github.com/dgradecak/alfresco-mvc/releases)
Maven local installation
-
mvn clean install -Dgpg.skipProfiles
-
We are using profiles to test against different Alfresco versions. If no configured Maven profiles are provided the default will be used and is specified by true in the pom.xmlexample: mvn package -Pcommunity-23.1.0
Testing
-
From v8.0.0 we have decided to only run our unit tests against the Alfresco Community versions. Despite not being tested on Alfresco Enterprise it has to be compatible with the respectively tested Alfresco Community distribution