PHP is converted into a more strict templating tool and offers much more straightforward implementation of reusable components.
Syntax:
Anything in {}’s is interpreted as a full PHP expression.
This differs from {}’s in double-quoted strings; double-quoted strings can only contain variables.
Programmer can define arbitrary elements that can be instantiated in PHP.
Under the covers each element created is an instance of a class. To define new elements just define a new class.
XHP comes with a set of predefined elements which implement most of the HTML code.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |