Comments (4)
hxtree won't require a template onRender because there is no replication of content throughout. This requires administration and the complexity improves as you include more flexibility in the production of templates. If content types are added, they must conform with administration of content.
Please check here:
https://refactoring.guru/design-patterns/chain-of-responsibility
Why don't you try code generation based on UI / Graphical Interface?
from livingmarkup.
Hi Awsin,
The question I don't know the answer to is whether an onRender call could consist of enough markup to justify it being broken up into another a View (*.phtml) type file for separation of concerns? For example, what would a bloated Module/Navbar onRender() look like? I'd rather keep it simple, of course, but it certainly something to consider.
I'm both familiar with the Refactoring Guru and the Chain of Responsibility design pattern. However, reading through it again, got me to think about applying a chain of responsibility to DOM elements, which could be pretty neat for forms.
e.g. button onSubmit could be picked up by a module with xpath \form using the design pattern. This inline with the way the DOM ancestor variable access currently works.
<form>
<button/>
<form>
I certainly see the benefits of a WYSIWYG implementation. But, first I think it's important to flesh out the core modules.
from livingmarkup.
Also, I see the page templates you're referring to being essentially just a boilerplate page that gets copied over during page creation that consist of LHTML5.
from livingmarkup.
Page templates should feature semantic elements:
https://www.w3schools.com/html/html5_semantic_elements.asp
from livingmarkup.
Related Issues (20)
- Arg type attribute
- Exist in editable range HOT 1
- HTML5 Support HOT 5
- HTML6 HOT 1
- No root element error HOT 1
- Stablize Configuration HOT 2
- Consider how data, controller, and display are separated HOT 1
- Content Types ? HOT 1
- Code Component HOT 2
- Component method cache HOT 1
- getArg() HOT 1
- file_exists error HOT 5
- ExamplesTest.php.WIP HOT 1
- Clear separation between data, controller and display HOT 1
- ImageAPI HOT 1
- added dom escape function HOT 2
- docker compose HOT 1
- Docker pwd HOT 1
- APIs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livingmarkup.