开发者

How to use generic libraries from a Web framework?

开发者 https://www.devze.com 2023-02-03 17:29 出处:网络
OK, I had a look at the memcached module for Nginx but this is clearly not for the faintheart. Does anyone know about a way to load a library in memory and then use its functions - from a Web server

OK, I had a look at the memcached module for Nginx but this is clearly not for the faintheart.

Does anyone know about a way to load a library in memory and then use its functions - from a Web server like Nginx, Lighhtpd or Apache?

Example of such libraries abound like JSON pars开发者_如何学JAVAers, Database client libraries, etc.


Hard to find anything about doing it but those guys have made it pretty easy:

http://dearetc.com/

It takes only one line of code to import a library and all its functions.

Hope it will help others...

0

精彩评论

暂无评论...
验证码 换一张
取 消