开发者

How to develope Web modules

I'm looking to buid a paid subscription service that I can send to website builders.

I want开发者_如何学运维 to target PHP developers using virtual servers. However I would like to compile the code into some sort of library so as not to allow the customers to view the code that I have given them.

I want to know what options I have to build these modules ? I don't think its possible to compile PHP and I was looking a PEAR ?

What would be the best choices ?


Check out PHP's bytecode compiler. I've been using it to deliver closed-source PHP applications to some of my clients. I don't know exactly how hard it would be to reverse it back to plain source code, but it should be relatively hard. Do note that any strings in your code are readable on the generated bytecode, so don't hold anything sensitive as a plain string.


I am not sure if I get your question but maybe using Ioncube (http://www.ioncube.com/) could be what you are looking for


I'm not sure of your question either. But you can't compile your PHP directly. You can obfuscate it. Or you can use the HipHop compiler to compile your code to highly optimized C++ code and then it's compiled.

more information about obfuscating: http://en.wikipedia.org/wiki/Obfuscated_code

more information about hipHop: http://en.wikipedia.org/wiki/HipHop_(software)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜