Learn PHP?

tommyvang

Senior Member
Joined
Oct 7, 2015
Messages
856
Reaction score
93
For those of you that know PHP language.. How long did it took you to understand the fundamentals and build real live projects?.. Even build advanced projects..?
 
For those of you that know PHP language.. How long did it took you to understand the fundamentals and build real live projects?.. Even build advanced projects..?
Short answer: depends
Long answer:
This was the first "professional" (as in, a language that I made money with) language I learned. Before that, I knew C (Yeah, not CPP but C); so I knew the basics of programming. It took me like 6-8 months to learn it enough to build a website with good functionalities. As for the security stuffs (so that I don't hammer my own foot) it took me like 2-3 years to know what I am doing (or may be even more.. not sure.). Now comes the worst part. I still feel helpless whenever I face a new framework. It takes atleast a month to get used to it to the point where I can build something with it, which isn't considered "hack". This is even after the fact that I am quite good in this language.


Hope that helps.

I recommend learning as you go by building live projects.
So do I. Plus 1 to this. It cuts down the learning time to like 50%.

Any recommendations for this??

Thanks!

Here's a practical example. Try building your own blog with php, or any language for that matter. You can't use a platform like wp. How would you do it? Start from the database and/or data flow diagram.
 
Last edited:
Start with a login system using PHP.
I know JS and it only took me 2 weeks to get the hang of PHP.
 
Here's a practical example. Try building your own blog with php, or any language for that matter. You can't use a platform like wp. How would you do it? Start from the database and/or data flow diagram.
Any specific course to follow??

Thanks a lot for your honest answer!! :)
 
You can buy cheap PHP books about old versions from eBay, just to cover the basics, and you can just highlight them, write up in notes, and then update your knowledge with what has changed in the most recent versions.
 
Any specific course to follow??

Thanks a lot for your honest answer!! :)
Youtube is full of those tutorials ( i mean practical PHP examples, and not necessarily a blog). Programming with Mosh is a great channel for these, for example.

Here's one I found that is specifically a blog:
Code:
https://www.youtube.com/watch?v=InAuuhkBOjM
Not sure about the quality, but it's PHP. How good can it be anyway? :D
 
It took me some time to get started. But that's probably because I had no HTML/CSS experience.

Spend some time fully learning HTML/CSS. No need to delve into the deep aspects of CSS though, just basic formatting will help.

First thing I did was make a login system as suggested above. I didn't learn any of the fundamentals before doing so, literally just pulled up a tutorial without knowing any of the basics. That was a stupid move on my behalf but it still ended up working :D

It took 3-4 hours to get the site login done, and then I started learning the fundamentals :D :D.

I probably built my first advanced blog in around about 2-3 weeks. I didn't follow any specific course but just thought about how a blog should work, admin panel and whatnot. Planned it out, got to work. Soon enough I had a decently functioning site :D

An advanced project I did was making a site for a game that was popular in the blockchain community some time back. I probably only spent 30-40 actual work hours on it, but it turned out great. I would love to be able to show you the site if I could but I deleted it after the game didn't have many users left. I learnt about curl and interacting with APIs whilst working on this project, so it was very helpful.

I highly recommend working hands-on with PHP. Not just reading books and doing small exercises.

Design-wise, codepen is your best friend :D :D
 
Thanks a lot all of you guys. All of your suggestions really made a lot clear to me about PHP. Staying consistent and get deep Into it is the key to learn. I highly appreciate it!
 
It takes about a year to start some serious and good project,
However, it depends on the amount of time and work you spend it :)
 
Back
Top