The Language of the New
Sloc stands for Declarative in motion Machine Language.The Sloc language empowers users to create point solutions to collect, process and distribute digital data to the exact location it is needed.
The brilliance of Sloc is in its simplicity. Sloc is a declarative language, which means that it allows developers to express what the program should accomplish, rather than describing how it should be accomplished. This not only makes programming in Sloc very intuitive, but it also reduces the amount of code with up to 85%.
Here’s why you should start using Sloc!
• Reducing code
Programming in Sloc can reduce the amount of code with up to 85%.
• Beat big data
One solution for big data in motion management, web resource management and connectivity.
• Transparent code
Sloc creates transparent code, making programs more reliable and better maintainable.
• Modular programs
Sloc uses small, modular programs, shortening your programming time.
• Intuitive language
Express what a program should accomplish, rather than describing how it should be accomplished.
• 10 minute implementation
Implement Sloc in a simple three-step process that only takes three minutes of your time.
What is Sloc
Sloc stands for Declarative in motion Machine Language. It is a very intuitive set of instructions that makes collecting data from digital sources as easy and accessible as possible. As a result, Sloc enables you to quickly, easily and flexibly gain insights in user interaction within a digital domain, with the power to reduce the amount of code with up to 85%.
Build your own apps
Using the Sloc language, you can build just about any application, such as a consent application, a custom web analytics interface or a monitoring tool. These applications can be constructed as a Sloc program or can make use of the Sloc API. Furthermore, it is possible to connect external web resources such as sentiment analysis or recommended services.
The Sloc Declarative Language
Concepts as building blocks
The Sloc language uses the idea of concepts as building blocks for storing logic. On your website for instance, each page identified by the URL, will be translated to a concept using a process called matching. But Sloc can be used in far more practices than on-site data alone. Concepts can ‘inherit’ behaviour defined in other concepts. Several Sloc files can be merged together using chaining and imports.
The following logic can be defined inside concepts:
• Match concepts
Define rules that determine how your webpages fit into the hierarchical concept structure.
• Collect data
• Define flows
Create a simple (or complicated) directed graph that describes the flow of data required by your analytics. Optionally process and enrich the data on the server-side.
Declare reusable blocks of logic using programming languages like Groovy, Scala or Java.
• Handling events
Elegantly describe client-side events (mouse clicks, keyboard events, etc.) to declare data collection, processing or interaction.
• Using plugins
Use extensions to the basic operation of the Sloc platform. This includes handling user consent, anomaly detection, validation of collected data, creating user sessions, tag manager features, etc.
Sloc is designed to make life easier. Therefore, the activation of the Sloc platform on your website is a three-step process that only takes ten minutes.
1.Update your web site
Just add a single line of code to every page on the website at which the Sloc platform should be activated. Usually this can be done by adding it to a template file of your CMS.
2.Create a Sloc file
This provides you with a helpful environment to develop the code. Create a file using your favorite text editor and paste the code you will receive from us.
3.Upload the Sloc file
And that’s it. You can start structuring your data collection!
More and more bright digital minds use the Sloc Language to create their own stunning Sloc programs. We try to present as many of them as we can here, so check in from time to time to see which new Sloc apps have been made worldwide!
Game analytics using sloc
Sloc is the ideal language for in game analytics. So when O2mc decided to throw a LAN-party for colleagues, they thought they might as well connect the platform to it. So here’s a movie that they made during their party, followed by a clip in which they analyse the HTML5-game Starris by JDart.
Single Line of Code
The use of this programming language enables you to run any data solution on any website by implementing only a Single Line of Code (SLoC). Whether it is a recommendation engine, a secured business intelligence environment or a bid management solution, this “Single Line of Code” is the only thing that needs to be added to the site:
<script>var a=document.getElementsByTagName('script'),b=document.createElement('script'); b.async=!0;b.src='//cdn.dimml.io/dimml.js';a.parentNode.insertBefore(b,a);</script>
Next, pick your data solution and enjoy the possibilities of simple, secure and sustainable data operations.