Can someone help me decide between JS Link
and CEWP
or any alternative that you see fit?
I need to build a page (actually entire site with some 5, 6 pages). These pages should look pretty decent (Some good CSS work expected here).
And the decision is to not to use Server object model
, and I'm not going Provider hosted app
way too. So I have decided to do it through JavaScript
.
As I said I need to do good work on branding(CSS), so what do you think is a better option for me? My thoughts are as I've to modify the templates so much, JS Link
or CEWP
, both would take close to the same number of hours. I'm looking for pros and cons of the each approach.
Once I have the custom master page in place, For the page customization, I'm looking at CEWP
or JS Link
. To display data from SharePoint on the pages, I can't use the OOTB web parts such as List View Webpart etc as I want to brand those web parts.
I can do one thing that is to use OOTB LVWP
and apply JS Link
or the second thing is to use CEWP
.
In the first case, I get the data loaded to the page without any code and only code that I need to write is to present the data on UI as per branding needs. CEWP
case, I need to write data retrieval logic as well. But data retrieval is pretty simple.
With CEWP, I have full control on my code. I'm not sure on the challenges with JS Link
. Want to hear on that. If JS Link
, is simpler and advantageous to reduce efforts, I would prefer that.
CEWP
is no replacement for theListViewWebPart
, since you would have to rebuild everything from scratch. Also keep in mind that aCEWP
will likely cause problems regarding toMDS
.