Alfresco Summit part 5 – Developing JSON REST services with WebScripts


Written by Mano Swerts

In our last Alfresco Summit blog post, we wrote our AngularJS client to show a media feed pulled from Alfresco. In this post we will implement the HTTP service called by the AngularJS app to retrieve the media feed. We will implement the REST service using Alfresco WebScripts. It will return the media feed in JSON format. Writing a service WebScripts are a great way to expose custom...

Read More About Alfresco Summit part 5 – Developing JSON REST services with WebScripts »

Inject any custom service into Liferay WCM templates


Written by Peter Mesotten

Problem situation Web content templates are easy to write in Liferay, but as they become more complex they tend to contain a lot of scripting. Moreover, complex Velocity or Freemarker scripts are hard to maintain and even harder to debug. Also, unit testing your scripts is impossible. Macros A first possible optimization is to use  macros . Generic script blocks can be...

Read More About Inject any custom service into Liferay WCM templates »

Alfresco Summit part 4 – Writing unit tests for an AngularJS app


Written by Mano Swerts

In our previous post we covered the setup of our AngularJS project. We created a  template ,  controller  and  directive  to display our media feed on the index page. In this post we will write a test to make sure that we do not break our feed in the future. Running JavaScript tests with Karma We will use a test runner called Karma to run the tests for...

Read More About Alfresco Summit part 4 – Writing unit tests for an AngularJS app »

Showing 1 - 5 of 28 results.
Items per Page 5
of 6