Jump to content
Ikerepc

Laravel vs raw php code

Recommended Posts

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...

Share this post


Link to post
Share on other sites
Posted (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 by benanamen

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.