4 ms·
Actually it's the opposite, Cappuccino applications are mostly client-side, running on JavaScript. Objective-J is an extension to JavaScript, which gets compile
by tlrobinson 18y ago
Actually it's the opposite, Cappuccino applications are mostly client-side, running on JavaScript. Objective-J is an extension to JavaScript, which gets compiled to JavaScript (either at runtime or ahead of time).
- utx00 18y agoyes. but how is that generated js being served?
- e1ven 18y agoHowever you want. Nginx or Apache. It doesn't need a special server. Any interaction to the site/db/etc still goes through ruby or php or whatnot.
- tlrobinson 18y agoAny HTTP server. The runtime compilation takes place in the browser (the compiler is written in JavaScript). The pre-compilation uses a command line version of the compiler running in Rhino)
- utx00 17y agothanks. i think i'm sticking to js then.
- utx00 18y agook. ok. i misunderstood. interesting. so why wouldn't i just write javascript? what is the value added? aside from the fact that i'm not coding in javascript (which i don't consider a negative)
- tlrobinson 18y agoJavaScript lacks several features useful in programming complex applications, namely classical inheritance, code importing, dynamic message dispatching. Objective-J adds these to JavaScript, but of course you still get all the features of JavaScript, since it's a superset of the language.
- utx00 18y agosurely all these things and more can be accomplished with straight javascript. look at jquery! and extjs, prototype, ... jquery has gone so far that it is starting to smell like a DSL. all in js. thanks for the feedback.
- utx00 18y agoyes. but how is that generated js being served?