LiftWeb

Scala in Business | Knoldus Newsletter – April 2015

Reading Time: < 1 minute Hello Folks We are back again with April 2015, Newsletter. Here is this Scala in Business | Knoldus Newsletter – April 2015 In this newsletter, you will get the business related news for Scala. How organisation are adopting Scala for their business, how Scala related technologies increasing the performance of application and how Scala is getting popular in the industry So, if you haven’t subscribed to Continue Reading

Scala in Business | Knoldus Christmas Newsletter – December 2014

Reading Time: < 1 minute Hello Folks We are back again with December 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – December 2014 In this news letter, you will see that how fast organisations are adopting Typesafe Reactive Platform to get best solution, how functional programming is getting into mainstream and how functional programming is becoming popular choice among the developers. So, if you haven’t subscribed Continue Reading

Scala in Business | Knoldus Newsletter – November 2014

Reading Time: < 1 minute Hello Folks We are back again with November 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – November 2014 In this newsletter, you will get to know the popularity of Spark in big data. Spark is getting more attention in all over the world for fast data processing. People are getting much faster data processing speed with Spark. You will get to Continue Reading

Scala in Business | Knoldus Newsletter – October 2014

Reading Time: < 1 minute Hello Folks This time I got bit late due to the festival week in India. But i have some intresting stuffs for you only. We are back again with October 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – October 2014 In this newsletter you will get to know how organizations are getting benefits by using Typesafe Reactive Platform, how Akka is Continue Reading

Scala in Business | Knoldus Newsletter – September 2014

Reading Time: < 1 minute Hello Folks We are back again with September 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – September 2014 In this newsletter you will get to know how organizations are getting benefits by using Typesafe Reactive Platform, how Scala can be beneficial for you and what trends are going in industries. So, if you haven’t subscribed to the newsletter yet then make Continue Reading

QuickKnol: Lift Json, ShortTypeHints and Scala Traits

Reading Time: 2 minutes We use the awesome Lift Json library in quite a few our projects. It allows for easy customization and is handy for writing and parsing JSON strings. One of the situations which could possibly push you against the wall is when you have classes extending traits. Let us look at this quick example trait Reducer case class SentimentReducer(name:String, coefficientLevel:Double) extends Reducer case class EmotionReducer(name:String, coefficientLevel:Double) Continue Reading

Bridging the Communication between Lift Comet Actor and Akka Actor in Scala

Reading Time: 2 minutes In this blog, I would explain how to create bridge between Lift Comet Actor and Akka Actor. Since Lift has its own actor model, so a bridge is needed to fill communication gap between LiftComet and Akka Actor, so that Akka actor would be able send message to comet, once comet has been set. This bridging concept would be more useful for those web applications, Continue Reading

A Simple Remote Chat application using Lift Comet and Akka Actor in Scala

Reading Time: 2 minutes If you are running an application and there are lot of chances for a huge traffic to come in future, a single server would not be capable to handle this. In that case you would have two choices: A) Replace existing server with an advance server with better configuration B) Building a global node in the cluster to be used by other nodes. We know Continue Reading

Static code analysis via CPD from within SBT with Scala

Reading Time: 2 minutes CPD, SBT plug-in enables you to analyze your code with the help of the great PMD Copy/Paste Detector tool. It defines a cpd sbt action for that purpose. CPD used to detect duplicate code in the project. Code duplication is generally considered a mark of poor or lazy programming style. Good coding style is generally associated with code reuse. It may be slightly faster to Continue Reading

Quick Tip : How to make Jetty webserver listen on port 80 as a non-root user

Reading Time: < 1 minute We had a requirement to run an application on a different port which was running at port 8080 (Jetty) by default . One of our Lift application was running at port 8080 on Linux (Ubuntu 13.04 ) machine & we wanted to run it at port 80. Usually on Linux machines, port 80 is protected. Typically only the superuser root can open it and ports Continue Reading

Integrate SCCT (Scala Code Coverage Tool) with Lift Scala project

Reading Time: < 1 minute Its always a good practice to have a fine test coverage in any project. I am working on Lift framework. I have tried to integrate the SCCT with my lift scala project. Here, I am going to elaborate a few easy steps to integrate the SCCT in Lift Scala project. I am using scala 2.10.0 and sbt 0.12 version.

How to Refresh Pagination Links via AJAX in Liftweb using Scala

Reading Time: < 1 minute In our previous blog , we explained about using Pagination in Lift using Scala . But If you render a page via AJAX , pagination link would not be refreshed until we reload the page . In this blog , we will have a basic idea that how to refresh pagination via AJAX . Suppose you are displaying an item list on web and you Continue Reading