暫無描述

Fernando Diaz 6daed5f66b Created new activity to redirect to event details. Created new XML for event details screen from old one to list info. Only listing name, food, and description so far. Note: first event in list causes crash, likely due to null values. 9 年之前
.gradle 09b0cce343 Added skeleton for details screen; will expand on this further. 9 年之前
.idea c585810c3e Created basic create screen. Work in Progress. 9 年之前
Documentation 29e1dd9824 Commit rest of the files 9 年之前
app 6daed5f66b Created new activity to redirect to event details. Created new XML for event details screen from old one to list info. Only listing name, food, and description so far. Note: first event in list causes crash, likely due to null values. 9 年之前
build c28d9ffc78 Add buttomBar for navigation and the header 9 年之前
gradle 2859929582 base 9 年之前
server 8aa2024c5b Updated server code to support eclipse and added "secret key" for heroku. 9 年之前
.gitignore 2859929582 base 9 年之前
README.md e7652feb45 Created Event model. 9 年之前
build.gradle 29e1dd9824 Commit rest of the files 9 年之前
gradle.properties 2859929582 base 9 年之前
gradlew 2859929582 base 9 年之前
gradlew.bat 2859929582 base 9 年之前
local.properties 09b0cce343 Added skeleton for details screen; will expand on this further. 9 年之前
settings.gradle 2859929582 base 9 年之前

README.md

Play Java Starter

This is a starter application that shows how Play works. Please see the documentation at https://www.playframework.com/documentation/latest/Home for more details.

Running

Run this using sbt. If you downloaded this project from http://www.playframework.com/download then you'll find a prepackaged version of sbt in the project directory:

sbt run

And then go to http://localhost:9000 to see the running web application.

Controllers

There are several demonstration files available in this template.

  • HomeController.java:

Shows how to handle simple HTTP requests.

  • AsyncController.java:

Shows how to do asynchronous programming when handling a request.

  • CountController.java:

Shows how to inject a component into a controller and use the component when handling requests.

Components

  • Module.java:

Shows how to use Guice to bind all the components needed by your application.

  • Counter.java:

An example of a component that contains state, in this case a simple counter.

  • ApplicationTimer.java:

An example of a component that starts when the application starts and stops when the application stops.

Filters

  • Filters.java:

Creates the list of HTTP filters used by your application.

  • ExampleFilter.java

A simple filter that adds a header to every response.