The last I heard, HipHop doesn't work
with Drupal because Drupal uses parts of PHP that HipHop doesn't
support. Really, HH is not a general solution for PHP performance
tuning. You have to write code with HH in mind for it to be
effective, which Facebook did when creating HH.
As far as "protecting" source code, the GPL license basically says
you can't do that; or rather, it's worthless to do so because
anyone you distribute the code to is legally entitled to the
un-obfuscated source code as well. That includes any custom
modules you write. Note that only triggers if you distribute the
code to someone else; putting code on a web server does not count
as distribution (AFAIK), so the host is not legally entitled to do
anything with your code other than host it.
That said, if your business model for your site relies on some
non-trivial set of modules remaining forever-secret, then your
business model is already buggered and you need to find a new
one. Really, the investment in working with the community rather
than building a lot of custom code that you have to maintain is
worth far more than your custom code. That will be especially
true then next time you decide to do a major version upgrade,
where you'll find yourself with a lot of custom code that only you
can possibly upgrade and no one willing to help you in the
slightest. That is a bad bad place to be.
--Larry Garfield
On 12/25/2012 05:38 PM, Austin Einter wrote:
Thanks a lot all.
I know Drupal is open source, I wanted to protect only
the custom modules developed. I learnt from this
discussion that -
1. Take a dedicated m/c, so root access is with me. That
gives some protection.
2. Will go for a trusted / reputed web hosting company.
On a side note, I read somewhere a separate branch is
maintained for Drupal code base (probably 7.4) that is
compatible with hihop use., Can somebody give more information
in this regard such as is it maintained and available for
latest Drupal 7 releases..
Thanks and Regards
Austin