tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Lei <gavingui2...@gmail.com>
Subject Re: Convert Tapestry 4 to Tapestry 5
Date Wed, 01 Feb 2012 02:17:45 GMT
Hi Ben,

You mean we can use both T4 and T5 in the same project, yeah, it is a
way. We can build new features in T5 and maintain the old T4
features, as you said, it will work. But this kind of things is really
not so friendly, we want to use T4 as little as possible, finally,
build the whole project in T5.

So i think if there is a tool can do some boring and repeated convert
things for us, it will save us much time. Maybe we can not compile and
use the *initial* converted T5 page from T4 directly, even there are
some compile errors in these pages, but after few artificial job, they
will work well. It will also save us much time.

You have been involved in this convert things more than a year, just
like we will do, do you think it is feasible? Thank you

在 2012年1月31日 下午11:55,Ben Dotte <ben.dotte@gmail.com> 写道:
> Not to scare you, but we've been upgrading our Tapestry 4 app to 5 for
> about 2 1/2 years now. We're still not done. I honestly don't see how any
> sort of automatic migration could work. T5 is fundamentally so much
> different from the conversion of Hivemind XML to Java-defined IOC service,
> to the much heavier use of convention over configuration for connecting
> markup to Java, etc. etc.
>
> We have treated this upgrade as a chance to re-evaluate the functionality
> in our existing app and rebuild it better in T5. The fact that the T4 and
> T5 jars do not collide on the classpath is very convenient. We have been
> running them together on the same JVM throughout the transition and it is
> not terribly difficult to build mechanisms for communicating between
> T4<->T5 as services and pages get converted.
>
> I suppose you could try to do a more direct translation of the
> functionality, but why would you want to? The ajax capabilities are so much
> better in T5, I think it is well worth taking a second look at how your app
> functions and think more in terms of Zones, utilizing
> prototype/scriptaculous/jquery/yui/extjs more, etc.
>
> Good luck!
>
> Ben
>
> 2012/1/31 Gavin Lei <gavingui2011@gmail.com>
>
>> Hi Guys,
>>
>> We have a some kind of *huge* project which built on Tapestry 4
>> started years ago. Now we know Tapestry 5 is more convenient and more
>> powerful than 4, and we want to change our Tapestry 4 version to 5.
>> If we do these things manually, i think it will cost use more than
>> half a year, as it is really a complex project.
>>
>> So, problems come, do you think it is possible for us to build a tool
>> that can convert Tapestry 4 to 5 automatic. If so, i think this tool
>> will help many people and save much developers' time. I am not very
>> sure of the feasibility things, how do you think of it ? Thank you
>>
>> --
>> ---------------------------------
>> Best Regards
>> Gavin Lei (雷银)
>> Email: gavingui2011@gmail.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>



-- 
---------------------------------
Best Regards
Gavin Lei (雷银)
Email: gavingui2011@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message