Abstract graphics #31815
Replies: 5 comments 11 replies
-
Also, in theory, I thought about how to connect javascript with php classes |
Beta Was this translation helpful? Give feedback.
-
Hi, this is great idea. I found, when overwriting J3 extensions to j4 that such kind of system is needed. One small example out of many: it will be great to just have some method to render tabs and let the layout class decide if this will be Bootstrap 2 tabs for J3 or Bootstrap 4 tabs for J4. Of course, having the same output for all extensions is something what CMS definitely needs. Jan |
Beta Was this translation helpful? Give feedback.
-
@dmitriitux beside the fact that qt is a desktop library and joomla is a web cms using a browser to render webpages the idea doesn't sound bad. But there have to be a balance between writing layouts in code like 1995 and using a completely flexible and everything can be done in anyway markup language. Since you plan to write it anyway it would be great to see you concept/big picture. |
Beta Was this translation helpful? Give feedback.
-
This is a very interesting topic, it looks simple, but it's very complicated. It reminds me of the endless debate Bootstrap vs Tailwind. On the one hand, something bothers us about the Bootstrap, on the other hand, we know that the Tailwind approach is also not usable everywhere and can bring a lot of problems in the future. It is also difficult to say whether such solutions could run side by side or whether it would be possible to combine these solutions, etc., etc. Objectives should be defined, on the basis of which the decision would then be easier. Let's say, our goal is to have an uniform look everywhere, then the solution is different to situation where we say, we want to have the output as easy as possible, so designers have easier way to customize it. And it's not easy at all, i think it would be different for frontend and backend. |
Beta Was this translation helpful? Give feedback.
-
If it will succeed, it will be a killer feature. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
Now there is a problem with the fact that joomla extensions look very different and it would be good to eliminate this by creating a standard for graphics output at the program level.
How do you like the idea to create abstract graphics, when we write not html + data in templates, but transfer data to abstract classes.
The most obvious example is Qt: https://doc.qt.io/qt-5/qtwidgets-module.html
How it might look approximate on the web:
That is, we are creating a software builder. You need to create an initial collection of basic classes such as buttons, forms, tables, etc.
What does it give in general? This gives us the fact that our extension templates no longer depend on css/js frameworks - they will be moved to providers, which can be easily changed. It is possible to maintain support for several css/js frameworks.
I have ideas on how to implement this, I am ready to implement it.
Beta Was this translation helpful? Give feedback.
All reactions