I would say set up a basic system in Laravel and get to the point where you can do basic crud. When you feel a little comfortable with that then perhaps interject and update with AJAX. And basically go from there taking little small steps at a time. But definitely start with just laravel with no Ajax at first. Remember, the same methods that are used to update a record are also used in Ajax to update a record.
Edit:
Hint, if you get stuck on something of course ask a question here. But please remember to do a forum search first, there are many answered questions already. Things like authentication, pagination, a one-to-many relationship, and things of that nature has been answered many times already.
Yes another edit:
Don't forget the Basic laracast series to get you started out. I bet @bashy can't top this answer. But somehow he probably will.
Overwhelmed by learning Web Development
Hey everyone,
I have a question about learning web development in general. I recently subscribed to Laracasts because I’ve toyed around with Laravel in the past (around 2 months ago) and it will probably be my framework of choice in the future. However, I have had one problem back then (and now). I feel like I’m too inexperienced with PHP, so I took a step back and took a deep dive in PHP and I am now familiar with PHP. I recently built a procedural basic web application with a MYSQL database from scratch (including authentication) and I am now at a point where object oriented PHP also starts to make sense, though I have no idea how to apply it practically (and even if I try, I would probably write really bad code anyway). Atleast I understand the OOP syntax very well. After spending a lot of time learning things, I feel like I have spent too much time being in the “tutorial phase” of programming. What I mean by this is that I followed a lot of tutorials, syntax tutorials for examples, but I haven’t created anything yet (1 or 2 projects). I have read too much theory and spent way too little time actually building things even though I have the desire to create things. The problem is, whenever I want to start building cool things, my mind is reminding me of all the things that I still need to learn before I can call myself a competent developer. Examples are:
- What is an API exactly?
- Learning Javascript/JSON
- AJAX
- Learning how to build Web Scrapers / Bots
- Learning about Web Sockets
- PHP Security and best practices
- Good OOP practices
- Traits, Namespaces?
- Any of the modern web development things (Gulp/Grunt, Elixir, React, Angular)
The list goes on. The question is, when is it a good time to dive into frameworks like Laravel? I want to get a good grasp on programming in general in the most efficient way as possible, so I made this kind of schedule:
First I am going to build a web application from scratch using OOP practices, then I will use Lumen or Slim (or any other good Micro PHP framework) to understand a (micro)framework in a little bit more detail. Then I want to build my own small MVC, and then I’m going to take a look if I can contribute to open source projects, and then start learning Laravel.
Have any of you guys ever been in a phase like this? Do you have any tips to streamline this process or can you guide me in the right direction? Or should I just start building things in Laravel while learning those things on the go?
Edit: Well, that was quite a lot of text. :p
Hey @JeanPierree congratulations on your progress so far, this stuff is tough. Have you seen Jeffrey's Laracon 2015 presentation https://laracasts.com/lessons/jeffrey-way-laracon-2015-presentation ? at around 8:19 he talks about how writing software is hard and delivers a list of all the supposed skills a web developer should have in a comedic way.
The point is, not to make you feel bad about all the stuff you "should" know, but just to accept that it takes time and that you will never stop learning. You only have to Google "Impostor syndrome" to see that lots of developers with many many years of experience still have doubts about their abilities. There's a Laracon talk about that as well https://www.youtube.com/watch?v=wtrF5C7Gv7E
My advice would be to build something from scratch that will be useful to you. Perhaps a catalog of your music/videos/games or a simple CMS or something else. Start simple but if it's something useful to you then you will be motivated to develop it further. Then make it mobile friendly or add ajax or a rest api or whatever. It may not be the greatest code in the world but that's ok. Make it work and then review it and see how it could be made better. See if you can find a code mentor, either online or in real life. You may be able to find one at your local PHP/(Laravel?) meetup group if you have one nearby. As mentioned above, people often like helping others.
Good luck, we'll be here on the forum waiting for your questions ;-)
Please or to participate in this conversation.