Re: i18n overhead
Howard, thanks for the clarification. Would the upgrade from 5.0 to 5.1 bring any improvement in terms of speed or resource usage? Thanks, regards MD -- View this message in context: http://old.nabble.com/i18n-overhead-tp26252169p26294435.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: i18n overhead
There's a lot of room for optimizations here; Tapestry is using the ClassLoader.getResource() method extensively, and it is very, very slow. More work to ensure that we don't constantly check and re-check for the existence of files would make a huge difference in performance when you are talking about this many properties files. The same may apply to component templates (which can be localized if you like, thus the same lookup overhead). On Mon, Nov 9, 2009 at 4:11 AM, Blower, Andy wrote: > We also have a lot of properties files, but so far only one translation. We > will have 20+ translations in due course, so I would be concerned if there > were performance problems/implications. We're already using 5.1, so I'd be > interested if this version has issues will many files. > >> -Original Message- >> From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] >> Sent: 08 November 2009 13:30 >> To: Tapestry users >> Subject: Re: i18n overhead >> >> Em Sun, 08 Nov 2009 11:20:48 -0200, Melidramo >> escreveu: >> >> >> Why so many property files? Just curious. :) >> > This is a big project... >> >> :) >> >> >> What exact version? 5.1.05? 5.0.18? >> > 5.0.18 >> >> There are some changes between 5.0.18 to 5.1.0.5 that can affect >> performance. >> >> > Is your question an incentive to migrate to 5.1? >> >> Regardless of performance issues, I think it's a good thing to do. >> >> -- >> Thiago H. de Paula Figueiredo >> Independent Java, Apache Tapestry 5 and Hibernate consultant, >> developer, >> and instructor >> Owner, software architect and developer, Ars Machina Tecnologia da >> Informação Ltda. >> http://www.arsmachina.com.br >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: i18n overhead
We also have a lot of properties files, but so far only one translation. We will have 20+ translations in due course, so I would be concerned if there were performance problems/implications. We're already using 5.1, so I'd be interested if this version has issues will many files. > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: 08 November 2009 13:30 > To: Tapestry users > Subject: Re: i18n overhead > > Em Sun, 08 Nov 2009 11:20:48 -0200, Melidramo > escreveu: > > >> Why so many property files? Just curious. :) > > This is a big project... > > :) > > >> What exact version? 5.1.05? 5.0.18? > > 5.0.18 > > There are some changes between 5.0.18 to 5.1.0.5 that can affect > performance. > > > Is your question an incentive to migrate to 5.1? > > Regardless of performance issues, I think it's a good thing to do. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, > developer, > and instructor > Owner, software architect and developer, Ars Machina Tecnologia da > Informação Ltda. > http://www.arsmachina.com.br > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: i18n overhead
Melidramo wrote: Why so many property files? Just curious. :) This is a big project... Just a small note. I'm working on a projects with 100's of components and pages that all need translations. I have chosen to put all properties in one file (WEB-INF/app.properties). I'm not quite sure if this is better for performance, but it deffenately makes translating a lot easier than emailing 200+ files to a translation office ;-) Cheer, Joost What exact version? 5.1.05? 5.0.18? 5.0.18 Is your question an incentive to migrate to 5.1? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: i18n overhead
Em Sun, 08 Nov 2009 11:20:48 -0200, Melidramo escreveu: Why so many property files? Just curious. :) This is a big project... :) What exact version? 5.1.05? 5.0.18? 5.0.18 There are some changes between 5.0.18 to 5.1.0.5 that can affect performance. Is your question an incentive to migrate to 5.1? Regardless of performance issues, I think it's a good thing to do. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: i18n overhead
> Why so many property files? Just curious. :) This is a big project... > What exact version? 5.1.05? 5.0.18? 5.0.18 Is your question an incentive to migrate to 5.1? -- View this message in context: http://old.nabble.com/i18n-overhead-tp26252169p26253714.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: i18n overhead
Em Sun, 08 Nov 2009 07:57:11 -0200, Melidramo escreveu: We have about 200 properties files and 200 templates files. Why so many property files? Just curious. :) We are using the version 5. What exact version? 5.1.05? 5.0.18? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org