On Tue, Dec 27, 2011 at 7:53 AM, Ben Coman <[email protected]> wrote:
> Guillermo Polito wrote: > >> *What does Phoseydon beta includes?* >> By now, it reads a database schema, builds a model description from it and >> then allows us to: >> - write classes from that description. >> >> > I am very interested in the programmatic creation of classes. Although my > application is not quite related to database schema. Instead I have a UML > model stored in a database basically defined by two tables t_objects and > t_connector from which I need to create Smalltalk classes, instance > variables, and association & aggregate relationships. I tracked down a lot > of what I want to the methods... > > DBXMagritteClassBuilderVisitor**>>visitDBXEntity: aDBXEntity > for which the answer was obvious in hindsight - just replicating the call > to Object>>subclass::: > > DBXMagritteClassBuilderVisitor**>>buildAccessorForAttribute: attribute > inClass: aClass > could you give me a pointer to read up on what the curly-brace-numbers are? > > btw, Can you advise how is the compiling activated? If you had about 800 > classes that need to be created, would temporarily turning off the compile > assist the program execution time significantly? > regards, Ben > profile it using spyOn: to see where the time goes, and then you'll know. -- best, Eliot
