9.0/10 (40600 commentaires)
tiqets.com a été visité par plus de 100 000 utilisateurs le mois dernier
Book ahead & get your Teatro alla Scala Tours tickets on your smartphone with Tiqets. Discover & book tickets to top museums & attractions in Milan.
- Book Now to Save 10%
Book your tickets in advance and
see Caorle for less.
- Leonardo3 Museum
Be sure to also check out Leonardo3
Museum
- Book Same Day Tickets Now
Same day, skip-the-line tickets.
Sells out fast!
- 48 Hours in Milan
Our top picks for 2 days in Milan.
Plan your trip now.
- Book Now to Save 10%
Résultats de recherche
Grâce à Scalapay, achetez ce que vous désirez et prenez tout votre temps pour le payer. En ligne et en magasin. En toute simplicité et sécurité.
- Fonctionnement de Scalapay
Scalapay est un service de financement innovant qui vous...
- Se connecter
Manage your purchases easily and keep everything under...
- Toutes les marques
Payez en 3 versements pratiques du même montant, sans...
- Offres et promotions
Discover the Scalapay offers and promotions on app!
- Mode
Mode - Scalapay : paiements échelonnés pour ce que vous...
- Accessoires
Accessoires - Scalapay : paiements échelonnés pour ce que...
- Maman et enfants
Maman et enfants - Scalapay : paiements échelonnés pour ce...
- Beauté
Beauté - Scalapay : paiements échelonnés pour ce que vous...
- Fonctionnement de Scalapay
Play Framework makes it easy to build web applications with Java & Scala. Play is based on a lightweight, stateless, web-friendly architecture. Built on Pekko (Play 3) and Akka (Play 2), Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications. Developer friendly.
Play Framework is a high velocity web framework for Java and Scala. Learn how to create, run and test Play projects with tutorials, examples and documentation.
Play is a high-productivity Java and Scala web application framework that integrates the components and APIs you need for modern web application development. Play is based on a lightweight, stateless, web-friendly architecture and features predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications ...
- Overview
- Project Setup
- Command-Line Tools
- Project Structure
- Making The First Change
- How to Define A New Action
- Testing
- Conclusion
- GeneratedCaptionsTabForHeroSec
In this tutorial, we’re going to take a look at the Play Frameworkwith Scala. We’ll learn how to set up the Play Framework, use the development tools to generate our first project, and how to implement our own features. Additionally, we’ll examine its built-in testing capabilities. And for Java developers, we’ve also prepared a Java version of the ...
Before we start, we need to install the sbt command-line tool (and at least JDK 11, ideally 17). In this article, we’re using sbt version 1.9.7 to install Play Framework version 3.0.0. Play 2.9 is very similar to 3.0.0, except that Play 2.9 uses Akka whereas Play 3.0.0 uses Apache Pekkounder the hood.
The Play Framework documentation promises us “a powerful console and build tools”. We can start by generating the scaffolding of a new Play Framework application using sbt: After loading a lot of dependencies, the tool displays a prompt and asks us to name the new project and provide the organization name. In this example, we are going to name it “...
Now, it’s time to load the project code into the IDE and look at the directory structure. In our project directory, we see four directories created by the sbt template: app/controllers, app/views, conf, and public. 1. The controllersdirectory is where we will store our Scala code 2. The viewsdirectory is where we’ll save our HTML templates 3. The c...
The Play Framework provides us with a “hit refresh workflow.” The idea is that we can update our code and refresh the page in the browser to see the changes without restarting the server. First, let’s create a new file in the app/view directory. We’re going to call it firstexample.scala.html. Now, we open the file and save the following code as its...
In the previous example, we made some changes to the existing code and saw the results. Now, let’s look at Play internals to understand how it works and what else we can do. When the Play server receives a request, it checks the config/routes file to determine which controller and method will handle the request. The method defined inside a controll...
Last but not least, we should take a look at the tests generated by sbtwhile creating a new Play project. When we open the HomeControllerSpec file from the tests/controllers directory, we see a ScalaTestspecification. To make the code complete, we must write the test for the additional route that we have created. Let’s define a new test case called...
In this article, we used the Play Framework command-line tools to create a simple website, added a new view template, and defined a new route with a parameterized template. In the end, we looked at the automatically generated tests and implemented our test cases. The source code of the application is available over on GitHub.
Learn how to set up, use, and test the Play Framework with Scala. This tutorial covers the basics of the Play Framework, such as project structure, routing, controllers, views, and testing.
The Play Framework combines productivity and performance making it easy to build scalable web applications with Java and Scala. Play is developer friendly with a "just hit refresh" workflow and built-in testing support. With Play, applications scale predictably due to a stateless and non-blocking architecture.
Play Framework est un framework web open source qui permet d'écrire rapidement des applications web en Java ou en Scala.