SDK Hackery

8
SDK Hackery by Brian Deitte

description

 

Transcript of SDK Hackery

Page 1: SDK Hackery

SDK Hackery

by Brian Deitte

Page 2: SDK Hackery

Introduction

• Framework hackery

• Compiler hackery

• Hackery info

Page 3: SDK Hackery

Where’s the source?

• You have most of it already in Flex Builder

• {flex.builder}\sdks\{version}\frameworks\projects\frameworks

• {flex.builder}\sdks\{version}\asdoc

• And more

Page 4: SDK Hackery

Monkey patching for profit

• 1. Put the framework source you want to change in a source path

• 2. ????

• 3. Profit!

Page 5: SDK Hackery

Why submit an SDK change?

• You don't want to merge changes again in a later version

• You want to use the signed framework RSLs

• You’re just a good citizen who loves to get rid of Flex bugs: http://www.bugquash.com/

• You want the fame and fortune

Page 6: SDK Hackery

The real SDK

• Real programmers use the real SDK: http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code

• (Kidding)

• Need Subversion client, Java, Ant

• Two hours to set up, two decades to learn the code

Page 7: SDK Hackery

Examples of hackery

• https://bugs.adobe.com/jira/secure/IssueNavigator.jspa?reset=true&&pid=10012&status=10007&status=10008&sorter/field=issuekey&sorter/order=DESC

• http://code.google.com/p/flexcover/

• http://www.deitte.com/archives/2008/10/a_faster_flex_3.htm

Page 8: SDK Hackery

More information

• Flex SDK mailing lists: http://www.adobeforums.com/webx/.3c060f85/

• Dev documentation: http://opensource.adobe.com/wiki/display/flexsdk/Developer+Documentation