12. Install AdminLTE in a CMS | Absolute vs Relative path HTML | Build a CMS using OOP tutorial MVC

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 มิ.ย. 2024
  • Let's install AdminLTE theme in our CMS, and show the difference between web-root and directory-root in a MVC application, and also between the absolute vs relative path html.
    Basically how to install your own theme, and how to configure all paths and links correctly.
    Interested in learning real-life PHP design patterns?
    ➡️ www.ApplicableProgramming.com/
    Join our Facebook group to follow the news and join discussion
    ➡️ / applicableprogrammers
    or discord group if that is more your thing
    ➡️ / discord
    ➤ LINKS
    ➡️ Source on github: github.com/applicable-program...
    (use tags to navigate between lessons)
    ➡️ AdminLTE theme adminlte.io/
    ➡️ Password hashing and creating • 9. Admin and PHP Passw...
    ➡️ Private "Applicable Programmers" facebook group / applicableprogrammers
    ➡️ Discord server / discord
    ➡️ Other tutorials: www.ApplicableProgramming.com
    Timestamps:
    Intro (00:00)
    Admin theme & adminLTE (05:54)
    Relative vs Absolute paths (18:40)
    Making pages list admin (28:25)
    Homework (33:07)

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

  • @AhmedMohamed-bz3li
    @AhmedMohamed-bz3li 3 ปีที่แล้ว +4

    You are really amazing teacher, thank you

    • @ApplicableProgramming
      @ApplicableProgramming  3 ปีที่แล้ว +1

      Thank you for your kind words Ahmed, that is nice to hear. Are you following entire tutorial?

    • @AhmedMohamed-bz3li
      @AhmedMohamed-bz3li 3 ปีที่แล้ว +1

      @@ApplicableProgramming Yes sir

    • @ApplicableProgramming
      @ApplicableProgramming  3 ปีที่แล้ว +1

      @@AhmedMohamed-bz3li great. Please let me know if you are having some issues while following along :)
      are you working as developer already, or just learning?

    • @AhmedMohamed-bz3li
      @AhmedMohamed-bz3li 3 ปีที่แล้ว +1

      @@ApplicableProgramming am learning but i don't know how to go forward, what do i need to do. if you have ideas

    • @ApplicableProgramming
      @ApplicableProgramming  3 ปีที่แล้ว +1

      ​@@AhmedMohamed-bz3li You need a goal so that you know where you want to push towards, and measure your progress. Where do you want to work at, what type of company? What projects or technologies do you want to work with?

  • @patrykojewski298
    @patrykojewski298 ปีที่แล้ว +2

    Thanks !

  • @samtakahashi5602
    @samtakahashi5602 3 ปีที่แล้ว +2

    Thank you for this great series! Your explanation of file paths was well done and easy for a beginner(like me) to understand.

    • @ApplicableProgramming
      @ApplicableProgramming  3 ปีที่แล้ว

      Thank you Sam, that is nice to hear. Are you following entire serie of only this video?

    • @samtakahashi5602
      @samtakahashi5602 3 ปีที่แล้ว +1

      @@ApplicableProgramming Thanks for the reply! I'm following(and enjoying) this entire series. I couldn't get the .htaccess file to work, and I'm currently stuck with another problem, but I'm presistent and will try to figure out a solution on my own :)

    • @ApplicableProgramming
      @ApplicableProgramming  3 ปีที่แล้ว +1

      @@samtakahashi5602 That is an excellent attitude to have, it will push you trough the career, because that will often happen that you just cannot get help in some specific case. Do you already work as developer, or preparing to become one?

    • @samtakahashi5602
      @samtakahashi5602 3 ปีที่แล้ว +1

      @@ApplicableProgramming I work as a freelance web designer. Frontend work is my main focus, but I'm also interested in backend development. There's still a lot of PHP work opportunities and my goal is to become more of a full stack developer.

    • @ApplicableProgramming
      @ApplicableProgramming  3 ปีที่แล้ว

      @@samtakahashi5602 That is great as you can then do pretty much all. Or at least have a good understanding of all ends in the process. Do you plan to continue with freelancing?

  • @ApplicableProgramming
    @ApplicableProgramming  3 ปีที่แล้ว +5

    Do you prefer to install AdminLTE via npm/composer or manually?

    • @3266711732665514
      @3266711732665514 2 ปีที่แล้ว +1

      Composer for sure

    • @ApplicableProgramming
      @ApplicableProgramming  2 ปีที่แล้ว

      @@3266711732665514 How do you customize it if it is installed via composer? I mean, you also have to copy some html elements from the theme in your view files, and overwrite css styles in the app itself or?

  • @sadikavllaj6386
    @sadikavllaj6386 2 ปีที่แล้ว +1

    hi thank yo very much for free tutorial .I hope that this program help me in future to adapt in laravel

    • @ApplicableProgramming
      @ApplicableProgramming  2 ปีที่แล้ว +1

      Glad you liked it Sadik. Are you already working with Laravel, or still learning it?

    • @sadikavllaj6386
      @sadikavllaj6386 2 ปีที่แล้ว +1

      @@ApplicableProgramming i am making an internship and first i am learning to build a mvc and then laravel

    • @ApplicableProgramming
      @ApplicableProgramming  2 ปีที่แล้ว +1

      @@sadikavllaj6386 Sounds like a plan :) Good luck!

  • @b4rt1j1
    @b4rt1j1 2 ปีที่แล้ว +1

    Hi, thank you for amazing explanations, may I ask you about your apache settings - I noticed that your server sees your [project name/public] (darwin-cms/public) as a domain.
    Thanks for any answers :)

    • @ApplicableProgramming
      @ApplicableProgramming  2 ปีที่แล้ว

      Sorry for late reply, yes it does. I think I went over mod_rewrite in one of the videos in the tutorial, if not that is what you can search for. mod_rewrite and pretty urls

    • @b4rt1j1
      @b4rt1j1 2 ปีที่แล้ว +1

      @@ApplicableProgramming .htaccess seems to work fine, Im just curious how to hide the "public" segment of URL because my URL looks like localhost/projectName/public/admin...
      I'm know it does not matter since its just a local playground not live server, Im just curious. :)

    • @ApplicableProgramming
      @ApplicableProgramming  2 ปีที่แล้ว +1

      ​@@b4rt1j1 I dont think it is more complex then to put In http-vhosts.conf a VirtualHost directive, and in it you point the DocumentRoot to the folder you want. Somethng like this
      httpd.apache.org/docs/2.4/vhosts/examples.html
      Have you tried that maybe?

    • @b4rt1j1
      @b4rt1j1 2 ปีที่แล้ว

      @@ApplicableProgramming thats it, thank you!

  • @cesaresqueda3108
    @cesaresqueda3108 ปีที่แล้ว +1

    Hola amigo llevo 2 dias tratando de avanzar este capitulo 12 pero no puedo creo que tengo problemas con las rutas y el .htaccess ya que no me muestra el page-list y la verdad repaso varias veces el video pero lo haces demasiado rapido y no puedo ver con claridad lo que haces, recalco que no soy desarrollador solo lo hago por que me gusta, y entiendo que el negocio es que tenga que pagar por una explicacion, pero igual te pido que si me puedes ayudar ya que quisiera terminar el tutorial completo

    • @ApplicableProgramming
      @ApplicableProgramming  ปีที่แล้ว

      Hey man, thanks for following. Unfortunately, this is a bit tricky part and can change from time to time. Try reading this document httpd.apache.org/docs/2.4/vhosts/examples.html or if nothing works, try using the query parameters directly in the url, you do not need the pretty url to continue with the project

  • @janroehikoge2130
    @janroehikoge2130 2 ปีที่แล้ว +1

    Tip: If anyone isn't seeing the html after applying adminlte stylesheet, check for any preloader class and remove it

    • @ApplicableProgramming
      @ApplicableProgramming  2 ปีที่แล้ว

      Thanks for sharing Janroe! Is this your first time building a cms?