Ex04 — Front File designing

Skill 04-front-file-designing. No html/body (Master supplies layout). No PHP tags.

1. Expression tags

Gate property: Banner from Gate property

URL helper: getGateUrl

Front path: /spanel/public_html/apps/examples/fronts/ex04front_main.front

2. Component (runat="server")

Must have id. Gate can call methods on the FrontFile component.

setInnerHTML from Gate page_new

3. Holder (runas="holder")

Does not create a Component object. From another Component property (common in grids):

text from spnSrc
text from spnSrc

Bare holder (no sphp-comp) triggers Gate onholder:

filled by Gate onholder()

4. JS into ready (runas="jsfunctioncode")

Open browser console — should log from ready().