Namespaces and CodeIgniter 4

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

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

  • @thesloveniaboy123
    @thesloveniaboy123 4 года назад +9

    Amazing, just amazing! We really need more videos like this. I think CI4 is way better than Laravel at least for me. Small footprint, great performance and very powerful! It got everything you need!

  • @davidalberola1365
    @davidalberola1365 4 года назад +3

    Thank you ! Please keep posting about CI4 !

  • @unboxkarunadu372
    @unboxkarunadu372 4 года назад +2

    Nice explanation, we want more Codeigniter 4 tutorial from your side

  • @xicor9469
    @xicor9469 4 года назад +1

    I am absolutely in love with the framework & I can only imagine the amount of work that has went into building this. I want to see this flourish & I'm happy to know you are taking the time to build knowledge around it. I would love to see more such videos (or articles as the former can take more time) on different aspects of the framework as well as some best practices.

    • @ignitedcode3091
      @ignitedcode3091  4 года назад

      Glad you're enjoying it! I will keep adding to the videos, as I'm sure quite a few others are also.

  • @NullViewer
    @NullViewer 4 месяца назад

    I feel sorry, for all this great effort poured into these videos and with so little likes. REALLY great content!
    I came there after was tasked to migrate PHP 7 to PHP 8 and 10+ years old CI 3 codebase to CI 4. 160 tables. Millions of records. And I never worked with PHP/programming. Systems guy. But Im progressing nicely. Currently writing migrations, seeders, entities, basic models and controllers. Old codebase is a mess. No models. Just 8K SLoC controllers.
    So,... these videos helps me to understand how to better organize the new codebase. Primarily PHP is used just for API. All the frontend is done in JS as SPA.
    I believe, some use "Features" naming instead of "Modules", but i like Modules more.
    What currently is not clear for me is... for example, almost in every controller i need to have current user_id or stakeholder_id. And I dont know where should I implement that. Is it like helper? Also, how to prevent IDOR. How to organize huge models with many many complex methods.
    Listing these like for inspiration from a newbie perspective.

    • @lonnieezell
      @lonnieezell 4 месяца назад +1

      Thanks so much for the kind words. I'm glad they're helping you out!

  • @rockybkk8920
    @rockybkk8920 4 года назад +3

    Very well explained. Clear and to the point. Thanks

    • @ignitedcode3091
      @ignitedcode3091  4 года назад +1

      Thanks! Glad you liked it. I felt like I might have been rambling a bit, so glad to hear the info came through anyway lol

  • @amyouni
    @amyouni 4 года назад +4

    Thank you for the work that you are doing. May I suggest a future tutorial to cover a sample crud and ajax-crud in CI4 (what would be the way you would do it)

  • @mastertubeme
    @mastertubeme 4 года назад +3

    Very nice video, well explained.
    I have lots of projects in CI 3.x and realy wanted to know more about migrating.
    Would like to hear about unit test also.

    • @ignitedcode3091
      @ignitedcode3091  4 года назад +1

      The testing features are definitely something I'd like to cover.

  • @StevenMcGregor
    @StevenMcGregor 4 года назад +1

    Great video, thanks. It would be hugely appreciated if you could do one specifically about building modules.

    • @ignitedcode3091
      @ignitedcode3091  4 года назад +1

      Great suggestion! That's definitely something I'll get to sooner rather than later. Thanks.

  • @lifejoin7742
    @lifejoin7742 4 года назад

    Need guidance on
    Libraries
    As get_instance
    Url - segment
    Call libraries class function in View file
    It was easier in ci3
    Please guide

    • @lonnieezell
      @lonnieezell 4 года назад +1

      You'll be able to get more help over at the forums, but: Libraries are just classes, just $myLib = new Library(); Get the url stuff with request()->url->getSegment(1); It's all in the user guide, also. If you need more help jump to the forums or Slack.

    • @lifejoin7742
      @lifejoin7742 4 года назад

      @@lonnieezell yes I have posted at codeignter forum under general help

  • @BertrandKintanar
    @BertrandKintanar 4 года назад

    Shouldn't the Config's namespace be App\Config? Since App = app then Config is inside the app directory that makes it App\Config right?

    • @ignitedcode3091
      @ignitedcode3091  4 года назад

      It can also be reached that way. It's the only folder that has it's own namespace, but that was done so that even if the developer changed the main App Namespace from App to something else, the system files could still easily find the config files.

  • @abdallawanjusi
    @abdallawanjusi 4 года назад +2

    Thank you so. Please do for us about session. Thanks

  • @adsheff
    @adsheff 4 года назад

    Which code editor is that that you're using?

  • @NewwebmasterRu
    @NewwebmasterRu 4 года назад

    need more videos like this

    • @ignitedcode3091
      @ignitedcode3091  4 года назад

      Thanks! They'll come. Wish I had more time to do them, but they will come.

  • @ulflundahl5572
    @ulflundahl5572 3 года назад

    Perfectly explained

  • @vikrantsharma8085
    @vikrantsharma8085 4 года назад +2

    I am big fan of the codeigniter i have developed lots of projects using ci 3.x really happy see ci 4 in action, official youtube channel is what we ever need to get trustable development practices. video is great but should be available in 1080p and audio is not clear enough for non native english speaker.

  • @erensrtky
    @erensrtky 4 года назад

    Very good explanation thank you ! If you make a jwt auth tutorial with ci4 it will be good.

  • @codedeckz
    @codedeckz 4 года назад

    Thank you!!!

  • @ytkeebOo
    @ytkeebOo 4 года назад

    thx. it's clear now.