Yes, of course Rafael's example is useful to create a catch-all URL so
that the front-end can handle URL routing, with "real" URLS using
html5 pushState (as opposed to '#' based URLs).

Andrzej, perhaps we should start a fresh thread to discuss mezzanine
-> rest-framework stuff.

I'll start that discussion in a separate thread, since this thread was
about Angular, and what we're hoping for is more of a frontend
framework agnostic REST API interface to Mezzanine using
django-rest-framework.

Rafael, I'm curious - did you use DRF to serve the API end-points that
Angular talked to? Do you have any experiences / code to share of
integrating django-rest-framework and Mezzanine?

Thanks,
Sanjay

On Wed, Sep 24, 2014 at 1:29 AM, Andrzej Grymkowski <[email protected]> wrote:
> Rafael, yes. You are right. The main concept is to add rest_framework to
> mezzanine without mixin it with django templates. Currently I'm working on
> templates, totally separated where angularjs is at front side with templates
> and django on back, where has responsible only for send/get data and
> receiving requests.
>
> best regards,
> Andrzej Grymkowski
>
>
> On Tuesday, September 23, 2014 6:45:04 PM UTC+2, Rafael Belliard wrote:
>>
>> I've posted how I made Mezzanine + AngularJS in HTML5 mode to work here.
>>
>> On Sunday, June 1, 2014 1:29:38 PM UTC-4, Fredrik Blomqvist wrote:
>>>
>>> Hi,
>>>
>>> I want to create a website that uses both Mezzanine as its CMS and
>>> Angular for the user experience (and because I just took a course on it and
>>> it seems awesome so far).
>>> I read a great tutorial on how to create a Django + Angular app, which
>>> didn't seem too hard, but I am unsure how to approach Mezzanine though.
>>>
>>> The part I don't understand is how to create the API (the front-end is
>>> kinda obvious, just modify the templates). I would really appreciate a
>>> pointer in the right direction, an explanation, or even better some code
>>> examples (any demo site like this?)!
>>>
>>> Best Regards,
>>> Fredrik Blomqvist
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to