playframework - migrate project from Play Framework 1 to Grails -


is there clean , easy method migrate project written playframework version 1 grails?

i suppose need rewrite whole project in grails . need ideas on strategy , techniques minimal code rewrite possible.

both of them use mvc , groovy. there not adaptation on code.

i think main changes have are:

  • separating querys models of play , putting them on services of grails.
  • rewriting application , datasource configuration files.
  • url mapping.

it´s not work compared rewriting whole project.

on other side should cautious gorm , database administration, because it´s way different jpa.

update!

just taken blog post.

plugins/modules

grails: grails has grails plugins. amazing. , way organized on site good. it's important me see grades. unfortunately there no reviews - helpful read reviews different plugins. used @ least 2 plugins - spring security plugin , searchable plugin. spring security worked charm although had spend time on adjusting legacy database tables. searchable plugin worked so-so. whatever did couldn't customize search results (or maybe didn't spend enough time?). spent @ least 1 evening browsing plugins directory , thinking "aha, i'll need plugin time in future. , 1 too. , that!".

play: play framework has similar concept plugins - modules. of functionality included in core play , play modules quite same plugins. except - modules directory doesn't show grades or reviews it's harder make choice - on own, take own risk when choosing or module.

who wins: grails

here have original post.

anyway think there more grails plugins playframework modules. thought , didn't check it.

hope helps :)


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -