Added: 8 months ago
From: JREAMdesign
Views: 10,086
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (22)

Sign In or Sign Up now to post a comment!
  • Hi, tutorial is wonderful. but

    I have the same .htaccess file to force all files to go through a index.php file but my references to the css, javascript, images, not working. I think is the htaccess that is causing this, if so, how can I solve this?

    Please help me.

    thanks

  • I don't get why this part works in your controller.php file:

    $model_name = $name . '_Model';

    Since $name is all lowercase, shouldn't it be something like:

    $model_name = ucfirst($name) . '_Model';

    ?

    Because the class name is like Login_Model and the file login_model.php.

    I really don't know, just wondering how come it works :s

    Anyways, thx for the tuts :)

  • Thank you very much for this video! It was very useful for me! Especially I liked PDO.. I didn't even know that this cool thing exist! Thank you for you professionalism! I'm your huge fan! :)

  • @yesnikita Glad to help! PDO is awesome :D

  • Really enjoying these tutorials, thanks for taking the time to upload them! If you are using php 5.3.0 would you just use get_called_class() in the Controller constructor? Something like.. $className = get_called_class().'_Model'; $classFile = MODELS_PATH.DS.strtolower(get_­called_class()).'_model.php'; if (file_exists($classFile)) { require $classFile; $this->model = new $className(); }

  • Dear Sir,

    First of all I will appreciate to you for your tutorial. I actually have a little problem. I have exactly your tutorial as you have done. It is ok in my localhost but when I publish in ftp I haven't got any view:(

    Could you please help me about the reason why it is not shown?

    Thanks and kind regards,

    Arzu

  • @arzuerdem check the version of your php ....

  • Hello brothers... I need just a litle help.. on this MVC I'm trying to change display on login/index if login failed.

    soo.. before feild to display : Login and after failed..

    let's see something like: Login failed please try again... and then form fields... is that possible??

    Thanking you Andrew

  • please sort out your keyboard, its the most annoying thing. Apart from that good tutorials!

  • @deamer44 Is the keyboard making that beep noise you mean?

  • @JREAMdesign no a loud clicking noise, I'm guessing you're on a laptop?

  • VERY GOOD

  • I would really like to thank you for the tutorials. I found them really easy to follow and gave me a great help in understanding MVC and how to use that.

  • What is the fourth icon that you have on Windows?

    Remi1115

  • thanks for doing these, i know MVC is a bitch to explain, but these have helped me greatly. thanks again. keep it up!

  • Thank you for making and uploding such wounderful tutorials it help us a lot for learning,understanding and to writing good codes,Thank you

  • @sumeetjain10 You welcome :]

  • Nice video as always. Although I hope people watching this understand that the code isn't exactly the cleanest, since it's mainly for illustration purposes.

    Just a few terms that popped up in my mind as I watched this, that other people might want to read up on: "password salting" (greatly improve security), "dependency injection" (design pattern) and "test-driven development" (may be boring to some, but it allows for much more confidence in your code, no more "seems to be working..").

  • @MelvinSF Great post I thumbed it up! Probably could also throw in CSRF tokens for the login form too.

  • i would love to know how to intall PDO on servers

  • @gonzo191 First check your php.ini on your server, PHP comes with PDO you just have to enable it.

  • I only lasted 29:44 seconds :P

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more