Application developers for embedded systems and intelligent devices can now benefit from Ruby and Lua – two easy-to-use languages – as the latest offering from ITTIA DB SQL.
There are very few ways to customize the behavior of an embedded application after it has been deployed to an intelligent device. Dynamic scripting languages make it easy to customize the application behavior because code is parsed and executed at runtime, and are often used with web servers. When combined with the dynamic SQL query capabilities of an embedded database, scripting languages 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.
Access Data in Ruby Scripts by Using Sequel
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, and transaction isolation, and master/slave replication.
Lua Eases Incorporating Dynamic Code into Small Footprint Optimized Applications
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.
A free copy of ITTIA DB SQL with support for Ruby Sequel and LuaSQL is available for evaluation at:
http://www.ittia.com/products/evaluation
About ITTIA
ITTIA provides software and services for data management, offering standards, ease of use, and flexibility to our customers. Benefits of selecting ITTIA's technologies include leading-edge software, comprehensive documentation, scalability, efficiency, exceptional performance, and low total cost of ownership. Learn how customers such as Freescale Semiconductor, Panasonic, Puget Sound Energy, Fresenius, Boeing, and others have valued from ITTIA by visiting: www.ittia.com