Hi, after many hours of refactoring, I get at last separate Basic from the rest of libraries. In fact I fix all projects where Basic was not declared since it was assumed by other projects. Now Basic is really a subset, that still has many needed functionality, but when is used, is declared in the pom.xml. For example, Jewel no longer depends from Basic, and that's for me a huge hit and something really good, since now we have UI sets that are really isolated and can grow on its own. I had to refactor some core classes to Core, that was in Basic. I think we still have more Core Classes in Basic, and we should move in as we can. For few classes I need to duplicate in Jewel, and I think that's natural. Jewel components no longer extend Basic components and use to extend UIBase directly For SWF I still need to make some refactor for Jewel and in the meanwhile I commented some classes in css, but very few and I hope to do that tomorrow.
I fixed all examples, many of them was without Basic dependency, some of the fixes was for some Classes that change the package. Please, check your applications to see if you must to fix some import declaration. I think this is a great step since we get a better organization and separation of libraries :) Best Carlos 2018-05-04 18:32 GMT+02:00 Alex Harui <[email protected]>: > Well, it depends on what you mean by "dependency". Basic components > shouldn't have compile-time dependencies on their models, views and > controllers. Or what children you put in containers. But at runtime you > need to supply a valid model, view or controller. You shouldn't have to > supply one from Basic if you have another one that does the equivalent > thing. Default beads are loosely coupled to the component via > defaults.css. The compiler will build the SWCs just fine, but when > building the app, that's when it will check that the classes specified in > the defaults.css actually exist. > > HTH, > -Alex > > On 5/3/18, 10:47 PM, "[email protected] on behalf of Carlos > Rovira" <[email protected] on behalf of [email protected]> > wrote: > > Hi, > > I think I was too optimistic here. I was looking at JewelExample code > and I > have more Basic dependencies, like "View" > But I'm very confused that after remove all "Basic" pom dependencies > all is > compiling correctly. > I check parent poms, searching for "Basic" and I didn't find it...so > how is > this magic going on? :? > I'm missing something? thoughts? > > thanks > > Carlos > > > 2018-05-03 19:33 GMT+02:00 Carlos Rovira <[email protected]>: > > > Hi, > > > > I'm really amazed that I can get rid of Basic so easily. > > Just moved UIBase and HTMLElementWrapper to Core and that's it, I > removed > > Basic dependency from Jewel projects, and I though I would have to > deal > > with more dependencies not found...but that not happen :?... > > > > That proves that Royale is really well architected. Huge congrats to > all > > of you that make it possible! Specially Alex and Peter! > > > > Best, > > > > -- > > Carlos Rovira > > https://na01.safelinks.protection.outlook.com/?url= > http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com% > 7Cefd67b5205c343f320b908d5b1828389%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C636610096469840745&sdata=9Cpzeqk6J48BjW6FnHAe% > 2FySXhrkEV9%2BvzJ5ugTHwHKM%3D&reserved=0 > > > > > > > -- > Carlos Rovira > https://na01.safelinks.protection.outlook.com/?url= > http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com% > 7Cefd67b5205c343f320b908d5b1828389%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C636610096469840745&sdata=9Cpzeqk6J48BjW6FnHAe% > 2FySXhrkEV9%2BvzJ5ugTHwHKM%3D&reserved=0 > > > -- Carlos Rovira http://about.me/carlosrovira
