Académique Documents
Professionnel Documents
Culture Documents
JQuery: Motivation
Typical ways to explore scattered concerns:
Browse structural views
package structures, inheritance hierarchy regular expressions calls, instantiates, references
JQuery: Motivation
Explosion of browsers
Browsers are too specific
Poor use of screen RealEstate Exploration itself is scattered and tangled
Package Explorer Search Call Hierarchy Inheritance Hierarchy
Package Browser
10
11
12
JQuery: An Example
Task:
Make a enhancement to the JHotDraw codebase. Nontrivial, but some details abstracted away. Based on an actual task we performed with little prior knowledge of the codebase.
13
???
Frame
Rectangle
No Frame
Text
14
???
Change Attribute Command
???
Frame
Rectangle
No Frame
Text
15
Draw Application
createColorMenu
calls
createAttrMenu
???
Frame
Rectangle
No Frame
Text
16
Draw Application
createColorMenu
calls
createAttrMenu
calls
Determined that Pen Color sets FrameColor Attribute sidetrack to explore FigureAttributes Frame
Rectangle
implemented by
setAttr
Attribute Figure
getAttr drawFr
dataflow
No Frame
Text
17
Draw Application
createColorMenu
calls
createAttrMenu
calls
Determined that Pen Color sets FrameColor Attribute sidetrack to explore FigureAttributes
setAttr
Attribute Figure
getAttr drawFr
dataflow
implemented by
Rectangle Figure
drawFr
Text Figure
drawFr
18
JQuery: Customization
JQuery can do more:
can create more powerful queries can include data from other tools has extendable menu items virtual source files (in next release) See our website!
20
21
Questions?
Download JQuery (new release out soon): Google:
Prevents tangled and scattered searches Reduces disorientation of complex exploration Maintains context
Andrew Eisenberg: ade@cs.ubc.ca
22