micakin

As a beginner to PHP, what are the required things one needs to know and underst …

Wed 13 Feb, 2019 08:44 am
As a beginner to PHP, what are the required things one needs to know and understand before taking up a framework like laravel.

I have been patient for months to understand the basics, how most php functions works, creating my own custom functions, understood CRUD application, migrated to using PDO and prepare statements, to mention few.

I read from a forum that OOP background is also needed, though am currently working towards learning that.



Can anyone provide a roadmap or milestone ?

Comments

goodmuyis

Wed 13 Feb, 2019 10:59 am

All you need to learn in a Programming language is the semantics, you can use documentation to get used to the inbuilt functions. ha Yes OOP semantics if need in all Programming language. Having learned the basics, control structure and basic functions, pls move on to the Next Level

drocksofangelo

Thu 14 Feb, 2019 11:52 pm

You need to understand php to the very depths of it, else taking up any framework built on PHP will look like Mandarin to your eyes . . especially when it gets to the OOP part of it. So I suggest you study php for at least a year, and build some basic apps with it. Then move to a framework, although you would still see yourself most times, going back to the php documentation/manual to refresh one or two things . . .

limistah

Fri 15 Feb, 2019 09:02 am
@drocksofangelo you're very right. There are lots of developers that knows Laravel to the core, but knows very little of PHP. An advise to every framework users is to know the language it was built on, as most errors will be as a result of the language and less from the framework.

For me, before moving to a framework, learn to create one, even if it's barebone. Trust me, you will not attempt to take any feature in popular frameworks for granted.

drocksofangelo

Fri 15 Feb, 2019 02:37 pm

@limistah You garrit. Thank God for frameworks though! I am currently creating a plugin. Front end is pure javascript, backend is php, the middleware is controlled by a cloud server. I cannot use any framework as the plugin don't support syntax from frameworks only pure syntax. So imagine i spent all my life learning the framework without core knowledge of the language itself, well, I would have been sacked by now.

limistah

Fri 15 Feb, 2019 09:52 pm
@dhtml, we need a name for only framework users. I will propose, framework monsters.

micakin

Sat 16 Feb, 2019 08:04 am
Thanks for your advise, this motivates me more to learn header. @limistah , you meant I should create my own framework ? Is is that easy for a beginner?

dhtml

Sat 16 Feb, 2019 10:46 am

Creating a framework is a work for EXPERTS with a lot of experience. I think the best way to learn for a beginner is to create several projects from the start by yourself, do login, register, send email e.t.c with direct coding.
Once you have perfected all this regular drills a bit, then you can start learning a framework. I discovered that those that started straight-away with frameworks become highly limited programmers, unless they later go back and learn basics properly.

dhtml

Sat 16 Feb, 2019 10:47 am

Template installers
CMS installers
Framework customizers / Monsters
All need to learn the basics of the languages they are dealing with.