Main Content

Magnolia Community Forums: Development: Angular 2

  • amc-isotravel
    Full name: Andre
    Posts: 1
    Last post: Dec 5, 2016 11:29:42 PM
    Registered on: Dec 5, 2016
    Angular 2
    #1 by amc-isotravel on Dec 5, 2016 11:29:42 PM

    Hi, Has anyone tried developing with Angular 2 and Magnolia. What was your experience? I'm trying to get started but I'm not sure how to start. I've seen the Angular JS documentation but its far different from Angular 2.

  • cmeier
    Full name: Christoph Meier
    Posts: 212
    Last post: Oct 19, 2017 6:08:59 PM
    Re: Angular 2
    #2 by cmeier on Dec 6, 2016 7:55:16 AM

    on the one hand you use magnolia as a JSON "provider" (with REST endpoint(s), with jsonfn or prbly. even with pure freemarker)
    and on the other hand use angular (or something similar) e.g. to render data.
    The code for the latter you also can add to a template or to a file loaded by magnolia resources module to avoid violating the same origin policy.

    Both tasks ar mostly orthogonal.

    I'm not aware of a fully fledged complete example using angular 2 - however, if you have something which is already working with angular 1.x or another js framework, it should not be rocket science to port your code to angular 2.

    Here are some links which may inspire you, but which do NOT contain angular 2 examples.
    (However, this is not an agular forum :-))


    I hope this helps you at least a little bit,

You don't have the permission to post on this thread

Sign in

To login on this forum, you can use your Magnolia Forge, Support or Partner account, or, below, your Google, Yahoo! or OpenID account. If you have trouble logging in, or any other sort of issue, please let us know in the Meta forum, on the user-list, or simply by email at forum-admin at magnolia-cms dot com.

* Required

... or sign in with:

  • icon http://{your-openid-url}
  • icon
  • icon