by tr4nslator · 16y ago · 0 comments
My original approach for (fab) was like jQuery:
fab()
.find( path )
.bind( method, handler )
.find( subpath )
.bind( method, handler )
.end()
.end()
.end()
but I realized that I could simplify things by getting rid of methods entirely, and reserving methods for HTTP methods and status codes.As for people not realizing they can define functions outside of the DSL, I'm hoping that the extensibility of middleware will mitigate that, just as the ecosystem of plugins did for jQuery.
No comments yet.