Grokking the Paradigm Reconstructing Webtop

clangpotatoSoftware and s/w Development

Oct 28, 2013 (3 years and 7 months ago)

82 views

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

Reconstructing Webtop

Dennis Dawson

Principal Technical Writer

EMC/Documentum

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

2

Ten Minutes’ Worth of Stuff



Webtop in a Nutshell


Reconstructing Webtop

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

3

Webtop Overview


Webtop is easy as pie to understand

classic.jsp

menubar

statusbar.jsp

messages

status

toolbar

titlebar

component

browsertree

component

objectlist

workarea.jsp

buttons

actionMultiselect

action links

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

4

Webtop in a Nutshell


Webtop is pretty much composed of two things:


Compiled Java Code


Server Java stuff


Application specific Java stuff


Text with tags in it


XML


TLD


JSP (servlets)

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

5

Webtop in a Nutshell

(another way to slice it)

Webtop is made of:


Controls


Actions


JSPs


Components


Containers (Components that display components)

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

6

Log In


index.html contains only the redirect function


Constructs a path to /component/main and adds it to the URL


Opens /wdk/redirect.jsp


redirect.jsp restarts a timer that is no longer used, then
turns control over to /component/main

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

7

main.js


The main.js script loads a bunch of useful methods


Most useful of all, it looks up the user’s default UI setting
(classic or streamline) and loads the appropriate view

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

8

Reconstructing Webtop

classicview.jsp


Contains a dmf:frameset


Displays the frames of the classic interface


<dmf:frameset rows=
'0,38,*,30'

onunload="onUnload()">


<dmf:frame name="timeoutcontrol"


src="/wdk/timeoutcontrol.jsp"

/>


<dmf:frame nlsid="MSG_TITLEBAR" name='titlebar'


src="/component/titlebar"
/>


<dmf:frame nlsid="MSG_CLASSICVIEW" name="view"


src='<%="/webtop/classic/classic.jsp" +


strEntrySectionArg%>'
/>


<dmf:frame nlsid="MSG_STATUS" name='status'


src="/webtop/status/status.jsp"
/>


</dmf:frameset>

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

9

classicview.jsp


The classicview.jsp is a container for components


it
has no controls of its own

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

10

Classic View


Classicview displays a defined component and two ad
hoc components (JSPs with controls)

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

11

Titlebar


The Titlebar component displays controls for Searching,
setting Preferences, accessing Help, and logging out.

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

12

Status JSP


status.jsp is not a component: it displays the
components messagebar and statusbar.

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

13

Message Component


The message component displays a label control used to
display messages from the server to the user

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

14

Statusbar Component


The statusbar component displays useful buttons,
including the tabs to switch between classic and
streamline view

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

15

Classic JSP


Classic JSP displays the toolbar and browsertree
components, and the workarea JSP

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

16

Toolbar Component


The toolbar component gives quick access to commonly
used commands

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

17

Browsertree Component


The Browsertree component displays a Windows
Explorer
-
type interface for moving through the directories

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

18

Workarea JSP


Workarea displays the menubar component and a
content component that displays navigation results

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

19

Menubar Component


The menubar provides the comprehensive set of
standard commands for Webtop

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

20

Content Frame


The content frame displays a component with the results
of a query or navigation

© 2006 EMC Corporation. All rights reserved.

Grokking the Paradigm

21

Multiplicitas Componatis Res Simplex


Meaning,
complexity is composed of simple things



Taken a piece at a time, Webtop is not that hard to figure
out



Once you
grok the paradigm
, enhancing and
customizing complex applications becomes a series of
simple steps

© 2006 EMC Corporation. All rights reserved.

Clarifications/comments?

Please send them to:


dawson_dennis@emc.com


WDK Questions? Please visit:

http://developer.emc.com/developer/