Ruby Sinatra and PHP Slim, Domain-specific languages gain traction in the programmer community
Lennart 120000HHVT Visits (2181)
Powered by Web 2.0, cloud, mobile and open source technology, programmer productivity continues to rise.
Instead of writing code from scratch, programmers have long been using object oriented programming techniques which put a premium on code re-use. Another productivity boost has come from frameworks like Ruby on Rails , the agile programming movement and Eric Ries and his Lean Startup movement.
Yet more productivity has come from Domain-specific languages, like Sinatra, implemented in Ruby, as well as similar DSLs in PHP like the SLIM microframework.
Martin Fowler has written an important book about DLS:s Domain-Specific Languages:
People find DSLs valuable because a well-designed DSL can be much easier to program with than a traditional library. This improves programmer productivity, which is always valuable. In particular it may also improve communication with domain experts, which is an important tool for tackling one of the hardest problems in software development. CSS is an excellent example of this, most people who program CSS don't consider themselves to be programming. Despite this, however, I don't generally think that end-users will usually write in DSLs directly - it's the communication enhancement that's important.
DSL:s will undoubtedly evolve very rapidly in the next few years, and Sinatra and Slim are good starting points for anyone who wants to learn more about this very exciting area..