Paw + JavaScript Core Framework

Post on 07-Jan-2017

225 views 1 download

transcript

Paw and

JavaScript CoreHow a small productivity app became an

extensible testing tool

Micha Mazaheri

The idea behind Paw

Paw 2.0

[screenshot]

[screenshot]

Extensions• Developers are power users

• API Blueprint (Apiary) wanted an integration with us

• Keep a smaller core code base

• Updates are easier, no need to submit a new binary

Pourquoi une API JS?• CocoaScript (alike Sketch.app)?

• Sandbox the power given to users

• Deal with Apple’s sandboxing

• Everybody knows how to hack in JavaScript

• JavaScript Core (and it’s bindings) is awesome

JavaScript Core• Powers Safari

• API C and Objective-C APIs

• Let’s us run JavaScript

• Bindings Objective-C <=> JavaScript

evaluateScript:

JSExport

JavaScript Core +

Core Data

Thanks :-)

Micha Mazaheri

@mittsh

Paw http://paw.rest @luckymarmot