Ikerepc Posted April 20, 2019 Share Posted April 20, 2019 Is it better to use Laravel than to program in php from scratch? I guess It's better to start with Laravel as it's most probably more secure, but if I want to make a software with laravel but I can't find and start tutorial... I'm making a software so index should be in root, not some other map. Also I need templates, language files... Laravel has build in Blade template engine right? How should I start? Any link or someting? Maybe even some demo with few most basic functions like how to connect to database, make index, header, templates... Use database... Quote Link to comment https://forums.phpfreaks.com/topic/308612-laravel-vs-raw-php-code/ Share on other sites More sharing options...
benanamen Posted April 20, 2019 Share Posted April 20, 2019 (edited) Quote Is it better to use Laravel than to program in php from scratch? It depends. Do you want to learn how to code or do you want to learn how to use Laravel? Quote I want to make a software with laravel but I can't find and start tutorial... Read the manual and watch the Laracast videos they provide. You should really learn the basics of coding before you attempt a Framework. Edited April 20, 2019 by benanamen Quote Link to comment https://forums.phpfreaks.com/topic/308612-laravel-vs-raw-php-code/#findComment-1566217 Share on other sites More sharing options...
Ikerepc Posted April 21, 2019 Author Share Posted April 21, 2019 I consider myself knowing basics of php enough to make some simple software and I want to learn and go further. So I started making something like blog / forum software and now I'm considering starting to work in Laravel, just to learn it and it's probably helpful for a lot of function it already has... Also, some template engine instead of html code with <?=$variable?> tags, more looking like templates would be nice... Quote Link to comment https://forums.phpfreaks.com/topic/308612-laravel-vs-raw-php-code/#findComment-1566221 Share on other sites More sharing options...
benanamen Posted April 21, 2019 Share Posted April 21, 2019 It never hurts to learn new things. There are plenty of Laravel tutorials out there. Make sure the tutorial matches the version of Laravel you will be using or you will get stuck, as substantial changes have been made between particular versions. Quote Link to comment https://forums.phpfreaks.com/topic/308612-laravel-vs-raw-php-code/#findComment-1566224 Share on other sites More sharing options...
maxxd Posted May 16, 2019 Share Posted May 16, 2019 Also, you don't need to use a framework to use a templating language. Twig works just fine as an external library included into and called from a bespoke PHP solution. Quote Link to comment https://forums.phpfreaks.com/topic/308612-laravel-vs-raw-php-code/#findComment-1566801 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.