+ All Categories
Home > Software > Paw + JavaScript Core Framework

Paw + JavaScript Core Framework

Date post: 07-Jan-2017
Category:
Upload: micha-mazaheri
View: 225 times
Download: 1 times
Share this document with a friend
22
Paw and JavaScript Core How a small productivity app became an extensible testing tool Micha Mazaheri
Transcript
Page 1: Paw + JavaScript Core Framework

Paw and

JavaScript CoreHow a small productivity app became an

extensible testing tool

Micha Mazaheri

Page 2: Paw + JavaScript Core Framework

The idea behind Paw

Page 3: Paw + JavaScript Core Framework
Page 4: Paw + JavaScript Core Framework

Paw 2.0

[screenshot]

Page 5: Paw + JavaScript Core Framework

[screenshot]

Page 6: Paw + JavaScript Core Framework
Page 7: Paw + JavaScript Core Framework
Page 8: Paw + JavaScript Core Framework
Page 9: Paw + JavaScript Core Framework

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

Page 10: Paw + JavaScript Core Framework

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

Page 11: Paw + JavaScript Core Framework

JavaScript Core• Powers Safari

• API C and Objective-C APIs

• Let’s us run JavaScript

• Bindings Objective-C <=> JavaScript

Page 12: Paw + JavaScript Core Framework

evaluateScript:

Page 13: Paw + JavaScript Core Framework
Page 14: Paw + JavaScript Core Framework

JSExport

Page 15: Paw + JavaScript Core Framework
Page 16: Paw + JavaScript Core Framework
Page 17: Paw + JavaScript Core Framework

JavaScript Core +

Core Data

Page 18: Paw + JavaScript Core Framework
Page 19: Paw + JavaScript Core Framework
Page 20: Paw + JavaScript Core Framework
Page 21: Paw + JavaScript Core Framework
Page 22: Paw + JavaScript Core Framework

Thanks :-)

Micha Mazaheri

@mittsh

Paw http://paw.rest @luckymarmot


Recommended