[ https://issues.apache.org/jira/browse/VELTOOLS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824979#comment-16824979 ]
Claude Brisson edited comment on VELTOOLS-180 at 4/24/19 10:51 AM: ------------------------------------------------------------------- I'm continuing my chain of thoughts here: the most pragmatic option is probably to publish everything for now on githhub, and we'll see what can be migrated towards Velocity or VelocityTools thereafter. FYI here's the layout I'm thinking of so far: {noformat} com.republicate.velocity-webapp parent project +- com.republicate.velocity-webapp-api API servlet +- com.republicate.velocity-webapp-auth authentication filters +- com.republicate.velocity-webapp-oauth OAuth authentication filters +- com.republicate.velocity-tools-apiclient API client tool +- com.republicate.velocity-webapp-examples +- ... com.republicate.velocity-model +- com.republicate.velocity-model-core ORM +- com.republicate.velocity-tools-model ModelTool, MetaModelTool, ... {noformat} was (Author: claude): I'm continuing my chain of thoughts here: the most pragmatic option is probably to publish everything for now on githhub, and we'll see what can be migrated towards Velocity or VelocityTools thereafter. FYI here's the layout I'm thinking of so far: {noformat} com.republicate.velocity-webapp-parent +- com.republicate.velocity-webapp-api API servlet +- com.republicate.velocity-webapp-auth authentication filters +- com.republicate.velocity-webapp-oauth OAuth authentication filters +- com.republicate.velocity-tools-apiclient API client tool +- com.republicate.velocity-webapp-examples +- ... com.republicate.velocity-model +- com.republicate.velocity-model-core ORM +- com.republicate.velocity-tools-model ModelTool, MetaModelTool, ... {noformat} > New velocity-tools-model architecture > ------------------------------------- > > Key: VELTOOLS-180 > URL: https://issues.apache.org/jira/browse/VELTOOLS-180 > Project: Velocity Tools > Issue Type: New Feature > Components: Misc > Affects Versions: 3.1 > Reporter: Claude Brisson > Assignee: Claude Brisson > Priority: Major > > The new data access layer (or persistence-less ORM) module that constitutes > the Model Tool, and which once was the > [Velosurf|https://github.com/arkanovicz/velosurf] library but rewritten at > 90%, sits in the [model > branch|http://svn.apache.org/viewvc/velocity/tools/branches/model/velocity-tools-model/]. > But I started having second thoughts while coding. If you look at [this class > diagram|https://republicate.com/class_diagram.svg], you'll see that there are > only 5/6 objects that will appear in VTL contexts. The remaining of the > library is about 40 classes, and offers by itself an ORM which I tried to > keep simple and efficient also on the Java side. > So I'm starting to think that I should just publish here the VTL related > objects and host the ORM library elsewhere. It's more in the spirit of > VelocityTools to keep things lightweight, and separate projects are the best > guaranty of code isolation. > For instance, I can publish it along with other projects that I publish on > maven central in the com.republicate group id, like the > [webapp-slf4j-logger|https://github.com/arkanovicz/webapp-slf4j-logger]. > It makes velocity-tools-model rely on a project external to apache, but it's > not a problem per se. Or the ORM library can find its way to the apache > codebase through, like, a commons-model project. Or start at com.republicate > and then migrate. Or start here then migrate elsewhere... > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org For additional commands, e-mail: dev-h...@velocity.apache.org