Log message #4157481

# At Username Text
# Jul 10th 2018, 11:39 neon1024 What is show?
# Jul 10th 2018, 11:39 sheraliqureshi.mhtech $routes->connect('/users/signUp', can u tell me what is show ma "('/users/signUp'," \
# Jul 10th 2018, 11:39 neon1024 If you create a template in `src/Template/Users/index.ctp` by convention it would be loaded in the UsersController index method
# Jul 10th 2018, 11:38 neon1024 That just shows a lack of understanding of MVC as a whole
# Jul 10th 2018, 11:38 sheraliqureshi.mhtech okay
# Jul 10th 2018, 11:38 neon1024 Not in the routing
# Jul 10th 2018, 11:38 neon1024 Yeah, but you define your template in your controllers response
# Jul 10th 2018, 11:38 neon1024 So I’m confused why you’d get that from anywhere
# Jul 10th 2018, 11:38 sheraliqureshi.mhtech in laravel if you have folder and your view file u give . mean like pages.user
# Jul 10th 2018, 11:38 neon1024 I mean, you can’t even do that in Laravel
# Jul 10th 2018, 11:37 neon1024 The routes do not define the templates
# Jul 10th 2018, 11:37 neon1024 The first param of the method is the url
# Jul 10th 2018, 11:37 neon1024 Not sure where you’d get that idea from
# Jul 10th 2018, 11:37 neon1024 Why would you throw a dot in there/
# Jul 10th 2018, 11:37 sheraliqureshi.mhtech if i make folder user and then i create ctp view file in it then how write it in route means like this $routes->connect('/users/signUp', ['controller' => 'Users', 'action' => 'signUp']); or like $routes->connect('/users.signUp', ['controller' => 'Users', 'action' => 'signUp']);
# Jul 10th 2018, 11:35 sheraliqureshi.mhtech i more qurestion
# Jul 10th 2018, 11:35 josbeir alright
# Jul 10th 2018, 11:35 sheraliqureshi.mhtech thank you
# Jul 10th 2018, 11:35 sheraliqureshi.mhtech not completely but i read
# Jul 10th 2018, 11:34 josbeir https://book.cakephp.org/3.0/en/development/routing.html
# Jul 10th 2018, 11:34 neon1024 Would route to the`CatsController` and the `index` method
# Jul 10th 2018, 11:34 josbeir say @sheraliqureshi.mhtech did you read the manual ?
# Jul 10th 2018, 11:34 neon1024 `$routes->connect('/dogs`, [‘controller’ => ‘Cats’, ‘action’ => ‘index’])`
# Jul 10th 2018, 11:33 neon1024 But your actual url can be whatever you want
# Jul 10th 2018, 11:33 neon1024 Routes are defined using tokens, such as `:controller` or `:action`. The usual format for a route, and the default one is `/:controller/:action`
# Jul 10th 2018, 11:32 sheraliqureshi.mhtech means with route name where controoler or wher is action in route @neon1024
# Jul 10th 2018, 11:31 sheraliqureshi.mhtech can u define i route for me
# Jul 10th 2018, 11:31 josbeir just updated and saw it :)
# Jul 10th 2018, 11:31 josbeir was not preset in older 3.x version
# Jul 10th 2018, 11:31 sheraliqureshi.mhtech thanks @neon1024
# Jul 10th 2018, 11:31 josbeir thats included in the newer cake shell
# Jul 10th 2018, 11:31 josbeir ah idd
# Jul 10th 2018, 11:30 edgaras.jan > # If your CLI PHP is somewhere that this doesn't find, you can define a PHP environment > # variable with the correct path in it.
# Jul 10th 2018, 11:30 neon1024 @sheraliqureshi.mhtech Well we can certainly help with any questions you have. Cake and Laravel have some similarities :slightly_smiling_face:
# Jul 10th 2018, 11:30 neon1024 @josbeir Not a clue
# Jul 10th 2018, 11:26 josbeir i always feel myself fiddling with this
# Jul 10th 2018, 11:26 josbeir hmm, what is the best way to change the php binary when using the bin/cake command
# Jul 10th 2018, 11:25 sheraliqureshi.mhtech need help
# Jul 10th 2018, 11:25 sheraliqureshi.mhtech but i have to right his code and i m facing alot of issue in this project\
# Jul 10th 2018, 11:24 sheraliqureshi.mhtech i m laravel developer
# Jul 10th 2018, 11:23 sheraliqureshi.mhtech i m just tring to right his code