Blogs (9) >>
Sun 30 October - Fri 4 November 2016 Amsterdam, Netherlands
Wed 2 Nov 2016 13:30 - 14:20 at Matterhorn 3 - Session 8 Chair(s): Ulrik Schultz

In this demo we will build a scalable social network application from the ground-up in 45 minutes. By scalable we mean that our social network needs to scale beyond the capabilities of a relational database, and perform well regardless of the data size. Traditional Web frameworks such as Ruby-on-Rails or Django that are built around relational databases and object-relational mappings do not provide such scalability out of the box. At the absence of framework support, developers often resort to writing imperative code for accessing a database (e.g., a NoSQL database) and for denormalizing the data (creating redundant data that is stored according to query patterns).

To achieve our goal of creating a scalable application in 45 minutes we turn to a declarative approach to Web applications. In our approach, the application’s logic is represented as a set of declarative rules, written in the Turing-complete language Cloudlog. These rules are stored in the database alongside user data. Rules can be applied at either query time or at update time. The latter kind provides a declarative way to express denormalization.

With logic expressed declaratively, an application is defined, not implemented. This allows robust applications to be built fast. We will demonstrate the creation of such an application using nothing but (open source) declarative languages: Cloudlog with Cedalion on the server side, and HTML with AngularJS directives on the client side.

Wed 2 Nov

13:30 - 15:10: SPLASH-I - Session 8 at Matterhorn 3
Chair(s): Ulrik Schultz
splash-2016-splash-i147808980000013:30 - 14:20
splash-2016-splash-i147809280000014:20 - 15:10
Media Attached