5 Things I Wish I Knew When Starting with Laravel

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 32

  • @LittPiChan
    @LittPiChan Месяц назад +11

    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 Месяц назад

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

  • @sandrahufford8858
    @sandrahufford8858 Месяц назад +1

    Tips 1-3 - thanks for validating that I am 'normal' ;) I always felt like needing to read about a subject in 5 different locations meant I was just slow to catch on.
    I didn't realize the importance of tests but am trying to learn - wish more youTube instructors would at least mention it's importance and/or show the test as part of the lesson to amplify it's importance.

  • @augustomoradiaz
    @augustomoradiaz Месяц назад +4

    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  Месяц назад

      Of course, naming convention is important!

  • @jonashansen2512
    @jonashansen2512 Месяц назад +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.

  • @linkernetir
    @linkernetir Месяц назад +1

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

  • @TalesGrechi
    @TalesGrechi Месяц назад +1

    Thanks for these advises!

  • @cloudaybackup-q8e
    @cloudaybackup-q8e Месяц назад +1

    You are Awesome sir!

  • @PirateBroadcaster
    @PirateBroadcaster Месяц назад

    Thank you so much for your work

  • @devopsdevelopoptions409
    @devopsdevelopoptions409 Месяц назад

    I suggest that Laravel, especially its documentation, should include more detailed information on each topic. Sometimes, I feel that the Laravel documentation addresses topics superficially, not comprehensively. It would be better to have more detailed explanations on the website to assist developers, especially beginners, during their learning process.

  • @MahmoudMansourSec
    @MahmoudMansourSec Месяц назад

    5th one is the goal of the match .

  • @hyperborean72
    @hyperborean72 Месяц назад

    valuable. thank you

  • @danwah
    @danwah Месяц назад

    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 👏

  • @mogahidgaffar8719
    @mogahidgaffar8719 Месяц назад

    Thanks a lot

  • @holacuba2001
    @holacuba2001 Месяц назад +1

    OK. I will write my first Test today

  • @JaiveersinhChavda
    @JaiveersinhChavda Месяц назад +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

  • @morteza55510
    @morteza55510 Месяц назад +1

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

  • @richardwheatley7194
    @richardwheatley7194 Месяц назад +3

    Build a complete project and deploy.

  • @shuvadeepchakraborty8639
    @shuvadeepchakraborty8639 Месяц назад

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

    • @LaravelDaily
      @LaravelDaily  Месяц назад

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

  • @immortal_code
    @immortal_code Месяц назад

  • @chriram2464
    @chriram2464 Месяц назад

    13 years in development:
    Absolutly consent

  • @VadimBesedin
    @VadimBesedin Месяц назад +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 Месяц назад +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 Месяц назад

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

  • @andrews4379
    @andrews4379 Месяц назад +1

    1 thing - never start with PHP 😂

  • @Andris_Briedis
    @Andris_Briedis Месяц назад +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.

  • @keyvanakbarzadeh
    @keyvanakbarzadeh Месяц назад