Protect source code

8 views
Skip to first unread message

JCK

unread,
Nov 26, 2009, 3:58:26 AM11/26/09
to Cappuccino & Objective-J
Hi,
Cappuccino looks great. But I am wondering how do you protect your
source code (ObjectiveJ files)... I mean... normally with Cappuccino
apps you can browse the source code directly from the web by pointing
to the right url, AppController.j for instance.
I think that's a little risky... is there a standard way to protect
the code, other than the copyright disclaimer ? For production code I
think it's fundamental.

Thanks.

Maz

unread,
Nov 26, 2009, 10:27:32 AM11/26/09
to Cappuccino & Objective-J
After you write your code, and run it through press (which turns the
Objective-J code into javascript), you can run the javascript code
through an obfuscater. This will end up slowing down your code,
however it will make it harder for an amateur to look at you your
code. In the end, if someone wants to, they can find a way to look at
your code. This problem plagues not only Objective-J, but also
JavaScript, and Flash (with decompilers.)

Ross Boucher

unread,
Nov 26, 2009, 11:18:58 AM11/26/09
to objec...@googlegroups.com
And Java. And, at least to some extent, C.
> --
>
> You received this message because you are subscribed to the Google
> Groups "Cappuccino & Objective-J" group.
> To post to this group, send email to objec...@googlegroups.com.
> To unsubscribe from this group, send email to objectivej+...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/objectivej?hl=en
> .
>
>

PYL

unread,
Nov 26, 2009, 11:58:14 AM11/26/09
to Cappuccino & Objective-J
While this has created fortunes in the past and still now, I feel this
is an old fashion approach.

'Protecting the code' will not save you from extinction.

To me, this leads only to effort duplication and higher cost.

I think you have to focus on actual value through service, training,
etc. and ride
one the wave that left copy will create.

Just my 2 cents

Tyler Prete

unread,
Nov 26, 2009, 2:20:18 PM11/26/09
to objec...@googlegroups.com
To some degree I'm with you, but on the other hand, since the copier's source will also be visible, it will be relatively easy to detect someone doing so.  Also, the js code produced by cappuccino is probably not the most elegant source code for editing js by hand, so it'd be pretty difficult for them to really take it and extend it, so they'll always be stuck a step behind you.

JCK

unread,
Dec 7, 2009, 1:48:53 PM12/7/09
to Cappuccino & Objective-J
What do you mean with "run it through press"? Is there a documentation
to deploy the app created in production?

Thanks again.
Reply all
Reply to author
Forward
0 new messages