1 / 11

J- oy

J- oy. J- oy & Software Development. Development approaches. Traditional development problems: Design many use cases following the same pattern, Code many use cases following the same pattern, Keep model up-to-date (design models are usually outdated)

linus
Download Presentation

J- oy

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. J-oy J-oy & Software Development

  2. Developmentapproaches • Traditional development problems: • Design many use cases following the same pattern, • Code many use cases following the same pattern, • Keep model up-to-date (design models are usually outdated) • Traditional Model Driven Software Development problems: • Generated code needs to be tailored. Once it happens changes in earlier work products must be manually applied to generated code or a new set of automatically generated pieces of code is created and changes must be manually reapplied to it.

  3. ModelDrivenGenerationApproach Database UML Editor DatabaseModel Entities Model Generated files Files XMI XMI XMI XMI J-oy J-oy J-oy J-oy Templates Template Template

  4. Chainlanguages Database DomainSpecificLanguage TechnologySpecific UML Editor DatabaseModel Entities Model Generated files Files XMI XMI XMI XMI J-oy J-oy J-oy J-oy Templates Template Template

  5. ProcessdesignbestpracticesReduce thenumber of steps in thegenerationchain Database Thenumber of steps in thegeneration-chainmustbeminimized in orderto reduce theamount of conflictsresolutionsteps UML Editor DatabaseModel Entities Model Generated files Files XMI XMI XMI XMI J-oy J-oy J-oy J-oy Templates Template Template

  6. ProcessdesignbestpracticesHowtoavoidtouchinggenerated files Database UML extension strategies • Stereotypes • TaggedValues UML Editor DatabaseModel Entities Model Generated files Files XMI XMI XMI XMI J-oy J-oy J-oy J-oy Templates Template Template

  7. ProcessdesignbestpracticesHowtoavoidtouchinggenerated files Database UML Editor DatabaseModel Entities Model Generated files Files XMI XMI XMI XMI J-oy Customizetemplate Customizetemplate J-oy J-oy J-oy Templates Template Template

  8. ProcessdesignbestpracticesHowtoavoidtouchinggenerated files Database UML Editor DatabaseModel Entities Model Generated files Technologyspecificstrategiesforsperatinggenerated files fromcontentthatneedstobemanuallymodified Files • Invokehelperclasses´ nethodsfromgeneratedcode. • Invokehelper scripts (i.e.Groovy) fromgeneratedcode. • Invokehelperjavascriptfunctionsfromgeneratedcode. • Use inheritanceforcustomization and factoryclassesforinstantiatingextensionclassestransparently. • Identifyareas in whichcustomcode can beinsertedorgeneratedcode can beeditedbyusingmarks and an a toolforautomaticallymerging files. • CodeinjectionbyusingAspectOrientedProgramming. • etc. XMI XMI XMI XMI J-oy J-oy J-oy J-oy Templates Template Template

  9. Models are nowuseful Database Modelswillremainupdated as long as they are useful UML Editor DatabaseModel Entities Model Generated files Files XMI XMI XMI XMI J-oy J-oy J-oy J-oy Templates Template Template

  10. Use yourimagination Generated files can beanything. Database • Application files • Mavenpoms • JSF navigation • CRUDs: JSF, JSP, classes • Menus • UML Design • etc. UML Editor DatabaseModel Entities Model Generated files Files XMI XMI XMI XMI J-oy J-oy J-oy J-oy Templates Template Template

  11. Futherquestions • Ifyouwanttocontribute, haveanyquestionorsuggestion, pleasecontactus at: • info.joy.team@gmail.com

More Related