-
Website
http://cappuccino.org/discuss -
Original page
http://cappuccino.org/discuss/2008/09/04/announcing-cappuccino/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
joeyguerra
2 comments · 1 points
-
boucher
35 comments · 7 points
-
milestinsley
2 comments · 2 points
-
Jules
1 comment · 1 points
-
pabloponsbordes
2 comments · 1 points
-
-
Popular Threads
http://hotruby.yukoba.jp/
- Adam
Thank you for all your hard work. I'm excited to dive head-first into this stuff.
We have the option of doing the preprocessing ahead of time one the server, which is typically done for frameworks and deployed applications.
We aren't compiling all the way down to some form of bytecode, but rather preprocessing at a higher level to turn Objective-J constructs into standard JavaScript constructs. For example, the message send operator [object message] gets turned into a JavaScript function call to objj_msgSend()
As far as the language goes, right now we're mostly sticking with the features Objective-C has. Objective-J is already fairly close to Objective-C 1.0, and has some of the features of 2.0 (like, uh, garbage collection, which we get for free from JavaScript, of course)
We'd love to hear what other people would like to see, and of course we'd love to get improvements from you guys too.
That's the basic idea (technically Cocoa, GNUstep, Cocotron and Cappuccino are implementations of OpenSTEP). Granted some things translate to the web better than others, so you have to keep that in mind.
Now, here's the thing... does this implement NIB files, and if so, can we build them in XCode? If not, is there going to be some kind of tool like Interface Builder to "draw" the applications so that we can focus on the logic?
Even better--are there any plans to implement something like CoreData so that we can REALLY just focus on the logic?
That's a fine how-do-you-do, I know, after delivering this wonderful product. I'm just thinking how easy it is to start writing useful programs using XCode... and how amazing it could be if the web could do that.
Why are you translating to _objj_msgSend() instead of directly to javascript? Wouldn't the js engines have a hard time optimizing the code for what it is? I understand why you would use msgSend in C, but js already has this.
the LGPL gives you the same concrete right than MIT to use the final product (cappucino) with your proprietary products.
You just can't appropriate yourself cappucino, modifying it and release it again AS a proprietary product. (you can't do "cappucino++ the proprietary version so much better")
but you can use it besides your commercial proprietary web applications with no problems. As you can use a LGPL cocoa frameworks inside a proprietary software without breaking the LGPL (or your own eula, because the LGPL authorize you to do that).
and lgpl is lawyer knowledge
webkit is lgpl, did it stopped nokia ? no. everything is fine, no need to worry. the licence is used and known as much than MIT or BSD.
Great job!!!
thanks in advance, 280 Slides is brilliant and it's exciting to learn the framework you used to develop it.
First of all, it did include classical inheritance (but media support and webcam access are "browser glue" issues outside the scope of the language spec). And most developers I talked to decried the introduction of classes, fearing that JavaScript was mutating into Java. Some voices — most notably Doug Crockford of Yahoo! and Dustin Diaz of Google — wanted an ES3.1 with incremental improvements (such as the "let" keyword you dislike) and bug fixes.
I will agree that ES4 was guilty of biting off more than it could chew, but I think it was going in the right direction to begin with. I'll further agree that we could use richer APIs from the browser environment, but that's to be addressed by HTML5 and the WebIDL initiative. HTML5 itself is a petri dish for the "add, then standardize" model of XMLHttpRequest and the CANVAS tag.
This only proves, though, that developers have varied gripes about their tools and will come up with varied solutions. Glad to see Cappuccino is officially out; I'll be sure to take a closer look this weekend.
This is something that everyone developing JavaScript for the web faces. There's really no panacea, but most people have resorted to minification and obfuscation to offer a little defense. While I'm not sure its strictly necessary, I would love to see some of these existing tools adapted to work with Objective-J.
That doesn't make any sense. Chrome needs JavaScript source to run just as any other browser does. It can't run compiled JavaScript.
Now, if Obj-J could be translated to ActionScript, then you'd have some sort of bytecode running in Flash.
nice things!
I'm just playing arround. And now I wanna make some "server calls". I tried this:
var aRequest = [CPURLRequest requestWithURL:"http://foo.bar.com/?ajax=givemesomejson"];
var connection = [CPURLConnection connectionWithRequest: aRequest delegate: self];
[connection start];
I implemented the delegates and the didFailWithError one is triggered.
Now I see that i have to pass a CPURL object to [CPURLRequest requestWithURL:].
But I can't find any documentation about to make a propper CPURL-object, nor I find something in the source (as far as iI understand it ;-)
Of course, XMLHTTPRequests must follow the same origin policy -- are you making a request to your same domain? Have you examined what the error passed to didFailWithError: is? May help debug the problem. Try hitting us up in our irc channel irc.freenode.net#cappuccino
e.g. reading and editing a SQL table
-> generate the XML file on the server and write a PHP handler for the updates, what about the list in cappuccino
probably it's just me but I think that giving such an example would be helpful for quite a few people...
one comment about your dictionary implementation:
http://openspecies.blogspot.com/2008/08/collect...
use Json to serialize and unserialize your plist
One question, how is the source code protected? I mean, all the source code is downloaded to the clients machine ... For example, I could write a spider and download all the files that comprise your Slides application! Not that I will do that :-) But this is a problem I think ...
Congrats for this brilliant release. I really liked your mission statement and wish you good luck for future improvements. I am very excited about Cappuccino and know, if picked up; it will change the way web applications are programmed.