Lua Module Library

Problem:
We have built up a very extensive set of libraries to drive DB, Network, Math, String Processing, Graphics, View Controller etc etc. As we write more modules and update existing ones version control is becoming harder as we have to copy these files into every project folder that uses them.

Solution:
Corona has a default lua module directory. If a lua script makes a require call it will search in the current directory for the lua module if it is not there Corona will search in the default directory. It would be also useful if lua modules could be placed in sub directories for organisation.

views:2111 update:2011/9/18 20:20:08
corona forums © 2003-2011