On Monday, April 9, 2012 at 12:04 AM, Francis Chong wrote:
Compare with ActiveRecord/DataMapper, i really have no love on Core Data.If MacRuby could run all those ActiveRecord/DataMapper adapters, there are few reason to use a Core Data wrapper (much like ruby dev will not ever normally use mysql/postgres gem directly). Certainly if such wrapper follow ActiveModel it would be very useful, but if we can already use AR to use sqlite db, why bother another layer of wrapper?Colin Thomas-Arnold ©ó 2012¦~4¤ë9¤é ¤W¤È11:50 ¼g¹D¡Gtl;dr: I propose getting tutorials and code under one structured collection, andto create classes that wrap Core Data in the same way HotCocoa wraps NSViews.I agree with the sentiments about "setting ourselves apart". How do we do that?Please allow me to pontificate. I apologize for the length.I think we have already answered this question: Cocoa is huge and hard to learnwhen you are getting started. Let's fix that!Let's make it easy - NAY - FUN to get started. That's what made Rails so darnpopular, right? It's not because it was the fastest, or had a long history ofsupport, or zero bugs, or stability. It was FUN. And that's what *Ruby* isabout, too!I think we should also show off how "grown up" MacRuby already is. When I sawthat there was already a Core Data project template, I was sold. If that*hadn't* been there, I would have balked, for sure, and maybe even walked away.Also, Matt Aimoetti's MacRuby book, and the upcoming book, MacRuby in Action,indicate that the support is out there.I think that HotCocoa is a great example of "fun" and "distinctive developmentcycle". It aims to be a replacement for Interface Builder. I don't think weneed to stop there. We can replace *Xcode*. Hotcocoa already handlescompilation, using macrake to run or deploy or embed a project. If we could goso far as to wrap up Core Data into ruby classes, hoohoo boy would we be havingfun then! "HotCocoaData" anyone?For my part, I'd like to reach out to those of you that have collections ofrecipes and tutorials, and start creating a structured repository of theseresources (jballanc/Josh recommended using the github wiki as this tutorialrepository).I would *really* like it if our tutorials did the same things mostdo (pushing a button => prints "hello" - WOW!), but then always take that a fewsteps further. If it is easy to print "hello", why would you stop there? Dosomething useful, or at least something complicated, that provides food forthought.With help, I think we could create a project that allows us to create CoreData models using ruby code. At that point, *everything* could be done in ruby,but with full access to Cocoa, and then we'd be doing something really exciting.Not that MacRuby isn't already exciting - if it wasn't, we wouldn't be talkingabout this stuff!#colinta_______________________________________________MacRuby-devel mailing list_______________________________________________MacRuby-devel mailing list