Laracast, docs, etc.
Parse string to view
I am taking data from the database, and would like to place it inside a view and render it.
Does anyone know how to do this without using a package from someone else.
Hm...I'm still not understanding the benefit to this.
Don't content management systems typically keep the files as views and render them? The DB would just decide which file/view to render. Creating your own theme meant creating a sub-directory with files that follow that specific CMS's standards.
Personally, I feel like it would be a hassle to keep the actual views in the DB because that would slow me down in terms of coding. For example, traditionally, if I'm creating a theme for a CMS, I can just open up my text editor and get started right away. Share my theme? Just zip it up and upload. Or put it on Github. Both are very fast solutions. If it's in the DB, how exactly would I change the view? Do I have to get authenticated and then use the browser to edit it? How would I share it?
Please or to participate in this conversation.