Echo JS 0.11.0

<~>
TheSisb 3663 days ago. link 1 point
I'm glad to read this blog post.  This has always been the point of my confusion regarding front-end devs using Browserify.  

It isn't very intuitive unless you're also a nodeJS dev and you're usually going to end up using things in a very hacky way.

Replies

davidchase 3662 days ago. link 1 point
Hmm interesting why is using browserify usage equate to "hacky way" ?
TheSisb 3662 days ago. link 1 point
Since browserify is taking npm modules and making them compatible on the browser.  As the article points out, you will only know if it works when you try and either fail or succeed.  And as the article comments point out, you would then need to make node_modules public or have something/someone in place to copy the files over to the public dir and keep them in sync.

NPM is great and so is browserify, but I just can't comprehend the idea of basing your front-end module system around something that confused about its own identity.
davidchase 3662 days ago. link 1 point
I use NPM w/browserify without any issues, when im on npm majority of the time module i am looking for states if it will work in browser or not...

For front-end development i symlink some modules into node_modules folder to make it cleaner to require them, instead have relative path hell ie '../../../'

Instead of using bower, or something similar i use napa (npm module), which lets me download something like foundation, right from github and put into my node_modules folder to use in my projects

Personally I like have one system to handle both my server scripting and my front-end as well.
davidchase 3662 days ago. link 1 point
I use NPM w/browserify without any issues, when im on npm majority of the time module i am looking for states if it will work in browser or not...

For front-end development i symlink some modules into node_modules folder to make it cleaner to require them, instead have relative path hell ie '../../../'

Instead of using bower, or something similar i use napa (npm module), which lets me download something like foundation, right from github and put into my node_modules folder to use in my projects

Personally I like have one system to handle both my server scripting and my front-end as well.
TheSisb 3659 days ago. link 1 point
If it works for you then awesome.  I just don't like how it feels personally.  Also we don't use node on our backend where I work, that may account for my thoughts on the matter.