i develop web application using lumen
, angularjs
. have app
folder contains angularjs
files,which means client side application inside app
folder.
but found 2 folder view purpose in lumen
,those public
, resource
. view files pointed out in resource
folder , assets
js
,images
etc in public folder.
how can bring in particular location either public or resource.
please explain there practice in case of folder structure?
if using both public
, resource
folder,is practice?
these folders have different purpose. resources
folder views go. lumen grab these, perform necessary functions on them, display them.
the public folder place put assets (images, css, javascript, etc...). should have folder set document root in webserver.
the views reside in resources/views
should not directly accessible on net, public folder should be. although, won't using folder because using angular of html go in public folder accessed angular.
Comments
Post a Comment