5 Things I Wish I Knew When Starting with Laravel

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

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

  • @LittPiChan
    @LittPiChan 4 дня назад +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 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.).

  • @jonashansen2512
    @jonashansen2512 3 дня назад +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 4 дня назад +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  4 дня назад

      Of course, naming convention is important!

  • @linkernetir
    @linkernetir 4 дня назад +1

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

  • @hyperborean72
    @hyperborean72 2 дня назад

    valuable. thank you

  • @PirateBroadcaster
    @PirateBroadcaster 3 дня назад

    Thank you so much for your work

  • @TalesGrechi
    @TalesGrechi 4 дня назад +1

    Thanks for these advises!

  • @devopsdevelopoptions409
    @devopsdevelopoptions409 12 часов назад

    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.

  • @cloudaybackup-q8e
    @cloudaybackup-q8e 4 дня назад +1

    You are Awesome sir!

  • @morteza55510
    @morteza55510 День назад +1

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

  • @JaiveersinhChavda
    @JaiveersinhChavda 4 дня назад +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 4 дня назад +3

    Build a complete project and deploy.

  • @chriram2464
    @chriram2464 3 дня назад

    13 years in development:
    Absolutly consent

  • @MahmoudMansourSec
    @MahmoudMansourSec 3 дня назад

    5th one is the goal of the match .

  • @danwah
    @danwah 4 дня назад

    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 4 дня назад +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 4 дня назад +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 4 дня назад

      @@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 4 дня назад

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

    • @LaravelDaily
      @LaravelDaily  4 дня назад

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

  • @immortal_code
    @immortal_code 4 дня назад

  • @Andris_Briedis
    @Andris_Briedis 4 дня назад +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 2 дня назад +1

    1 thing - never start with PHP 😂

  • @keyvanakbarzadeh
    @keyvanakbarzadeh 4 дня назад