tooling / book-of-modern-frontend-tooling

The Front-end Tooling Book
http://tooling.github.io/book-of-modern-frontend-tooling/
2.53k stars 177 forks source link

Dependency management > npm + Browserify #7

Open addyosmani opened 10 years ago

addyosmani commented 10 years ago

The trick with this section is going to be deciding how much of the tooling around Node/npm we include in the introduction section of the book (given that Grunt/Yeoman etc rely on them so heavily) vs. how much of this we capture in this chapter.

Either way we should talk about:

We can very likely flesh this out better. Ideas welcome.

jackfranklin commented 10 years ago

Have written briefly on this previously.

I think a layout such as:

addyosmani commented 10 years ago

That layout looks pretty solid to me - we can always iterate over time :)

Don't suppose you'd be interested in getting involved on the Browserify chapter, @jackfranklin? :)

jackfranklin commented 10 years ago

Absolutely, within reason, although I can't commit to too much ATM..blame University exams! :)

Are you planning to cover Grunt/Gulp before going into this kind of thing? I think that way would make sense because then you can reference things. EG, would be easier to explain the browserify Grunt/Gulp task if Grunt/Gulp has been explained first.

addyosmani commented 10 years ago

Yep! Gulp, Grunt and Brunch will be covered earlier on! I also envision us having an intro section which talks about the tooling basics that many of the other tools build on (Node/npm/command-line etc). That way you can refer back to those explanations without having to worry about repetition.

Totally understand commitments and time constraints :) You could even (if you wanted) reuse some of the content you've already written on the subject as a baseline. The project is all about getting a kickstart on a reliable educational resource about front-end tooling and we can always improve as we go on.

toddself commented 10 years ago

Would love to see a discussion on using browserify-shim and other plugins to help build bundles, as well not using a build system, ie generating the bundle.js on the fly in development so you don't have to worry about live reload, etc. (this is what we currently do)

sethvincent commented 10 years ago

I'd be excited to help with this chapter if needed. I've got this post and a couple others that might be useful: http://superbigtree.tumblr.com/post/54873453939/introduction-to-browserify

This roundup I did of various blog posts about browserify may be useful as a resource: http://learnjs.io/blog/2013/11/24/browserify-resources/

Related to @toddself's comment: including a section about use of watchify and/or beefy for development would be great.

jackfranklin commented 10 years ago

@sethvincent would love to "team up" as it were on this :)

sethvincent commented 10 years ago

@jackfranklin Cool!

Here's a revised list of sections:

Adapted from your list above and here: https://github.com/tooling/book-of-modern-frontend-tooling/issues/6#issuecomment-31259216

Feel free to revise this further. Maybe we claim the sections we want to work on?

addyosmani commented 10 years ago

@jackfranklin @sethvincent if you're happy, I can finalize you both as co-authors of this chapter and add it to the index. We're working on fleshing out the repo structure/build process etc. so plenty of time to work on the section as time allows.

jackfranklin commented 10 years ago

@addyosmani @sethvincent ah sorry, managed to miss your last message.

That list looks good to me and I'm happy to co-author. Next 2 weeks of my time are fairly busy with exams but I should be able to do bits & bobs and then commit more time after that. If you're cool with that Addy feel free to add me to the co-authors list :)

sethvincent commented 10 years ago

@addyosmani Awesome! That works for me. @jackfranklin, do you have particular sections you'd like to work on?

I'm thinking I'll do a first pass on these:

shama commented 10 years ago

A couple of things I didn't see mentioned but probably should be:

sethvincent commented 10 years ago

Thanks, @shama. I added those to the list.

Raynos commented 10 years ago

I'll happily review this chapter and help if I can !

addyosmani commented 10 years ago

Just a friendly ping to see where we are on this :) Thanks again for volunteering to help out with this chapter!

addyosmani commented 10 years ago

@jackfranklin @sethvincent I know both of you are probably busy at the moment, but I was wondering if you might have a chance to take a look at this sometime over the next month. It would be fantastic if we could even start by repurposing/updating some of the existing content we've written about this subject (I think Jack may have) and can then at least ask others in the community to help us expand on that base. I believe @Raynos and others would still be up for reviewing if that was the case.

jackfranklin commented 10 years ago

@addyosmani I actually managed to make a start on this - Uni dissertation getting in the way! I'll try to find time to push what I have up in the next couple of days so we can start on this. Sorry it's taken so long.

jackfranklin commented 10 years ago

@addyosmani @sethvincent et al I have finally made a start. Not tonnes of work (yet) but it does now exist: #50.