I implemented an EffectBead. For now I used a String, but I think I'll be
changing to use flags as Josh proposed.
2016-10-25 0:17 GMT+02:00 Alex Harui :
>
>
> On 10/24/16, 2:49 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
>
> wrote:
>
> >Hi Om,
> >
> >the last sample seems good to me
On 10/24/16, 2:49 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi Om,
>
>the last sample seems good to me and I agree with avoid having the
>"effect"
>attribute in the class and promote composition. So to start, I would
>remove
>the "mdlEffect" attribute from mdl components
Om's idea of putting them all into one bead is interesting (because if MDL
bakes all effects in regardless, so separate beads don't do anything except
make the code more verbose). However, the strings with spaces in between
seems like a place where making a typo is too easy. What about something
li
Hi Om,
the last sample seems good to me and I agree with avoid having the "effect"
attribute in the class and promote composition. So to start, I would remove
the "mdlEffect" attribute from mdl components and instead create a bead
with it, ok?
thanks!
2016-10-24 23:33 GMT+02:00 OmPrakash Muppira
I think the key point to look at is that we want favor composition over
inheritance.
In our case,
Inheritance:
This dictates that mdl:Button should implement an 'effect' setter/getter
and code for handling the each of the values, regardless of whether we want
an 'effect' in our button or not.
C
I love beads, but in this case I think it would be very verbose don't you
think?
for example in Button:
All has the same two selectors : mdl-button mdl-js-button (in my
implementation this goes always)
Then we have 8 optional selectors that could be combined in many ways.
So for me de default b
+1 for implementing it based on beads.
mdl:DefaultMDLButton would look like this:
We could simply use DefaultMDLButton in our code instead of having to write
out all the beads, if the user so chooses.
Thanks,
Om
On Mon, Oct 24, 2016 at 12:10 PM, Josh Tynjala
wrot
I like Alex's suggestion of making beads for each variation you can add
(fab, ripple, etc.). Feels like the FlexJS way to do it.
- Josh
On Oct 24, 2016 11:18 AM, "Carlos Rovira"
wrote:
Ok, I see,
right now I'm using something like you say:
while the base class selectors are asigned in AS3 MDL
That worked!
curse! I wonder why I cannot came up with that! :)
Thanks!
2016-10-24 18:51 GMT+02:00 Alex Harui :
>
>
> On 10/24/16, 6:27 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
>
> wrote:
>
> >Hi,
> >
> >from my test, maven setup is working ( I tried other params like
> >htmltem
On 10/24/16, 6:27 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi,
>
>from my test, maven setup is working ( I tried other params like
>htmltemplate and worked)
>So I assume that I'm setting the new flag in a bad way, but I copied what
>Alex suggested in his email inside the
Thanks Alex,
I think I'll stick with the actual impl for the moment, maybe flags could
be good...Others don't like since I think are or very verbose or many
combinations...
btw, I was trying to
get -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
without luck, but is clear this is a mus
On 10/24/16, 9:17 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Ok, I see,
>
>right now I'm using something like you say:
>
>while the base class selectors are asigned in AS3 MDL Button Code
>component:
>
>element.className = 'mdl-button mdl-js-button';
>
>In example's use I
Ok, I see,
right now I'm using something like you say:
while the base class selectors are asigned in AS3 MDL Button Code component:
element.className = 'mdl-button mdl-js-button';
In example's use I specialize, since there is 8 selectors, and seems to me
many combinations to make classes, So:
On 10/24/16, 2:42 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>> Here's another idea idea: what if there was a compiler option that
>>would
>> override the xmlns in the MXML files?
>>
>> mxmlc -compiler.mxml.xmlns=js,library://ns.apache.org/flexjs/mdl
>>
>>
>That would be
t;> Von: carlos.rov...@gmail.com im Auftrag von
>> Carlos Rovira
>> Gesendet: Montag, 24. Oktober 2016 13:59:05
>> An: dev@flex.apache.org
>> Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)
>>
>> Hi,
>>
>> I tried new additions without
tag, 24. Oktober 2016 13:59:05
> An: dev@flex.apache.org
> Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)
>
> Hi,
>
> I tried new additions without luck, maybe I'm doing something wrong:
>
> In my project example I added:
>
>
>
>
Von: carlos.rov...@gmail.com im Auftrag von Carlos
Rovira
Gesendet: Montag, 24. Oktober 2016 13:59:05
An: dev@flex.apache.org
Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)
Hi,
I tried new additions without luck, maybe I'm doing something wrong:
In m
>>
>>
>>
>>
>> Von: carlos.rov...@gmail.com im Auftrag von
>> Carlos Rovira
>> Gesendet: Montag, 24. Oktober 2016 11:21:58
>> An: dev@flex.apache.org
>> Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)
>>
tag, 24. Oktober 2016 11:21:58
> An: dev@flex.apache.org
> Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)
>
> Many thanks Alex por making it, I'll be trying it ASAIC.
> I want to build the example as clean as possible since right now I'm adding
> things and getting m
> Here's another idea idea: what if there was a compiler option that would
> override the xmlns in the MXML files?
>
> mxmlc -compiler.mxml.xmlns=js,library://ns.apache.org/flexjs/mdl
>
>
That would be ok, but it seems a bit tacky to me...my vote would be not
introduce things like this and keep
ded to the config-templates.
Chris
Von: carlos.rov...@gmail.com im Auftrag von Carlos
Rovira
Gesendet: Montag, 24. Oktober 2016 11:21:58
An: dev@flex.apache.org
Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)
Many thanks Alex por making it, I'
Many thanks Alex por making it, I'll be trying it ASAIC.
I want to build the example as clean as possible since right now I'm adding
things and getting many side effects, so hopefully this is much need to be
able to continue working
2016-10-24 8:48 GMT+02:00 Alex Harui :
>
>
> On 10/21/16, 4:35 P
5
> An: dev@flex.apache.org
> Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)
>
>
>
> On 10/21/16, 4:35 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
> wrote:
>
> >>If something could be done in the compiler/language space, it would be
>
So probably it would make sense to add this to the list of options for the
maven plugin?
Chris
Von: Alex Harui
Gesendet: Montag, 24. Oktober 2016 08:48:55
An: dev@flex.apache.org
Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)
On 10/21/16, 4:35 PM
On 10/21/16, 4:35 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>>If something could be done in the compiler/language space, it would be
>great, since it will
>improve the technology.
I just pushed changes to add a way to exclude css files from the output.
To exclude the defa
On 10/21/16, 4:35 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>> Hmm. Why not? I thought this was a great long-term solution. You can
>>try
>> different component sets merely by changing URIs. That's better than
>> changing the js: to mdi: in every file. How else would yo
> Hmm. Why not? I thought this was a great long-term solution. You can try
> different component sets merely by changing URIs. That's better than
> changing the js: to mdi: in every file. How else would you want to do it?
>
>
both are the same, implies make a multifile search/replace in all pro
On 10/21/16, 12:17 PM, "carlos.rov...@gmail.com on behalf of Carlos
Rovira" wrote:
>Hi Alex,
>
>
>What should be possible in FlexJS, is for people to easily switch between
>> components sets by simply changing the URI assigned to the prefix:
>> xmlns:js="library://ns.apache.org/flexjs/mdl"
>>
Hi Alex,
What should be possible in FlexJS, is for people to easily switch between
> components sets by simply changing the URI assigned to the prefix:
> xmlns:js="library://ns.apache.org/flexjs/mdl"
>
Right, but is not the perfect scenario...imagine change lots of file
namespaces, I think we
Renaming thread...
On 10/21/16, 9:12 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Right now I'm doing components in the "mdl"
>namespace, but this is not the ideal scenario, since it would be great to
>get a MDL style in a js:Button without the need to change it to
>mdl:Button
We could probably make cordova-build.xml work with Maven output in the
target folder instead of bin-debug. But yes, I don't think Peter or I
understand how to use Maven with Cordova, so the last piece will still
require Ant until some other volunteer steps up.
-Alex
On 10/21/16, 11:00 AM, "Peter
I used maven on a very complex project a number of years ago and don't
really remember much about it. I can try to piece together a pom file
using another example, but I would have no idea how to do something like
the cordova-build.xml file.
‹peter
On 10/21/16, 12:16 PM, "carlos.rov...@gmail.com
>From the examples/flexjs/MobileStocks directory:
ant (builds the bin and bin/js-debug directories)
ant -f ../../../cordova-build.xml (builds the app/MobileStocks directory)
ant -f ../../../cordova-build.xml run.ios
The last part should bring down the Cordova file plugin and install the
iOS pla
One final note, I'm building all with maven. I didn't try maven as you
posted ANT build instructions.
Are maven pom configured to work. It would be very handy
thanks!
2016-10-21 18:12 GMT+02:00 Carlos Rovira :
> Hi Peter,
>
> congrats for reaching the milestone. I'm trying but finding some proble
Hi Peter,
congrats for reaching the milestone. I'm trying but finding some problems:
(Prerequisites: I'm on Mac and want to try iOS version, I already has Xcode
installed. I don't have FB anymore. I installed Cordova vía NPM...all ok)
*I run from MobileStocks folder, but ant told me that there's
35 matches
Mail list logo