Smalltalk expert having questions related to Vue components #13425
Replies: 3 comments 1 reply
-
Vue is a lower-level framework, used to write and combine components. It only provides a very small number of components itself (e.g Transition, KeepAlive). I'm not sure where you read the number of 140 UI components. Vue itself doesn't provide that. There are several component libraries available, written on top of Vue, that should give you what you're looking for. You can find more information about them at: |
Beta Was this translation helpful? Give feedback.
-
Dear readers, @skirtles-code @ToAllReaders
Code without this vital information is basically useless, in any case amateurish and therefore worthless. Such docs were quite well done in my earlier encounter with EXT JS several years ago. I cannot understand how people waste their time by trying to use undocumented code. This gravely violates the first commandment of software development: "Thou shall document thy code clearly BEFORE writing it!" The unavoidable punishment for ignoring this rule is "life in hell of code chaos"! Just as a side remark to those geniuses who believe to know better (the old and wise German language has the saying "glauben heißt nicht wissen" - to believe is not to know): Over my more than four decades in software development I had around 150 programmers working under my leadership. All my projects came to life. Most of them were ignoring this first commandment when they started to work with me but after educating them for some while the great majority understood that this is indisputable and they changed their behaviour. I got rid of the small rest very quickly. Nevertheless, this was my first encounter with open source libraries, it was an interesting experience but I shall not waste my time trying to use such projects. Shortsighted savings in quality or documentation almost always pay back far more dearly in mid-range terms. (I wrote the above for those few who are clever enough to learn from more experienced colleagues! The others need it "the hard way". Good luck!) |
Beta Was this translation helpful? Give feedback.
-
Thank you very much indeed for your reply. I will give it another try, although this statement:
confuses my insofar as I cannot imagine why and how this is the case and I currently would only see great and many disadvantages. But one never stops learning and perhaps this will be such a case for me. Still I ask myself what are the reasons for such a strange decision? And: Shouldn't that rather turn me off even more? I will later come back later with what I found out. Some more important side-remarks on what influences me strongly and that will also show that my decision will be influenced by several more factors:
From my current state of knowledge, I would prefer to translate / convert my currently used GUI classes from Smalltalk to JavaScript in order to construct my own UI framework, which would then be as tightly coupled with all existing descriptors, models etc as today's Smalltalk UI. I tend to doubt that this will be much more work than getting into a totally different third-party and "class less" framework.
This includes already today various tools all under MIT license to serialize and to materialize complex data structures (i.e. real objects build from different classes), which are anyway already described completely by my oldest type of descriptors (since 1987). One of these structures can be sent into the browser "as is" to be materialized by the browser so that all the otherwise needed detours can be completely avoided.
AFAIK know this would require our own browser, which would have a lot of other advantages and which should be feasible as there are a couple of small teams making their own browser variants. At least for the DotNet world there exists such a solution which tells me that it is feasible. But, I must admit, that a lot of details will have to be found out and clarified first. I would very much appreciate comments on these additional concerns, too. Thank you and best regards. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I am not (yet) a user of Vue but I'm having a couple of questions, which came up when studying the Vue documentation.
A few words on my background and methodology:
Extremely experienced OOD software architect and lead developer since 1987 (yes, true), first nightmarish in Objective-C, for the last 30 years only in Smalltalk.
I am looking for a UI library, which I can use as low-level tool below my Smalltalk framework having over 10.000 application classes and around 200.000 methods to create complex, appealing and dynamic UIs in the browser.
What I'm missing in the Vue documentation is a detailed listing of all the claimed 140 UI components and their attributes (instance vars). There are just a few examples but no complete list of all and no listing of the UI attributes or examples how they can be initialized.
All UI systems, which I had used or played with in the past (2 x in Smalltalk, Gtk, Sencha EXT JS, which I used for a running prototype) had standardized UI components, widgets, buttons, selection lists, containers and so forth, which were used to assemble a comprehensive UI.
Where are ALL Vue components listed and explained in detail?
I look at the UI totally the OOD way. All possible settings of my UI (currently in Smalltalk) come from various types of descriptors, which exist for all important entities, especially for classes (this includes all DB table settings), attributes (instVars), which includes all lower-level values, also for forms, panes, views and more. I call this "data-driven programming" and I have practiced and enhanced this step-by-step since 1987.
Is it possible to initialize and standardize Vue components this way? In my former Sencha prototype this was quite well possible, but I do not trust this company as they have screwed their customers several times in the past.
I ALSO DO NOT WANT to construct UI components individually one-by-one in this extremely primitive JS "IDE", which I find appalling - and nobody should judge this statement who has no clue of what Smalltalk has been offering since it's first version in 1980!
There exists meanwhile a clever tools to translate Smalltalk code into JavaScript, so that I intend to have my extremely comprehensive and highly productive Smalltalk framework generate (almost?) all of my UI definitions for the browser from Smalltalk definitions in higher abstraction levels similar to what I have achieved for the current Smalltalk UI for the desk-top.
Thank you in advance for your constructive comments
Beta Was this translation helpful? Give feedback.
All reactions