lift

Providing a “Sign-in with Google” functionality using Scala

Reading Time: 4 minutes Continuing our series on providing authentication via third party OAuth/Open ID providers, in this post we look at Google. We have already covered sign in with Facebook and Sign in with Twitter in the past. We walk through a step by step scenario to make it work for a Lift based application. Most of the steps would be the same for Play as well. 1) Continue Reading

Executing Lift Examples with SBT 0.11.3 and Eclipse

Reading Time: 2 minutes Recently we got our hands back on a Lift project after some time. A few of our clients had already moved from Lift to Play due to various reasons and one of them seemed to be dismal (read valid) documentation. There seem to be decent information like simply.liftweb.net and exploring.liftweb.net along with the book Lift in Action. But most of these resources seem to be Continue Reading

Liftweb JSON serialization and deserialization using Scala

Reading Time: 2 minutes We are working on a Scala project using Play framework. We had written the Serializers and Deserialzers for parsing the JSON data that contains different data types like ObjectId , Scala Enumeration etc. We are using net.liftweb.json for writing and parsing the JSON data. We were having the JSON looks like as : [{“id”:1,”school”:”Cambridge”,”year”:{“name”:”FirstYear”},”major”:”Science”,”degree”:{“name”:”Bachelor’s”},”Date”:”01/05/2011″}] The year field here is an scala enumeration and the Date Continue Reading

Create web application menus using the Lift web framework

Reading Time: < 1 minute Lift is a powerful & secure web framework having elegant features and also stresses the importance of security, maintainability, scalability and performance. Lift applications are written in Scala. Here we will discuss about creating the menus in Lift. These are the approaches to create a menu: Define the url names and routes directly in Boot.scala. Create the seperate Singleton for defining menu items. Let us see Continue Reading