3 ms·
if needs_seo_friendly { use_server_side_view(); } else { use_client_side_mvc(); } Server-side views are good for content-oriented websites, while client-si
by edwinyzh 14y ago
if needs_seo_friendly {
use_server_side_view();
}
else {
use_client_side_mvc();
}
Server-side views are good for content-oriented websites,
while client-side MVC's are good for function-oriented webapps that needs clean architecture.
PS, I like AngularJS as the client-side MVC framework,
and I'm trying to find a way to better support it in my current project (http://liveditor.com http://liveditor.com).