1 | # Play 2.0 for Scala developers |
---|
2 | |
---|
3 | The Scala API for Play 2.0 application developers is available in the `play.api` package. |
---|
4 | |
---|
5 | > The API available directly inside the `play` package (such as `play.mvc`) is reserved for Java developers. As a Scala developer, look at `play.api.mvc`. |
---|
6 | |
---|
7 | ## Main concepts |
---|
8 | |
---|
9 | 1. [[HTTP programming | ScalaActions]] |
---|
10 | 1. [[Actions, Controllers and Results | ScalaActions]] |
---|
11 | 1. [[HTTP routing | ScalaRouting]] |
---|
12 | 1. [[Manipulating results | ScalaResults]] |
---|
13 | 1. [[Session and Flash scopes | ScalaSessionFlash]] |
---|
14 | 1. [[Body parsers | ScalaBodyParsers]] |
---|
15 | 1. [[Actions composition | ScalaActionsComposition]] |
---|
16 | 1. [[Asynchronous HTTP programming | ScalaAsync]] |
---|
17 | 1. [[Handling asynchronous results | ScalaAsync]] |
---|
18 | 1. [[Streaming HTTP responses | ScalaStream]] |
---|
19 | 1. [[Comet sockets | ScalaComet]] |
---|
20 | 1. [[WebSockets | ScalaWebSockets]] |
---|
21 | 1. [[The template engine | ScalaTemplates]] |
---|
22 | 1. [[Templates syntax | ScalaTemplates]] |
---|
23 | 1. [[Common use cases | ScalaTemplateUseCases]] |
---|
24 | 1. [[HTTP form submission and validation | ScalaForms]] |
---|
25 | 1. [[Form definitions | ScalaForms]] |
---|
26 | 1. [[Using the form template helpers | ScalaFormHelpers]] |
---|
27 | 1. [[Working with Json | ScalaJson]] |
---|
28 | 1. [[The Play Json library | ScalaJson]] |
---|
29 | 1. [[Handling and serving Json requests | ScalaJsonRequests]] |
---|
30 | 1. [[The Play Json Library with Generics | ScalaJsonGenerics]] |
---|
31 | 1. [[Working with XML | ScalaXmlRequests]] |
---|
32 | 1. [[Handling and serving XML requests | ScalaXmlRequests]] |
---|
33 | 1. [[Handling file upload | ScalaFileUpload]] |
---|
34 | 1. [[Direct upload and multipart/form-data | ScalaFileUpload]] |
---|
35 | 1. [[Accessing an SQL database | ScalaDatabase]] |
---|
36 | 1. [[Configuring and using JDBC | ScalaDatabase]] |
---|
37 | 1. [[Using Anorm to access your database | ScalaAnorm]] |
---|
38 | 1. [[Integrating with other database access libraries | ScalaDatabaseOthers]] |
---|
39 | 1. [[Using the Cache | ScalaCache]] |
---|
40 | 1. [[The Play cache API | ScalaCache]] |
---|
41 | 1. [[Calling WebServices | ScalaWS]] |
---|
42 | 1. [[The Play WS API | ScalaWS]] |
---|
43 | 1. [[Connecting to OpenID services | ScalaOpenID]] |
---|
44 | 1. [[Accessing resources protected by OAuth | ScalaOAuth]] |
---|
45 | 1. [[Integrating with Akka | ScalaAkka]] |
---|
46 | 1. [[Setting up Actors and scheduling asynchronous tasks | ScalaAkka]] |
---|
47 | 1. [[Internationalization | ScalaI18N]] |
---|
48 | 1. [[Messages externalisation and i18n | ScalaI18N]] |
---|
49 | 1. [[The application Global object | ScalaGlobal]] |
---|
50 | 1. [[Application global settings | ScalaGlobal]] |
---|
51 | 1. [[Intercepting requests | ScalaInterceptors]] |
---|
52 | 1. [[Testing your application | ScalaTest]] |
---|
53 | 1. [[Writing tests | ScalaTest]] |
---|
54 | 1. [[Writing functional tests | ScalaFunctionalTest]] |
---|
55 | |
---|
56 | ## Advanced topics |
---|
57 | |
---|
58 | 1. [[Handling data streams reactively | Iteratees]] |
---|
59 | 1. [[Iteratees | Iteratees]] |
---|
60 | 1. [[Enumerators | Enumerators]] |
---|
61 | 1. [[Enumeratees | Enumeratees]] |
---|
62 | |
---|
63 | ## Tutorials |
---|
64 | |
---|
65 | 1. [[Your first application | ScalaTodoList]] |
---|