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?
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! :)
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(); }
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?
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.
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..").
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
php0learner 3 days ago
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 :)
conradkvideos 3 months ago
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 3 months ago in playlist create your own mvc
@yesnikita Glad to help! PDO is awesome :D
JREAMdesign 3 months ago
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(); }
zoopstud 5 months ago
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 6 months ago
@arzuerdem check the version of your php ....
rodymanara 3 weeks ago
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
arsinteandrei 6 months ago
please sort out your keyboard, its the most annoying thing. Apart from that good tutorials!
deamer44 6 months ago
@deamer44 Is the keyboard making that beep noise you mean?
JREAMdesign 6 months ago
@JREAMdesign no a loud clicking noise, I'm guessing you're on a laptop?
deamer44 6 months ago
VERY GOOD
antoniscom 7 months ago
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.
xoomer123 7 months ago
What is the fourth icon that you have on Windows?
Remi1115
Remi1115 7 months ago
thanks for doing these, i know MVC is a bitch to explain, but these have helped me greatly. thanks again. keep it up!
renx99 8 months ago
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 8 months ago
@sumeetjain10 You welcome :]
JREAMdesign 8 months ago
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 8 months ago 6
@MelvinSF Great post I thumbed it up! Probably could also throw in CSRF tokens for the login form too.
JREAMdesign 8 months ago
i would love to know how to intall PDO on servers
gonzo191 8 months ago
@gonzo191 First check your php.ini on your server, PHP comes with PDO you just have to enable it.
JREAMdesign 8 months ago
I only lasted 29:44 seconds :P
StolenPixelite 8 months ago