3 ms·
I really dig the simplicity of this approach, yet I think it's disaster waiting to happen. Essentially, you're moving a part of your functionality (the part th
by akie 18y ago
I really dig the simplicity of this approach, yet I think it's disaster waiting to happen.
Essentially, you're moving a part of your functionality (the part that determines which URLs exist, and which parameters are defined in those URLs) from a programming language environment to a common language environment (the comments). That common language environment is not as capable when it comes to defining, specifying or altering functionality - but it's what a programming language excels in.
So what do you do if you want to generate URLs? Or if you want to define URLs based on some content in the database? Those are hard things to accomplish with your current approach. I assume that there's a proper API that might address such issues, but the article doesn't mention such a thing. Good luck though.