How to build a module in playframework 2
Asked Answered
D

3

9

It seems I can't find an instruction on http://www.playframework.org/ about building a module for playframework 2.

Anyone know if there are documentations for this or the steps require to build a module?

Thanks.

Delict answered 2/5, 2012 at 17:27 Comment(2)
The sites that you need to bookmark for useful tuts and tips: objectify.be/wordpress and of course playframework.wordpress.comAjar
I think you r question Is similar to: #8045491Burny
W
12

This link is by far the best guide I have seen for far.

http://java.dzone.com/articles/writing-modules-play-2-get

The author, Steve, has been working with Play modules for quite some time, and has published a few Play2 modules based on his Play 1.x ones.

Willingham answered 2/5, 2012 at 20:26 Comment(1)
It's in java. can you give me a link for scala??Telemeter
S
1

I too didnt find any good documentation on this. So, I figured it myself and captured the steps in this post. It targets Play 2.5 and above. It is in Java!

https://medium.com/confest/writing-a-play-module-e8cc95cb9285#.y7zt92vpa

Steapsin answered 26/11, 2016 at 3:38 Comment(0)
A
0

There isn't official documentation as of the writing of this answer. But there are links to documentation off of the playframework website here: http://www.playframework.org/documentation/2.0.3/Modules

From the above link:

Blog posts describing the process of writing a module can be found on http://www.objectify.be/wordpress/?p=363 and http://developer.vz.net/2012/03/16/writing-a-play-2-0-module/

The second link is actually how to build a plug-in, which is just a module that implements a specific interface to provide a way to hook into the framework during startup and shutdown, I believe.

Also the guide in the previous answer seems like it might be good too: http://java.dzone.com/articles/writing-modules-play-2-get

Andrien answered 14/9, 2012 at 18:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.