Lua and Ruby Languages Added To ITTIA DB SQL

Dynamic scripting languages help customize apps when code is executed at runtime

Washington state based software services company ITTIA has reached out to embedded developers by incorporating the Ruby and Lua languages into its DB SQL relational database management system. ITTIA aims to serve embedded developers and those programmers focused on what it defines as “intelligent devices”, many of which may be in emerging form factors.

The company hinges its developer proposition on the problems faced when trying to customize the behavior of an embedded application after it has been deployed to an intelligent device. ITTIA says that using dynamic scripting languages makes it easy to customize the application behavior because code is parsed and executed at runtime – often via a web server.

When combined with the dynamic SQL query capabilities of an embedded database, scripting languages (so says ITTIA) are the foundation of robust, flexible applications. ITTIA DB SQL, an embedded database library for software developers, now supports the Ruby and Lua scripting languages.

“Ruby is a dynamic, reflective, general-purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. ITTIA DB SQL now includes an adapter for Sequel, the database toolkit for Ruby. Sequel makes it easy to construct SQL queries and access data in Ruby scripts through concise, domain-specific language. Sequel also includes a comprehensive ORM layer that wraps any table dataset in a model class.
Now with ITTIA DB SQL, Ruby developers can create a local database file and then share that file with other applications with built-in client/server communications. Many advanced features of ITTIA DB SQL are available through Sequel, including prepared statements, bound variables, savepoints, two-phase commit, transaction isolation, and master/slave replication,” said the company, in a press statement.

Lua is a compact language library designed to add scripting capability to C and C++ applications. By simplifying the barrier between native and dynamic code, Lua makes it easy to incorporate dynamic code into a small-footprint optimized application. ITTIA DB SQL database connections can be accessed in Lua through the standard LuaSQL interface.