World: r3wp
[Tech News] Interesting technology
older newer | first last |
Henrik 5-May-2009 [3953] | Paul, the point is that you don't see that as a casual user. You just use hbox and vbox. |
[unknown: 5] 5-May-2009 [3954] | Maxim, you don't have to use XML at all. You can simply code everything in AS3 and then compile if you like. |
Henrik 5-May-2009 [3955x2] | (although we would probably just call them h-group and v-group). |
Pekr: "I don't understand it a bit. Why should it be build based upon multiple separate styles? This seems overengineered to me, and not necessary" Once you try building IP fields or any other field that is a bit more advanced for a basic field, you really will want this. :-) | |
[unknown: 5] 5-May-2009 [3957] | Correct, Pekr. |
Pekr 5-May-2009 [3958] | Henrik - I think that actually very little number of devs here played or looked into new VID and its architecture. It is completly different by its capabilities to R2, so I think that most important task is going to be - define basic set of styles, so that ppl don't complain that Flash/Flex or some other tool do have this or that widget, and second - provide some nice default skin, maybe even replica of Flash UI, so that ppl actually will think that there is some new Flash related product, which does it so easily :-) |
[unknown: 5] 5-May-2009 [3959] | Henrik, I like Horizontal and Vertical even better. |
Henrik 5-May-2009 [3960x2] | how do you guarantee me, that my keyboard navigation (Arrows, hilighting) still works across 4 fields, as if it was just one field? VID takes care of that. That's another important aspect: Keyboard navigation is also something you should have to mess with. |
Paul, whatever name you want. :-) | |
[unknown: 5] 5-May-2009 [3962] | Yes. but that needs to be the mindset going into that. There needs to be goals - not just development. |
Henrik 5-May-2009 [3963] | oops... keyboard navigation is also something you _shouldn't_ have to mess with. |
[unknown: 5] 5-May-2009 [3964] | If REBOL can't offer something NEW or something faster then it loses. |
Pekr 5-May-2009 [3965] | Henrik - as for fields, I still think that some kind of 'mask dialect would be better aproach, but we will see :-) I used it with Visual Objects (Clipper), where you have something like reg-exp, which defined allowed chars, skipped chars (dots in IP field, or parens for phone fields), etc. |
Henrik 5-May-2009 [3966] | Paul, the thing is: It takes about 3-4 minutes to implement those hbox/vbox styles. It's not a showstopper that the styles you may be looking for aren't there. |
Oldes 5-May-2009 [3967] | I think you should change a room.. it's far to be a Tech News discussion:) |
Pekr 5-May-2009 [3968x2] | Paul - you should reverse it. We do develop in REBOL. If Flash/Flex can't offer something new or faster, then it looses. Now it is upon you to show me, that you do your app faster in Flash/Flex than in R3, once architecture is finished. |
Henrik - exactly. I would be very curious, what would general developer of Flash/Flex do, if he would like to code new widget/control himself (define new class). So - Paul - do you know only how to use new or derived widgets, or do you also know, how to easily (or not so easily) extend Flash/Flex widgetset? | |
[unknown: 5] 5-May-2009 [3970] | I created a FLEX group to move discussion to. |
Maxim 5-May-2009 [3971] | henrik, I agree with paul that (Me... agreeing with paul, wtf !?!?? ;-) row [ ] and column [ ] styles MUST be part of the default style sheet, other wise every application will be using them but with different names.... its like if you said, the button style is there but it doesn't have a name. |
Pekr 5-May-2009 [3972x2] | it has a name |
each style is named, always was ... row vs columns - not sure ... | |
Henrik 5-May-2009 [3974] | Maxim, I can add them and see how much sense they make. Takes a couple of minutes. |
Maxim 5-May-2009 [3975x3] | what I'm saying is that if difference between toggle button and button is just an attribute change, the 'toggle style should still be in the stylesheet... other skins/stylesheets might use a completely different internal, but since toggle has been defined globaly, people will be using the name toggle in their apps. |
for me VID offers just about the same featureset/mindsel as GLayout already gives me, and coding GLayout without using row/column (whatever you decide to call it h-group v-group) doesn't make sense. | |
(VID 3) | |
Henrik 5-May-2009 [3978] | (this is a fun discussion. it takes much longer to discuss than it takes to fix. :-)) |
Maxim 5-May-2009 [3979x2] | scanning code with row/column it quite explicit, you immediately *see* the layout. using grid with an attribute, doesn't give you that instant verbosity. |
:-) | |
Henrik 5-May-2009 [3981] | I agree. |
Pekr 5-May-2009 [3982] | But we use grid, no? |
Maxim 5-May-2009 [3983] | wow an american, a canadian and a european ... all agreeing.... damn, I think we've reached a MILESTONE in R3 ;-D |
Henrik 5-May-2009 [3984] | Pekr, well, it's called GROUP and all that changes it is the number of columns you want and the number of faces in it. |
Maxim 5-May-2009 [3985x2] | pekr yes build using group by default, but I might create an alternative object for that stylename, and your layout still works using it.. |
and I don't have to supply ALL grid-like functionality. | |
Pekr 5-May-2009 [3987x2] | Henrik - the bad thing (IMO) is, that group and panel use different coordinate systems - group places elements by default horizontally, panel vertically. Carl told me it is on purpose, but I am curious how users will remember which is which. |
Maxim - we need Canadian, American, European and French to agree, to make it perfect :-) | |
Henrik 5-May-2009 [3989] | Pekr, it really is only about changing _one digit_ in the code. |
[unknown: 5] 5-May-2009 [3990] | That is a design flaw. A programmer should not have to go back and look up what a 0 or a 1 refer to when if there were user-friendly terms then it could make sense on initial observation. |
Pekr 5-May-2009 [3991] | Henrik - yes, we both thought it might be a bug, but I asked Carl and he wants it that way - so I expect no single bit change :-) |
Henrik 5-May-2009 [3992] | It doesn't matter now, as I've added H-GROUP and V-GROUP to my source here. |
[unknown: 5] 5-May-2009 [3993] | Why the hyphen? |
Henrik 5-May-2009 [3994] | I don't know? :-) Other styles use hyphens. |
[unknown: 5] 5-May-2009 [3995x2] | Just thinking maybe row and column are simply good enough terms. |
Those terms imply "grouping" to me. | |
Henrik 5-May-2009 [3997] | That could be. |
Maxim 5-May-2009 [3998] | I do prefer row and column by far.... button is not called push-area ;-) |
[unknown: 5] 5-May-2009 [3999] | lol |
Maxim 5-May-2009 [4000] | glayout started with vgroup and hgroup... and when I thought of row and column... I never used the old names again. |
[unknown: 5] 5-May-2009 [4001] | Is Twitter a good purchase for Apple? |
Henrik 5-May-2009 [4002] | Depends on what they want it for. |
older newer | first last |