The Blog!

Most Developers who are new to the stormy currents of iPhone development in Objective-C would stay at the shores for quite some time before they get their boats wet and start sailing.

But with Jiggy at hand, development for the iPhone can be like a walk in the park for most developers who are familiar with Javascript. It's really nice to use such a flexible and powerful language to script your applications.

Since Jiggy runtime wraps native Objective-C API for you, you won't even need a compiler or the tool chain to start developing. All you'll need is a browser on your machine and a iPhone with jiggy runtime and jiggy (ide) installed and you can start writing your native applications in javascript. (You can get Jiggy from here)

Since "this" in the body of a function is the reference to the object used to call the function, e.g.

obj.setProp = function(p) { this.prop = p }
obj
.setProp(5)
obj
.prop
=> 5

and since JavaScript constructor function is the same as any other JavaScript function -and the only difference that happens is through the use of the new operator-, we can use "this" to inject functionality provided by multiple constructor functions (sort of multiple inheritance) into our own objects. This can happen as long as these constructor functions are not only natively implemented (e.g. Array, String, Function, .... etc), and as long as the injected functionalites are not dependent on their prototypes.

One of the most powerful features of Rails is plugins; plugins enable developers to make generic extensions to Rails applications that others can benifit from. One can use two different approaches to add new logic/aspects to a Rails application through a plugin: metaprogramming and generators. This entry is not a tutorial about writing Rails plugins; assuming that you know the basics of metaprogramming in Ruby, and using a very basic example, we'll try to conduct a simple comparison between the two approaches that can be generalized.

The News

eSpace at RubyConf2008 (Update)

10Nov

eSpace's Yasser Wahba was a speaker at the 8th annual RubyConf that took place from the 6th to the 8th of November in Orlando, Florida.

NeverBlock breaks ground!

21Aug

We are proud to announce that we released NeverBlock. NeverBlock is one of our contributions to solve concurrency issues in Ruby and Rails.

eSpace sponsoring Wikimania 2008.

16Jul

eSpace was one of the sponsors of Wikimania 2008.