+ All Categories
Home > Documents > Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development...

Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development...

Date post: 07-Jun-2020
Category:
Upload: others
View: 6 times
Download: 0 times
Share this document with a friend
16
Rapid Application Development AppeX & Google Chrome Dev Tools By Jerry Kott @cincomsmalltalk (Twitter) #ESUG16
Transcript
Page 1: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

Rapid Application Development

AppeX&Google Chrome Dev ToolsBy Jerry Kott@cincomsmalltalk (Twitter)#ESUG16

Page 2: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

We love Smalltalk!Why?Many answers:

• Elegant• Simple• Productive• etc…

Excels at:

• Rapid Application Development

2

Page 3: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

Rapid Application DevelopmentTools, Methods, Interpretations vary

Smalltalk Favourite:

• Halt• Change code• Resume

Can it be done with Web Applications?3

Page 4: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

RAD on the WebBrowser capabilities varyGoogle Chrome Developer Tools are the most advancedMaps a network resource to a local file, e.g.:

• http://localhost/my-script.js• file:///Users/my-user-id/www/my-script.js

Edit & save my-script.js locally, http server will ‘see’ the changeNot quite like Smalltalk Debugger - yet?

4

Page 5: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

JSFileAllows AppeX to keep JavaScript code synchronized between a Smalltalk image and the local file systemCincom® VisualWorks® IDE and web browser Developer Tools can be used together in round-trip RADKey classes in AppeX-Tools parcel:

• JSFileMonitor• JSFileComposer• JSFileParserActor

5

Page 6: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

JSFileJSFileMonitor

• periodically checks .js file timestamps• newer versions are parsed into AppeX• location of files and frequency of updates are

configurableJSFileComposer• ensures source code is written from VisualWorks IDE

into the file systemJSFileParserActor• reads source from the file system back into the IDE

6

Page 7: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

Setup

7

Page 8: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

Start a Server instance

8

Page 9: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

Open your application

9

Page 10: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

Open Developer Tools

10

Page 11: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16 11

Page 12: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

Programmatic useActivationAppeX.Application scriptDirectory.AppeX.Application useJSFile.

DeactivationAppeX.Application useImageCode.

AppeX-Tools parcel

• JSFileComposer• JSFileMonitor

12

Page 13: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

ChallengesPlatform-specific line-end conventionsCurrently only Google Chrome has the capability Developer Tools are evolving - what works one day may not work next day after a Chrome updateStill not quite the ‘halt, edit, resume’ workflow Smalltalkers love.

13

Page 14: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.@cincomsmalltalk #esug16

In closing…RAD means different things for different peopleWe Smalltalkers are spoiledRAD for the Web is especially challenging - the code generally runs in a different environment than the IDE (if there is one)Still evolving, JavaScript is as malleable as SmalltalkExpect more tools in this field, and AppeX to continue to evolve to leverage those tools

14

Page 15: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.

Questions?

15@cincomsmalltalk #esug16

Page 16: Rapid Application Development AppeX Google Chrome Dev Tools App... · Rapid Application Development AppeX & Google Chrome Dev Tools ... Currently only Google Chrome has the capability

©2016 Cincom Systems Inc. All Rights Reserved.16

Thank You!

Suzanne Fortman Program Director / Engineering [email protected]@SuzCST (Twitter)Arden Thomas Product [email protected]@ArdenTCST (Twitter)Jerry [email protected] @cincomsmalltalk (Twitter)

@cincomsmalltalk #esug16


Recommended