Hi Uros, No probs. When starting out, I took my original Client / Server project structure from a combination of a PluralSight course on MEAN, and the sample application that accompanies the book "Mastering Web Application Development with AngularJS" (url below):
https://github.com/angular-app/angular-app Took quite a few concepts from that application, although for the Client specific part (Angular) it does need some work to integrate into a Yeoman structure. For me, the most valuable item from Yeoman is the Grunt file (wasn't so interested in the scaffolding considerations as I find that a combination of Grunt and Bower addresses the parts that really need automation). Lifted that out, and tailored it towards the sample app structure instead. Just some ideas. Cheers, On 11 Jul 2014, at 20:49, Uros Gucunja <[email protected]> wrote: > Hello Richard, > > Thank you for the fast response! > > At the end i opted for two separated projects which are gonna talk via JSON. > > Still, this project structure that you recommended will definitely help in > the future and i already forwarded it to some people that were in need of > help like i was. > > /Thanks again > > On Friday, July 11, 2014 10:44:49 AM UTC+2, Richard Seldon wrote: > > Uros, > > Not exactly same as you, but I use MEAN stack, with Yeoman / Grunt for the > Angular specifics. > > Just demarcate the client (angular front end) in a subfolder from the root > with something like "client". > > Then run everything yeoman specific to your Angular project from there. > > Use the root folder (one above client) for everything else, or perhaps even > locate inside a "server" folder. > > I did originally opt for a server folder, but deploying to Heroku it expects > the procfile etc to be off the root. > > Cheers, > > > > On 11 Jul 2014, at 17:36, Uros Gucunja <[email protected]> wrote: > >> Hello everyone, >> >> I'm currently working on a application which is using Angular as it's front >> end and Symfony as the back end. >> >> Interestingly, i want my application structure to be scaffolded using the >> Yeoman generator, but using two generators on a same application may be a >> problem with overwriting files. Has anyone tried this? >> >> My first thought is to create a sub folder for one of the frameworks, but >> which one is to be in the root and which in the sub folder, and how to >> connected them? >> >> Thanks in advance! >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "AngularJS" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
