3 ms·
There are definitely design patterns for frontend. There are just no books being published on this topic yet. Most knowledge in this area is scattered is varie
by lightblade 12y ago
There are definitely design patterns for frontend. There are just no books being published on this topic yet.
Most knowledge in this area is scattered is varies blog post, tech talks, and maybe some framework guides. There are a few published as GitHub gists and readme. Occasionally, you'll find some comments in framework source code that reference some reading material
But yes, it would be nice for someone to put together a book.
Some example of frontend pattern:
- promise
- data binding
- FRP event stream
None of these are exclusively frontend, but you'll see them more often in UI development.
- rimantas 12y agohttp://vault.simplebits.com/publications/bulletproof/ http://vault.simplebits.com/publications/bulletproof/ comes close, alas it is quite old. OTOH it may be still worth taking a look, because the same way of thinking still applies. Also, it was written in the golden age of the web. I'd say in those years the cleaniest code was written. Later we got one-page-web-sites, javascript-everything, moronic war for the mobile, and crap like OOCSS and BEM, i. e. went back into the mess. We also got gazillion of frameworks and node powered tools to produce mess even faster and in larger quantities. I wonder, will we ever get another 'clean the web' revolition like one in 200x