Goal This session will discuss that you can still do all the stuff that weve spent the last two years shielding you from – but that its really complex Keara [soon to be teenage, daughter]: Well, duh!
Do I (really) need to do this? No! This is a capability of the Framework that is very valuable to understand exists It is not a requirement for Web application development
Tasks Renders the user interface Handles user interface events Communicates with the server Maintains the application state 7
df.WebBaseUIObject Basic rendering functionality Calls methods needed for rendering Defines main rendering API Harm Wibier Extending Web Framework Applications 11 pbRenderDetermines if control should render. psCSSClassCSS classname applied to the HTML. render()Renders the control. openHtml(aHtml)Generates the opening HTML. closeHtml(aHtml)Generates the closing HTML. afterRender()Performs further initialization. focus()Gives the control the focus.
df.WebBaseControl Basic control Control API (used by the containers) Positioning within column layout Harm Wibier Extending Web Framework Applications 12 piColumnIndexColumn index in the column layout. piColumnSpanWidth of the control in number of columns. psLabelLabel shown before / above / after control. peLabelPositionPosition of the label. setHeight(iHeight)Called when the height needs to be set.
Media Control Relatively simple - very specific task / use cDJCase.pkg – in AppSrc cWebBaseControl Construct_Object Define web properties (including local data) Configure class / superclass (ms.DJCase) Define methods AddItem ShowItems ClientAction fill OnSelect DJCase.css – in AppHTML\Custom Sizes, colors, allignment, etc.
Media Control DJCase.js – in AppHTML\Custom df.WebBaseControl Constructor Define synchronization Define methods Openhtml Closehtml Afterrender Client-action fill Renderlps Onclick Selectitem
Slider (2) WebSlider.css Sizes, colors, alignment, etc. More complex because its part of the Web Framework and needs to be Theme sensitive WebSlider.js – in Lib and included in df- include.js Lots of stuff Im not even going to pretend I understand
Weve all been here before… Just another highly-technical capability of the product that few will master but many will use… Look to the usual suspects… Examples, documentation, training, Forum discussions, open source projects, gurus-for- hire, etc.
In fact… By design, we went into depth on many of the topics covered during the Symposium Its important to understand that while you can use the product at these technical levels you do not have to Chances are, if it was a section where you thought wow, thats really confusing – you wont need to do that