PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun May 31, 2020 1:23 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Dec 08, 2015 9:48 am 
Offline
Forum Contributor

Joined: Thu Apr 16, 2015 7:55 am
Posts: 110


Top
 Profile  
 
PostPosted: Tue Dec 08, 2015 9:53 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada

_________________


Top
 Profile  
 
PostPosted: Tue Dec 08, 2015 10:14 am 
Offline
Forum Contributor

Joined: Thu Apr 16, 2015 7:55 am
Posts: 110


Attachments:
samples_grid.png
samples_grid.png [ 42.87 KiB | Viewed 5635 times ]
nav_bar.png
nav_bar.png [ 10.12 KiB | Viewed 5635 times ]


Last edited by publicGenome on Tue Dec 08, 2015 10:25 am, edited 2 times in total.
Top
 Profile  
 
PostPosted: Tue Dec 08, 2015 10:17 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada
If your POST requests all submit different payloads and your GET requests all return different payloads, I'd leave them as they are. A descriptive routes file is a good thing. If you've got a number of routes that are basically the same, you can route those to a common controller action and go from there. Keeping your routes grouped and prefixed like you're already doing helps keep things nice and neat.

_________________


Top
 Profile  
 
PostPosted: Tue Dec 08, 2015 10:28 am 
Offline
Forum Contributor

Joined: Thu Apr 16, 2015 7:55 am
Posts: 110


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group