javascript - develop CMS in Ember js -
i new in emberjs, feel ember , structured mvc framework,
is possible create content management system in ember ?
i want create new pages, section in pages, thing ember using routes pages, , want dynamic pages, page may have different styles,
this.route('admin',{ resetnamespace: true },function(){ this.route('dashboard',{ resetnamespace: true }); });
can dynamically generate routes thank in advance
is possible create content management system in ember ?
yes, is.
i want create new pages, section in pages, thing ember using routes pages, , want dynamic pages, page may have different styles,
that's possible.
can dynamically generate routes thank in advance
you can use dynamic query params able have custom pages. example, in admin panel can have input fields many things such page html, page style, page javascript, page name. store these things in database. if navigates example app.com/pages/mynewpage query database on backend page name mynewpage
, return data client. can use ember data , create page
model. in pages.someroute
template (someroute handles dynamic query params) use things like:
{{{page.content}}} <style> {{{page.css}}} </style>
so, yeah, it's totally possible do.
Comments
Post a Comment