4 ms·
I haven't seen your code, but using lots of Singletons is usually a code smell. > Learn a bit about microservices and RESTfull stuff and you might begin to see
by pier25 10y ago
I haven't seen your code, but using lots of Singletons is usually a code smell.
> Learn a bit about microservices and RESTfull stuff and you might begin to see the light, about how a browser can consume an API that sends back JSON DATA rather than rendered HTML. It's the future.
RESTful APIs are great but you are 10 years late to the party.
Using RESTful APIs is exactly the same thing web services were back 15 years ago with XML.
https://apievangelist.com/2012/12/20/history-of-apis/ https://apievangelist.com/2012/12/20/history-of-apis/
- ClayFerguson 10y agoI actually don't like RESTful stuff. I used the term to point out that the conversation between client and server is pure JSON which is the technique REST popularized. meta64 has a 'functional' interface to the server, and yes it's state-of-the-art. JSON up and JSON down.