Hi frinds..Today I am here to show you how to call the our project in htdocs and this lesson is fully depend on our 5th lesson.
Just Start..
See the address bar of the previous output.Here is that.
Just Start..
See the address bar of the previous output.Here is that.
I will expain each and every URL subparts
http://localhost/learncake/Learns/show
localhost------->That is we are using our local server.
learncake------->That is the name of our project.
Learns---------->That is the name if the controller
show------------>That is the name of the function inside the controller.
As a summery the standard URL of CakePhp can be viewd as
http://localhost/NameOfTheProject/NameOfTheController/Functionname
That is all..It is simple.Now eat a piece of cake and have a fun.
http://localhost/learncake/Learns/show
localhost------->That is we are using our local server.
learncake------->That is the name of our project.
Learns---------->That is the name if the controller
show------------>That is the name of the function inside the controller.
As a summery the standard URL of CakePhp can be viewd as
http://localhost/NameOfTheProject/NameOfTheController/Functionname
That is all..It is simple.Now eat a piece of cake and have a fun.