Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

add Angular.js example? #28

Open
lsmith77 opened this issue Aug 3, 2014 · 9 comments
Open

add Angular.js example? #28

lsmith77 opened this issue Aug 3, 2014 · 9 comments

Comments

@lsmith77
Copy link
Collaborator

lsmith77 commented Aug 3, 2014

Show up to combine Symfony2 with Angular.js. Show also how to setup security etc.

Potentially this should be a branch and not be merged into the main branch (aka 2.3)

@weaverryan
Copy link
Contributor

Personally, I think this is a great idea because it seems like quite a common use-case.

@cbergau
Copy link

cbergau commented Aug 5, 2014

That would be incredible.

@pgodel
Copy link

pgodel commented Aug 5, 2014

What about writing a version of the profiler using AngularJS and consuming a REST API? Would be a great showcase.

@weaverryan
Copy link
Contributor

Huh, that's a really fun idea :).

This would also make a wonderful cookbook article. Perhaps code first, then some explanation of that code up at symfony.com. I'm really loving getting real examples and tutorial-style docs for common use-cases like this.

@drymek
Copy link
Contributor

drymek commented Sep 4, 2014

LexikJWTAuthenticationBundle (https://github.com/lexik/LexikJWTAuthenticationBundle) do the job quite well. Are you interested in PR containing configurations of the bundle and/or Angular example?

@lsmith77
Copy link
Collaborator Author

lsmith77 commented Sep 4, 2014

sure

@cordoval
Copy link
Contributor

cordoval commented Sep 4, 2014

would be nice to make links like https://github.com/bayne/symfony-angular-todomvc also into the article, they are clean implementations with variations 👍

@drymek
Copy link
Contributor

drymek commented Sep 4, 2014

Thus, except security configuration, such example exists. JWT is a good idea to secure API, but maybe it should be done as example application with link in README to symfony-angular-todomvc and symfony-rest-edition-jwt-example ? But in other hands it's quite ease to install a bundle (it has a doc...).

@allan-simon
Copy link

as a showcase for #39 I will try to make a mock angular project as a separate repository,
as long as https is used I think basic authentication is fine (which has the advantage to not need to reinvent the wheel) right ?

moreover if it's a full webapp reliyng 100% on the API, then as said, it may be better to simply do it a on a totally separate repository (so that you can always put it on a subdomain / other machine which leverage the fact that the angular code will 100% static files )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants