Giter Site home page Giter Site logo

osgi-forks / scalamodules Goto Github PK

View Code? Open in Web Editor NEW

This project forked from w11k/scalamodules

0.0 2.0 0.0 64 KB

ScalaModules is an elegant and intuitive domain specific language for OSGi development written in the Scala programming language.

Home Page: www.weiglewilczek.com

scalamodules's Introduction

ScalaModules

ScalaModules is an elegant and intuitive domain specific language for OSGi development written in the Scala programming language.

Why would you need such a DSL? Because the OSGi API is rather low-level so that programming simple tasks, e.g. consuming an OSGi service, can be quite cumbersome. ScalaModules offers high-level abstractions for the most important OSGi concepts so that you can focus on what is to be done instead of how it should be done. Let’s look at a simple example:

context findServices withInterface[Greeting] withFilter "style".present andApply {
  (greeting, properties) => "%s: %s".format(properties("style"), greeting.welcome)
} match {
  case Nil => println("No Greeting service available!")
  case welcomes => welcomes foreach println
}

For further information please visit our Wiki or take a look at the examples.

ScalaModules is open source software licensed under the Apache 2.0 License. Just use it!

scalamodules's People

Contributors

samhendley avatar

Watchers

Krzysztof Sobkowiak avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.