Message from JavaScript discussions
July 2017
— Each component/element is not really an element... it is just a simple object with some members and a render
method which cats them together!
This is an attr
:
public function render () {
return (" " . $this->name . "=\"" . $this->value . "\"");
}
— Heh
— Nice
— Comment node:
public function render () {
return "<!--" . htmlspecialchars($this->data) . "-->\n";
}
— Even doctype:
public function render () {
return "<!DOCTYPE " . strtoupper($this->docType) . ">\n";
}
— And no... uppercase is not needed, just a personal style choice haha
— Is that an IMS?
— Or CRM?
— Do you see those navigation buttons on the top of each fieldset, they are fully functional by just one line of code
{% block('collectionNavigation') %}
— It looks like a little of both
— CRM is one module of this software