News
A cappuccino please
Amazing which ideas some people have, there has been released a JavaScript browser application engine named Cappuccino, copying the Cocoa framework from Apple.
The frameworks language is Objective-J, the JavaScript equivalent to Objective-C and is built up on the GNUStep/Cocoa framework. It is designed to build applications and not webpages and the nice thing is, it’s open source and can be downloaded for free!
Objective-J is very similar to both JavaScript and Objective-C. Any valid JavaScript is also valid Objective-J but the language adds dynamic message passing, traditional inheritance and other features we know from Objective-C. Even the code looks very familiar!
Classes:
@implementation Person : CPObject
{
CPString name;
}
@end
Methods:
- (void)setName:(CPString)aName
{
name = aName;
}
- (CPString)name
{
return name;
}
Using objects and classes:
var myPerson = [[Person alloc] init]; [myPerson setName: "John"];
I like this new framework, cause it opens the world of Cocoa with it’s Objective-C to a wider world the just Apple and perhaps it will get more popular.
Evoting in Winterthur
There were free political villages, which tried the pilot project for evoting in Switzerland. Seems to work very good than in fall 2008 more villages are connected to the evoting system. Winterthur also belongs to these new citys.