Am 27.10.2017 um 11:18 schrieb Narendra Palavelli:
> Is there any link or guide about Pylons and angularjs2
combination and configuration settings
> I've application and tech stack is pylons and jinj2. we would
like to introduce Angular2 in between, so Is there any guidance or link
needed.
Angular 2+ is a framework for building single page applications. You
won't need Jinja templates on the server in that case. Pylons (Pyramid)
would be used only as a server to fetch data e.g. via REST or GraphQL.
Essentially, you will create two separate projects, one for the backend
made with Pylons and one for the frontend made with Angular.
I'm using the combination Angular + Pyramid quite successfully in that
way. For GraphQL, I'm using graphene-sqlalchemy and webob-graphql to
integrate with Pyramid. If you google for REST and Pyramid, you'll also
find solutions for creating REST APIs with Pyramid.
-- Christoph