Log message #4157494

# At Username Text
# Jul 10th 2018, 11:41 lorenzo tutorial?
# Jul 10th 2018, 11:41 lorenzo what do you mean with titular?
# Jul 10th 2018, 11:41 sheraliqureshi.mhtech can is there any titular for learning cake php?
# Jul 10th 2018, 11:41 josbeir i don't know him but i've seen him yesterday
# Jul 10th 2018, 11:41 lorenzo oh, that’s good to know. Seems like I never check the chat when he’s around
# Jul 10th 2018, 11:40 neon1024 @lorenzo He’s been around the last few days :slightly_smiling_face:
# Jul 10th 2018, 11:40 sheraliqureshi.mhtech i really heplp full for me
# Jul 10th 2018, 11:40 lorenzo aside…. what happened to hmic? It’s beena long time I don’t see him around
# Jul 10th 2018, 11:40 neon1024 https://github.com/cakephp/cakephp/blob/master/src/Routing/RouteBuilder.php#L646-L724
# Jul 10th 2018, 11:40 sheraliqureshi.mhtech thank you @neon1024
# Jul 10th 2018, 11:40 sheraliqureshi.mhtech oaky
# Jul 10th 2018, 11:40 neon1024 I’ve already told you that.
# Jul 10th 2018, 11:39 sheraliqureshi.mhtech its is url?
# 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 :)