You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kalle Korhonen <ka...@gmail.com> on 2015/03/24 04:50:34 UTC

T5 and Ember

As an experiment, I'm trying to migrate an existing Angular app to Ember
(with T5 back-end and serving multiple other "thin" pages). There's a lot
to like in Ember vs Angular but I'm wondering if there are anybody else
using Ember with T5 and if so, what's your setup? I'm mainly interested in
knowing if you've managed to integrate wro4j's EmberJsProcessor or perhaps
you have just overlaid an ember-cli setup over T5 folder structure? Also,
I'd especially like to know how you handle third-party components if you
are using any. Installing snippets using npm and ember-cli seems like a
great idea but I find a lot of outdated and broken stuff. I'm using the
very latest, the ember-cli 0.2.1 released today (I was battling issues with
the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps I'm
pushing too far on the bleeding edge... if you've gone done this path, I'd
appreciate some war stories for things to watch out for.

Kalle

Re: T5 and Ember

Posted by Kalle Korhonen <ka...@gmail.com>.
On Tue, Mar 24, 2015 at 7:24 AM, Andreas Andreou <an...@gmail.com> wrote:

> After having worked for more almost 2 years on (mostly) ember,
> my advice would be to completely decouple (if possible) the projects.
>
> Move ember on its own, make use of the improving cli plugins for
> developing,
> building and deploying. I'm still on a yeoman created grunt setup, so that
> could
> also work for you.
>

Yes, that's certainly an option and that's how I've approached the
prototype, but this strategy doesn't work quite as well if you are
releasing to a customer as opposed to developing company's own site where
you typically already have an http server to deploy the Ember bits to. And
if you have to figure out packaging into a .war anyway, then might make
sense to use a similar setup for development as well. In any case, thanks
for the advice. I bet the framework has changed quite a bit in your two
years. I wonder if your experience has been a positive one and if there are
any "I wish I had known this before we started" tidbits you could share.

@Ivano - if popularity was a measure, we'd all be still using Struts
instead of Tapestry, wouldn't we? Convention over configuration is one
thing, but the article you linked to is a fairly well balanced in my
opinion. For me, the biggest things to like in Ember is it's router, clean
urls, cleaner/simpler concepts and performance.

Kalle


>
>
> On Tue, Mar 24, 2015 at 5:50 AM, Kalle Korhonen <
> kalle.o.korhonen@gmail.com>
> wrote:
>
> > As an experiment, I'm trying to migrate an existing Angular app to Ember
> > (with T5 back-end and serving multiple other "thin" pages). There's a lot
> > to like in Ember vs Angular but I'm wondering if there are anybody else
> > using Ember with T5 and if so, what's your setup? I'm mainly interested
> in
> > knowing if you've managed to integrate wro4j's EmberJsProcessor or
> perhaps
> > you have just overlaid an ember-cli setup over T5 folder structure? Also,
> > I'd especially like to know how you handle third-party components if you
> > are using any. Installing snippets using npm and ember-cli seems like a
> > great idea but I find a lot of outdated and broken stuff. I'm using the
> > very latest, the ember-cli 0.2.1 released today (I was battling issues
> with
> > the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps
> I'm
> > pushing too far on the bleeding edge... if you've gone done this path,
> I'd
> > appreciate some war stories for things to watch out for.
> >
> > Kalle
> >
>
>
>
> --
> Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
> Apache Tapestry PMC / http://chesstu.be owner
> Open Source / JS Consulting
>

Re: T5 and Ember

Posted by Andreas Andreou <an...@gmail.com>.
Kalle,
After having worked for more almost 2 years on (mostly) ember,
my advice would be to completely decouple (if possible) the projects.

Move ember on its own, make use of the improving cli plugins for developing,
building and deploying. I'm still on a yeoman created grunt setup, so that
could
also work for you.

Just throw in some cors headers on the tapestry side and you'll be able to
live
code against production data



On Tue, Mar 24, 2015 at 5:50 AM, Kalle Korhonen <ka...@gmail.com>
wrote:

> As an experiment, I'm trying to migrate an existing Angular app to Ember
> (with T5 back-end and serving multiple other "thin" pages). There's a lot
> to like in Ember vs Angular but I'm wondering if there are anybody else
> using Ember with T5 and if so, what's your setup? I'm mainly interested in
> knowing if you've managed to integrate wro4j's EmberJsProcessor or perhaps
> you have just overlaid an ember-cli setup over T5 folder structure? Also,
> I'd especially like to know how you handle third-party components if you
> are using any. Installing snippets using npm and ember-cli seems like a
> great idea but I find a lot of outdated and broken stuff. I'm using the
> very latest, the ember-cli 0.2.1 released today (I was battling issues with
> the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps I'm
> pushing too far on the bleeding edge... if you've gone done this path, I'd
> appreciate some war stories for things to watch out for.
>
> Kalle
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Apache Tapestry PMC / http://chesstu.be owner
Open Source / JS Consulting

Re: T5 and Ember

Posted by Ivano Luberti <lu...@archicoop.it>.
Oh well, reading further I have found the answer by myself:

> Ember.js favors Convention over Configuration. 

sorry Kalle....


Il 24/03/2015 12:00, Ivano Luberti ha scritto:
> Hi Kalle, I don't know a thing about Ember and Angular but I plan to
> learn about javascript frameworks. Hence I don't have an answer for you
> but a question instead (of course totally OT on this list).
>
> First link I get from google searching for "ember angular" is
>
> https://www.airpair.com/js/javascript-framework-comparison
>
> that is a very angular partizan article in reality.
> Maybe explanation on why is the first result is this contained phrase:
>
>> Not only does Angular have the largest community and much more online
>> content than the two others, it is also backed and promoted by Google. 
> Nonetheless motivation for the article to sponsor Angular seem reasonable.
> So question is: what is to like in ember more than in angular?
>
> Il 24/03/2015 04:50, Kalle Korhonen ha scritto:
>> As an experiment, I'm trying to migrate an existing Angular app to Ember
>> (with T5 back-end and serving multiple other "thin" pages). There's a lot
>> to like in Ember vs Angular but I'm wondering if there are anybody else
>> using Ember with T5 and if so, what's your setup? I'm mainly interested in
>> knowing if you've managed to integrate wro4j's EmberJsProcessor or perhaps
>> you have just overlaid an ember-cli setup over T5 folder structure? Also,
>> I'd especially like to know how you handle third-party components if you
>> are using any. Installing snippets using npm and ember-cli seems like a
>> great idea but I find a lot of outdated and broken stuff. I'm using the
>> very latest, the ember-cli 0.2.1 released today (I was battling issues with
>> the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps I'm
>> pushing too far on the bleeding edge... if you've gone done this path, I'd
>> appreciate some war stories for things to watch out for.
>>
>> Kalle
>>

-- 
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================


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


Re: T5 and Ember

Posted by Ivano Luberti <lu...@archicoop.it>.
Hi Kalle, I don't know a thing about Ember and Angular but I plan to
learn about javascript frameworks. Hence I don't have an answer for you
but a question instead (of course totally OT on this list).

First link I get from google searching for "ember angular" is

https://www.airpair.com/js/javascript-framework-comparison

that is a very angular partizan article in reality.
Maybe explanation on why is the first result is this contained phrase:

>
> Not only does Angular have the largest community and much more online
> content than the two others, it is also backed and promoted by Google. 

Nonetheless motivation for the article to sponsor Angular seem reasonable.
So question is: what is to like in ember more than in angular?

Il 24/03/2015 04:50, Kalle Korhonen ha scritto:
> As an experiment, I'm trying to migrate an existing Angular app to Ember
> (with T5 back-end and serving multiple other "thin" pages). There's a lot
> to like in Ember vs Angular but I'm wondering if there are anybody else
> using Ember with T5 and if so, what's your setup? I'm mainly interested in
> knowing if you've managed to integrate wro4j's EmberJsProcessor or perhaps
> you have just overlaid an ember-cli setup over T5 folder structure? Also,
> I'd especially like to know how you handle third-party components if you
> are using any. Installing snippets using npm and ember-cli seems like a
> great idea but I find a lot of outdated and broken stuff. I'm using the
> very latest, the ember-cli 0.2.1 released today (I was battling issues with
> the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps I'm
> pushing too far on the bleeding edge... if you've gone done this path, I'd
> appreciate some war stories for things to watch out for.
>
> Kalle
>

-- 
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================



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