What do you think about ditching tags entirely and building web projects purely with classes? And having client-side and server-side code live together, like in a desktop app. And working with the same variables in both PHP and JavaScript.
"Why?" someone might ask. Here's why: so we can build domain objects for business processes instead of DOM elements. And stop wasting time on async, promises, ajax, etc. — let the framework handle that!
I'm talking about something like this:
incoming = new Document(base->incoming);
incoming->head(['date', 'buyer', 'comment']);
goodsincoming = incoming->subtable(base->goodsincoming);
goodsincoming->columns(['art', 'goods', 'quantity', 'price', 'total']);
button = new Button('Incoming Invoice');
button->click(incoming->open());
content = new Grid();
content->add(button);
content->build();
After one IT conference, I got seriously fired up about the idea of creating such a to
Discussion
Start the conversation
Your voice can be the first to spark an engaging conversation.