How to use generic libraries from a Web framework?
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...
精彩评论