Anorm

Practical Guide: Anorm using MySQL with Scala

Reading Time: 3 minutes  In this blog, we are going to explore the Anorm. Play includes a simple data access layer called Anorms that uses plain SQL to interact with the database and provides an API to parse and transform the resulting datasets. In this blog, we will be using MySQL as our database.  You need to perform the following steps to utilize Anorm: 1)To start with anorm, you Continue Reading

Using Anorm

Reading Time: 3 minutes Anorm is basically a data access layer to talk to the database we are using. In this blog, we will be using mysql as our database. Anorm is the default persistence provider in play framewok. Anorm uses plain sql to interact with the database and provides an API to parse and transform the resulting datasets. To start with anorm, you need to include the following Continue Reading

Getting started with ReactJS, Play 2.4.x, Scala, Anorm and WebJars

Reading Time: 2 minutes playing-reactjs This blog describes a basic example to render UI using React(A JavaScript library for building user interfaces) with Play 2.4.x, Scala, Anorm and WebJars. It also demonstrates the use of evolution in Play 2.4.x This is a classic CRUD application, backed by a JDBC database. It demonstrates: Handling asynchronous results, Handling time-outs Achieving, Futures to use more idiomatic error handling. Accessing a JDBC database, Continue Reading

Play Framework 2.0: Connectivity with MySQL in Scala

Reading Time: < 1 minute Welcome to another week of KnolX sessions .The emphasis in this session is on How to connect a Play Application with Mysql as database in Scala.Play includes a simple data access layer called Anorm that uses plain SQL to interact with the database and provides an API to parse and transform the resulting datasets. Entire code can be found here: https://github.com/knoldus/FormDemoInPlayWithMysql