You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+26-8
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
The missing glue between Alfresco and Spring MVC
2
2
===
3
-
Personally I do not like 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 esither, as in a medium sized application this becomes unmaintainable. That is why I wrote Alfresco @MVC.
3
+
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.
4
4
5
5
Alfresco @MVC consists of several libraries for REST, AOP
6
-
- Alfresco MVC REST enables the usage of the full Spring MVC stack within the context of a webscript, benefiting of Alfresco standard authentication and security
6
+
- 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
7
7
- Alfresco MVC AOP enables simple handling of Alfresco transactions and Alfresco runAs mechanism with simple annotations
8
8
9
9
[Distributed on Maven Central](https://search.maven.org/search?q=g:com.gradecak.alfresco-mvc)
@@ -23,22 +23,40 @@ Alfresco @MVC consists of several libraries for REST, AOP
23
23
```
24
24
25
25
Works on Enterprise as well as on Community and it reuses a widely accepted REST framework.
26
-
For the correct version supported on your Alfresco version [please check the wiki](https://github.com/dgradecak/alfresco-mvc/wiki) or
[The docs are on the wiki page](https://github.com/dgradecak/alfresco-mvc/wiki)
30
30
31
+
[The Samples are provided on](https://github.com/dgradecak/alfresco-mvc-sample)
32
+
31
33
You should use it when
32
34
-
33
35
- You need custom APIs
34
36
- You want to be more productive
35
-
- You write custom webscripts
37
+
- You write custom Alfresco Webscripts
36
38
37
-
You would benefit of
39
+
You would benefit from
38
40
-
39
41
- Faster and cleaner development
40
-
- Java developers know how to use Spring MVC while new comers tend to avoid webscripts
42
+
- Java developers know how to use Spring MVC while newcomers tend to avoid Alfresco Webscripts
43
+
44
+
45
+
For supported Alfresco versions, check the [release notes](https://github.com/dgradecak/alfresco-mvc/releases)
46
+
47
+
48
+
Maven local installation
49
+
-
50
+
mvn clean install -Dgpg.skip
51
+
41
52
53
+
Profiles
54
+
-
55
+
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 <activeByDefault>true</activeByDefault> in the pom.xml
42
56
43
-
For supported Alfresco versions check the [release notes](https://github.com/dgradecak/alfresco-mvc/releases)
57
+
example: mvn package -Pcommunity-7.2.0
58
+
59
+
Testing
60
+
-
61
+
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
Copy file name to clipboardexpand all lines: alfresco-mvc-rest/src/main/java/com/gradecak/alfresco/mvc/rest/annotation/EnableAlfrescoMvcDispatcherServlet.java
0 commit comments