Nutria
Implementation of PHP Standard Library in Lua Programming Language more…
Usage
- Migrate (painless) from PHP, see some tips
- Learn Lua by reading Nutria’s source code
- Get familiarity with web related libraries implemented for Lua
Current Versions
Seawolf 0.6 (alpha)
Nemo 1.0-alpha1
Remora 0.1 (alpha)
Dependencies
- Lua 5.1
- Lua MD5
- lrandom
- luuid
- lrexlib-pcre
- LuaFileSystem
- luaposix
- lua-imlib2
- LuaSocket
- LuaSQL
- CGILua (temporarily)
Implemented functions:
Nemo
Behaviour
set_time_limitSession
session_start, session_write_close, session_destroyOther
header, setcookie
Seawolf
Behaviour
ini_getCalendar
microtimeDatabase
mysql_connect, mysql_error, mysql_fetch_assoc, mysql_real_escape_string, mysql_affected_rows, mysql_insert_idFilesysystem
basename, dirname, is_dir, is_file, is_writableText
explode, htmlspecialchars, implode, ltrim, md5, preg_match, preg_replace, preg_replace_callback, rtrim, str_replace, strnatcasecmp, strpos, strrpos, strtr, substr, trimVariable
array_diff, array_fill, array_flip, array_key_exists, array_keys, array_merge, array_pop, array_reverse, array_search, array_shift, array_slice, array_unshift, call_user_func, call_user_func_array, empty, function_exists, is_array, is_numeric, is_null, key, print_r, serialize, unserialize, usort, is_numeric, array_push, array_merge_recursive, array_filter, asort, uasort, staticOther
clone, date, flush, gmdate, getimagesize, in_array, ob_print, ob_start, ob_get_contents, ob_end_flush, ob_flush, ob_end_clean, ob_get_clean, uniqid
seawolf
A library that Implements PHP functions in Lua scripting language. more…
Seawolf is a sub-project of Nutria.
-
Cloning this repository:
git clone git://gitorious.org/nutria/seawolf.git seawolf cd seawolf
Add this repository as a remote to an existing local repository:
git remote add seawolf git://gitorious.org/nutria/seawolf.git git fetch seawolf git checkout -b my-local-tracking-branch seawolf/master_or_other_branch
nemo
A tool to create CGI Lua scripts. It depends on Seawolf library and provides it to the CGI script environment. more…
Nemo is a sub-project of Nutria.
-
Cloning this repository:
git clone git://gitorious.org/nutria/nemo.git nemo cd nemo
Add this repository as a remote to an existing local repository:
git remote add nemo git://gitorious.org/nutria/nemo.git git fetch nemo git checkout -b my-local-tracking-branch nemo/master_or_other_branch
remora
An experimental tool to create Lua web scripts. PHP is used as host thanks to PHPLua. The idea was to harmonically balance the use of native PHP functions with Seawolf library, unfortunately the output from Lua is copied to PHP, using twice the memory and time, an improved implementation of PHPLua should share PHP memory with Lua memory, similar to iPhone Wax project. more…
Remora is a discontinued sub-project of Nutria.
-
Cloning this repository:
git clone git://gitorious.org/nutria/remora.git remora cd remora
Add this repository as a remote to an existing local repository:
git remote add remora git://gitorious.org/nutria/remora.git git fetch remora git checkout -b my-local-tracking-branch remora/master_or_other_branch
mod_lua
Backport of mod_lua for apache 2.2.x
-
Cloning this repository:
git clone git://gitorious.org/nutria/mod_lua.git mod_lua cd mod_lua
Add this repository as a remote to an existing local repository:
git remote add mod_lua git://gitorious.org/nutria/mod_lua.git git fetch mod_lua git checkout -b my-local-tracking-branch mod_lua/master_or_other_branch
Activities 
-
Tuesday September 13 2011
-
Push
04:01
Fernando Paredes García pushed 1 commit to nutria/seawolf:master. View diff
master changed from a1e0311 to 49cd217
-
Push
03:26
Fernando Paredes García pushed 1 commit to nutria/seawolf:master. View diff
master changed from 5e518a3 to a1e0311
-
-
Monday August 01 2011
-
Push
05:49
Fernando Paredes García pushed 1 commit to nutria/seawolf:master. View diff
master changed from e40e33e to 5e518a3
-
-
Friday July 29 2011
-
Push
04:32
Fernando Paredes García pushed 1 commit to nutria/seawolf:master. View diff
master changed from d90e333 to e40e33e
-
Project
03:56
Fernando Paredes García updated project Nutria
-
Repository
03:23
Fernando Paredes García updated repository nutria/remora
Changed the repository description
-
Repository
03:22
Fernando Paredes García updated repository nutria/remora
Changed the repository description
-
Repository
03:09
Fernando Paredes García updated repository nutria/nemo
Changed the repository description
-
Repository
03:09
Fernando Paredes García updated repository nutria/remora
Changed the repository description
-
Repository
03:08
Fernando Paredes García updated repository nutria/nemo
Changed the repository description
-
Repository
03:05
Fernando Paredes García updated repository nutria/seawolf
Changed the repository description
-
Repository
03:02
Fernando Paredes García updated repository nutria/nemo
Changed the repository description
-
Repository
03:00
Fernando Paredes García updated repository nutria/nemo
Changed the repository description
-
Push
02:55
Fernando Paredes García pushed 2 commits to nutria/seawolf:master. View diff
master changed from 82a5f67 to d90e333
-
Push
02:35
Fernando Paredes García pushed 1 commit to nutria/seawolf:master. View diff
master changed from 46da32a to 82a5f67
-
Push
01:34
Fernando Paredes García pushed 1 commit to nutria/seawolf:master. View diff
master changed from c199a64 to 46da32a
-
-
Thursday July 28 2011
-
Push
22:54
Fernando Paredes García pushed 4 commits to nutria/seawolf:master. View diff
master changed from d74f982 to c199a64
-
-
Tuesday January 04 2011
-
Push
04:24
Fernando Paredes García pushed d74f9820 to nutria/seawolf:master
Fernando Paredes García on January 04, 2011 04:24 -
Push
04:23
Fernando Paredes García pushed 7bbb9de4 to nutria/seawolf:master
Fernando Paredes García on January 04, 2011 04:23
-
-
Wednesday December 29 2010
-
Push
06:42
Fernando Paredes García pushed 5cd08405 to nutria/seawolf:master
Fernando Paredes García on December 29, 2010 06:42 -
Push
06:41
Fernando Paredes García pushed 106d65a9 to nutria/seawolf:master
Fernando Paredes García on December 29, 2010 06:41
-
-
Monday November 29 2010
-
Project
04:28
Fernando Paredes García updated project Nutria
-
Commit
04:26
Fernando Paredes García started development of nutria/mod_lua
-
Commit
04:26
-
-
Tuesday November 23 2010
-
Repository
04:46
Fernando Paredes García created repository mod_lua in Nutria
Backport of mod_lua for apache 2.2.x
-
-
Thursday September 30 2010
-
Push
09:01
Fernando Paredes García pushed 1c0a1be6 to nutria/seawolf:master
Fernando Paredes García on September 30, 2010 09:00 -
Wiki
08:58
Fernando Paredes García edited wiki page nutria/Examples
-
Push
08:55
Fernando Paredes García pushed 2 commits to nutria/remora:master
master changed from c07893a to 28a6057

-
-
Monday August 16 2010
-
Push
04:49
Fernando Paredes García pushed a88106ee to nutria/seawolf:master
Fernando Paredes García on August 16, 2010 04:49 -
Push
04:49
Fernando Paredes García pushed 9db47c4f to nutria/seawolf:master
Fernando Paredes García on August 16, 2010 04:48
-

