[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Advice Mixing PHP and Lua?
- From: Bertrand Mansion <lua@...>
- Date: Tue, 27 Oct 2009 20:04:15 +0100
On Tue, Oct 27, 2009 at 5:36 PM, Patrick
> Hi Everyone
> I am new to Lua and still reading Roberto's book. I am absolutely loving
> everything that I have learned so far. It's amazing how many things are
> the way I was hoping they would be in the other languages that I learned
> but were not.
> I am going to use Lua with C++ and it looks like a perfect match already
> but I also want to do some web based stuff. PHP just has such a large
> set of libraries of which one I have already become Dependant on. Lua
> seems like a better language but PHP has such a head start with the web.
> What would be the best way to mesh PHP code and Lua? I know there is a
> PECL extension for embedding the Lua interpretor, has anyone else used
> this?Is there a better way?
> Thanks in advance-Patrick
If you want to go PHP+Lua, the best is to use the PECL extension. You
can try my branch here, I have fixed a few little things:
I use this in my trylua experiment and it's working great.
The PECL extension needs more love, if you want to work on it, you are
welcome, just let me know.