Note that there are some explanatory texts on larger screens.

plurals
  1. POEmberjs, server side vs client side, All in?
    primarykey
    data
    text
    <p>I have been looking into <a href="http://emberjs.com">Ember.js</a>, and it looks really great, but one thing that concerns me, and that I can't get my mind around it, is if I start using it on an already running project.</p> <p>Will I eventually have to move everything client side, and make my application a single page application at some point?</p> <p>let me clarify...</p> <p>So far the best way to communicate between client and server using Ember is REST. and that looks great, but what I don't like is having all the templates loaded for the first time. and moving all the logic in my server to the client (or am I getting all of this wrong?), cause it looks like my server side will become a logic-less REST API.</p> <p>Also, I'm using <a href="http://www.yiiframework.com/">Yii Framework</a> which has some JavaScript (Ajax enabled) components like <a href="http://www.yiiframework.com/doc/api/1.1/CGridView">grids</a>. how can I have ember interact with all of this on <a href="http://emberjs.com/guides/router_primer/#toc_navigation">navigation</a> without having to rewrite a bunch of stuff already working on my application?</p> <p>I'm on the login page (or state), and then after login in, I have to display a <a href="http://www.yiiframework.com/doc/api/1.1/CGridView">grid</a>, that is just easy with Yii, and a full page load, but If I am using Ember, how can I have my grid display as it normally would? do I have to pre-load a handlebar template for the grid, and also the JavaScript that controls it?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload