php - Using Laravel with an existing website -
i have existing website running on php, mysql css, js , ajax. future projects, use laravel framework create new pages or functionality existing website... let's blog, instance. possible? laravel framework compatible existing website not set using mvc framework? reason make work easier , more efficient , use of framework helpful. please let me know if need other info, know question little broad.
thanks, justin
yes it's possible of course maybe difficulties.
you should put web files in /views directory, convert php files controllers or library files , put assets in /public directory. can assign routes controller , call form outside of application.
main job put code controller or libraries. possible split code separate logical units? , extract model logic (as php mvc says) main code.
so if have clean code design , minimum dependencies can think more it. challenge if go through cautiously. careful not fail , waste time.
Comments
Post a Comment