Saturday, 24 August 2013

AngularJs and Laravel application structure

AngularJs and Laravel application structure

I recently started to build a large social network, and i tought my
structure is good but it turned out i built this logic up badly.
I mixed my views with AngularJs (bad idea), skiped blade extension, but
since im using lot of block, and sidebar includes it came a pain in the
butt.
Currently i am just handeling form validations with angular, but actually
all of my site pages will require ajax, data pulling, ect.
I was searching around the net i saw that angular views are stored in the
public folder, but since all my pages will use angular is it a good idea,
to store all my views in the public, and actually just use Laravel as a
back end?
I know silly question but im confused a bit.
any help hint appreciated
Thank you

No comments:

Post a Comment