What is the association between php and lua? What is the association between nginx and lua?

Source: Internet
Author: User
Php is also a bit time-consuming. reading some technical blogs often tells us about lua. under what circumstances will lua be used? Do you need to be skilled in using it? I want to know if phper needs to understand lua. it may take some time to engage in php. I read some technical blogs and often see people talking about lua. under what circumstances will lua be used? Do you need to be skilled in using it? I want to know if phper needs to understand lua.

Reply content:

Php is also a bit time-consuming. reading some technical blogs often tells us about lua. under what circumstances will lua be used? Do you need to be skilled in using it? I want to know if phper needs to understand lua.

In game development, lua is used as the scripting language to bind and write the logic,
For example

Cocos2d-x lua binding

Lua is small and concise, especially suitable for embedded systems (the openwrt web control interface is written in lua)

If you are interested, check it out.

To be honest, lua and php are irrelevant. lua is designed to be embedded in other languages for development. generally, it is used in many game development scenarios. some people have used lua for web development, but it is quite boring to develop the web, and you have to build your own wheels for anything. Php writes an application. you have to write your own code after you finish submitting the code. it is inevitable to be bald.

The lua association of php is relatively close, probably because the lua development function embedded on the Web server side

Lua is generally used for writing interfaces on the web. because lua has better performance, it can also be used with nginx to write anti-fake logic, which is very good.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.