Feeds:
Posts
Comments

I just got a copy of Objective-C 2.0 Guide de Survie, a book written by Pejvan Beigui and published by Pearson. This 240 pages pocket sized book looks great for french speaking people coming to Objective-C (and I can tell you there are a lot of them since Apple released an SDK for that phone whose name I’ve forgotten). The book is also aimed at current Objective-C developers transitioning to Objective-C 2.0 as there is a whole chapter dedicated to that subject.

Objective-C 2.0 in French

With this book, Pejvan comes back to its Cocoa roots. A number of french developers will remember him, as he has been very active in the early years of Mac OS X both as a member of Apple Developer Relations and as a founder of the Cocoa enthusiasts community Project:Omega (incidentally, he was the french translator for the original O’Reilly F-Script articles series). In the book, he makes approaching Objective-C 2.0 easier for people coming from other languages by often comparing its syntax and functionalities to those of Java and C# (with a little bit of Python too). He also puts emphasis on code quality, with advices on dealing with errors, assertions and unit tests.

I am starting to look for a new job. If you are reading this you probably know that I love working on innovative Cocoa-based stuff. Another field of interest for me is enterprise architecture: REST, SOA, JEE, ESB, etc. I am based in Paris, France, and you can get at my resume here. Interested?

F-Script injection brings amazing capabilities: it lets you explore applications from the inside, interactively navigating and manipulating the internal Objective-C objects they are made of. And it is all done live, while the applications are running. For example, if you haven't seen it yet, here is how the Finder looks like from the inside and here is a fun video clip showing how you can reprogram an application on the fly.

Since the dawn of times, F-Script injection was provided by F-Script Anywhere. But as you may know, Snow Leopard broke it without mercy. Fortunately, an alternative F-Script injection mechanism has been made available. Still, it requires launching gdb and typing a command, which is boring.

Today, I'm glad to announce that all of this is now entirely automated, thanks to the injection service developed by Silvio H. Ferreira. It adds an automated F-Script injection procedure in the Services menu, meaning that injecting a whole F-Script environment in an application is now just two mouse clicks away: one to go to the Services menu, and one to select the "Inject F-Script into application" item. This brings back the zero configuration and ease of use spirit of good old F-Script Anywhere.

Picture: injecting F-Script into the Finder using the new injection service
The revenge of F-Script anywhere

Once injected (which can take a few seconds), F-Script will make itself available by adding an F-Script menu in the menu bar of the target application.

You can download the F-Script injection service here (for Mac OS X 10.6).

Enjoy!

Marketcircle, the maker of Daylite and Billings, is now an official sponsor of the F-Script project. Marketcircle is a big user of F-Script, which is integrated in Daylite and Billings and provides end-users with a lot of power and flexibility for advanced tasks such as creating sophisticated reports. Indeed, seeing how end-users directly make use of Smalltalk in the context of some of the most popular business applications on the Mac is quite nice.

By the way, if you are a Daylite or Billings user and are new to F-Script, there are a number of resources of should be aware of:

  • First, there is the must-read Daylite Reporting Fundamentals book by Eric O'Connell, which explores the report engine and introduces the usage of F-Script in that context. The book can also useful for Billings users, as it is based on the same report engine technology.
  • Second, there are the Marketcircle forums (including a scripting forum), where you can asks questions about F-Script in the context of Daylite or Billings.
  • You should also get your hand on the Daylite Developer Kit, which is full of relevant information and F-Script examples.
  • Of course, there is also the documentation available from the F-Script Web site, with a number of easy and fun tutorials to learn the language, and the F-Script Google group for questions and discussions.
  • Finally, you don't have to do everything by yourself. A vast network of Marketcircle partners is available, including a number of F-Script experts.

Restlet in Action

Lately, I've been helping Jerome Louvel and Thierry Boileau, the Restlet creators, in the writing of Restlet in Action. The first part of the book is now available in the early access program at Manning's. Restlet is a powerful Java framework for creating RESTful distributed systems. Not only does it target Web services, it also supports creating RESTful Web sites, addresses both the server sides and the client sides and has built-in support for the semantic Web. It can be used in a number of Java environments, including Java SE/EE, GWT, GAE (Google cloud computing platform) and even Android.

FSClass is a flexible and powerful block-based class creation and manipulation framework for F-Script 2.0. Jonathan Sterling is now implementing a similar framework for pure Objective-C:

I recently found an amazing bundle for F-Script called FSClass. FSClass allows you to mess with F-Script/Objective-C classes at runtime. […] Of course, this library can also be used from within Objective-C, but it isn't all that useful for most projects since the method blocks must be FSBlocks, coded in F-Script/Smalltalk. I wanted to write a similar system for pure Objective-C using normal blocks. And this is how I did it. Read more…

Nicholas Chen on making Objective-C land more habitable…