5 Things I Wish I Knew When Starting with Laravel

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 27

  • @LittPiChan
    @LittPiChan 3 วันที่ผ่านมา +9

    One of my suggestions should be “Dont just read, but also try to build something.” Trial and error is always the best way to learn stuff.

    • @musiermoore
      @musiermoore 3 วันที่ผ่านมา

      It's really important
      When I was a student, I was choosing a programming language, reading a lot of books, and watching a LOT of TH-cam videos, but it didn't work because I had no practice. My friend is making the same mistake - he just watches videos and doesn't build a project. When you create a project, you face errors, and that's a good thing!
      My advice for personal projects is to try to create something SMALL (you don't have to create anything big) and useful for someone (yourself, parents, friends, teachers, etc.).

  • @jonashansen2512
    @jonashansen2512 2 วันที่ผ่านมา +2

    I would tell him: yes, there may be some pkg for that.
    Read it, understand it, then evaluate whether it's actually needed and whether you need all it offers or if the subset of features you need are better off being written directly in the code.
    Remember, all code is a liability and subject to eventually breaking.
    Less packages usually yields easier upgrades.

  • @augustomoradiaz
    @augustomoradiaz 3 วันที่ผ่านมา +3

    I would tell myself, use laravel naming conventions to leverage laravel "magic".
    I learnt this the hard way, when I started didn't know how important it is.
    Also I would tell myself to split the code in smaller parts and moving them out of the controllers.

    • @LaravelDaily
      @LaravelDaily  3 วันที่ผ่านมา

      Of course, naming convention is important!

  • @linkernetir
    @linkernetir 3 วันที่ผ่านมา +1

    love your insights. please share more of these kind of videos.

  • @TalesGrechi
    @TalesGrechi 3 วันที่ผ่านมา +1

    Thanks for these advises!

  • @PirateBroadcaster
    @PirateBroadcaster 2 วันที่ผ่านมา

    Thank you so much for your work

  • @hyperborean72
    @hyperborean72 วันที่ผ่านมา

    valuable. thank you

  • @cloudaybackup-q8e
    @cloudaybackup-q8e 3 วันที่ผ่านมา +1

    You are Awesome sir!

  • @morteza55510
    @morteza55510 14 ชั่วโมงที่ผ่านมา +1

    I would say "Don't over enginner your code unless it's necessary and makes sense to do so"

  • @JaiveersinhChavda
    @JaiveersinhChavda 3 วันที่ผ่านมา +3

    Advice to my fresher or younger self "Read code (think) again" before asking help on social network or forums.
    Because many times Solution is within error message
    This

  • @richardwheatley7194
    @richardwheatley7194 3 วันที่ผ่านมา +3

    Build a complete project and deploy.

  • @chriram2464
    @chriram2464 2 วันที่ผ่านมา

    13 years in development:
    Absolutly consent

  • @MahmoudMansourSec
    @MahmoudMansourSec 3 วันที่ผ่านมา

    5th one is the goal of the match .

  • @danwah
    @danwah 3 วันที่ผ่านมา

    Have you ever considered a lavalier mic for these types of videos Povilas? I know the format is relaxed / in your car so it might not be a priority. The audio is fine, but it definitely sounds like it's coming from your phone. Maybe the mic could add some finesse to it? Just a thought, appreciate your content nonetheless 👏

  • @VadimBesedin
    @VadimBesedin 3 วันที่ผ่านมา +4

    One more thing: It's fine to start learning Laravel without knowing PHP, and learning both at the same.
    Of course basics of programming are required, like: variables, loops, logic, etc.
    When you see working code - functions, classes, how it all interacts - you get the logic how it all works, and how you may use it for your project or task.

    • @kennethkipchumba2532
      @kennethkipchumba2532 3 วันที่ผ่านมา +1

      This can be a very slow way of learning since when the magic breaks and the new learner doesn't know what just happened or can't be able to know where to begin troubleshooting from, they get STUCK by the dead weight.

    • @VadimBesedin
      @VadimBesedin 3 วันที่ผ่านมา

      @@kennethkipchumba2532 When you go the academic-way - it totally can be slow. And going straight to the business - is one of the fastest ways to learn new things, and remember them well.

  • @shuvadeepchakraborty8639
    @shuvadeepchakraborty8639 3 วันที่ผ่านมา

    Sir please create a free video on the starting journey of testing

    • @LaravelDaily
      @LaravelDaily  3 วันที่ผ่านมา

      I already have a series, look at playlists on the channel

  • @immortal_code
    @immortal_code 3 วันที่ผ่านมา

  • @Andris_Briedis
    @Andris_Briedis 3 วันที่ผ่านมา +2

    Speaking of "freedom" in Laravel. Eloquent or "pure SQL". Understandably, if there are simple links, one, two levels, and only one record or small record processing, eloquent is the best choice.
    But, reports, tables with many levels and links data. Things where there are many tables involved, growing links, at several levels. Eloquent or "pure SQL". By "pure SQL" I mean "DB::table()->leftJoin()". Not "DB::statement()".
    Like - eloquent.
    Dislike - "pure SQL". My vote.

  • @andrews4379
    @andrews4379 วันที่ผ่านมา

    1 thing - never start with PHP 😂

    • @ivanjelenic5627
      @ivanjelenic5627 11 ชั่วโมงที่ผ่านมา

      Why are you watching this then?

  • @keyvanakbarzadeh
    @keyvanakbarzadeh 3 วันที่ผ่านมา