Hi everyone! I have a web service with multiple methods and I just want to ask if it is better to combine all the methods into one and put a parameter('action') to determine what controller to run.
What do you think is faster, maintainable and easy to extend?
Thank you!
I would suggest to seperate them from start, it will help you in future as code base starts to grow. Try to think of SOLID Principles (en.wikipedia.org/wiki/SOLID_(objec...) when coding.