Tag Archives: functional programing

Exploring the Real Power of Functional Programming

We have been programming with object-oriented technology for quite a while. But now we are moving away from it. Functional Programming is getting lot of attention nowadays. Even every mainstream language is now supporting functional style i.e Java, C++, C# … Continue reading

Posted in Functional Programming, Java, Scala | Tagged , , , , | 5 Comments

Lenses and their use case : Scalaz.Lens, QuickLens, Sauron

Functional way of updating Complex nested objects Continue reading

Posted in Scala | Tagged , ,

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

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 … Continue reading

Posted in AJAX, Akka, Anorm, Bootstrap, Bootswatch, CSS, Future, JavaScript, jQuery, Play 2.4.X, Play Framework, React, Reactive, ReactJS, Scala, Tutorial, WebJars | Tagged , , , , , , , , , , , , , , , , , , , , | 3 Comments

Tutorial #3: Getting started with HTTP Programming in Play Framework

We have already discussed about the Play development environment in Tutorial #1 and use of WebJars, jQuery, Bootstrap & Bootswatch with Play in Tutorial #2 So, In this blog we would discuss about HTTP programming in Play Framework which would … Continue reading

Posted in Akka, Future, Play Framework, Reactive, Scala, Tutorial, Web | Tagged , , , , , , , , , | 3 Comments

Playing MultipartFormData: A basic example to handle and test MultipartFormData request in Play Framework 2.3.8

Playing MultipartFormData The following blog and attached code represent an example to upload file using MultipartFormData request and Testing it into Play Application. A basic example to handle and test MultipartFormData request in Play Framework 2.3.8 The standard way to upload … Continue reading

Posted in JUnit, Mockito, MultipartFormData, Play Framework, Reactive, Scala, Specification, specs2, Test, Tutorial, Web | Tagged , , , , , , , , , , , , , | 5 Comments

Knolx : Functions In Scala

In this presentation, we are going to discuss about Function Literal,  Higher Order Function, Partial Function, Partial Applied Function, Nested Function, Closures.  

Posted in Scala | Tagged | 2 Comments

FunHop: Working with Exceptions in Scala – Problem Statement

If you look at the earlier posts in the FunHop series, you would notice that Exceptions are side effects. Exceptions by their very nature also break referential transparency and are context dependent. You would have got an idea about referential … Continue reading

Posted in Best Practices | Tagged , | 2 Comments

ScalaKnol: Understanding Loan Pattern

Loan Pattern as the name suggests would loan a resource to your function. So if you break out the sentence. It would Create a resource which you can use Loan the resources to the function which would use it This … Continue reading

Posted in Scala | Tagged , , , | 5 Comments

SICP Chapter 1 Solved with Scala

Ok, let us get the facts right. We have not provided solution to each exercise but the solutions that we have provided would be good for you to understand the concepts. It would also help you realize how efficiently we … Continue reading

Posted in Scala | Tagged , , | Leave a comment