New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a “CanJS” version of the in-depth guide. #4524

Open
Lighttree opened this Issue Oct 11, 2018 · 5 comments

Comments

Projects
None yet
3 participants
@Lighttree
Copy link

Lighttree commented Oct 11, 2018

Proposal

This is about creating advanced CanJS guide same as DoneJS In-depth guide.

This is based on forum discussion: https://forums.donejs.com/t/open-source-theory/975

Why

Main difference from existent DoneJS guide that I can think about is:

  • Presented on CanJS.com
  • Follows best practices in CanJS applications.
  • Shows how CanJS application can be built from architecture standpoint.
  • Covers same points as in DoneJS guide. (Almost all development aspects).
  • Doesn't use DoneJS specific features.

Benefits

Main benefit is improve learning process of CanJS for newcomers and decouple it from DoneJS.

@frank-dspeed

This comment has been minimized.

Copy link
Contributor

frank-dspeed commented Oct 15, 2018

@Lighttree please visit

@Lighttree

This comment has been minimized.

Copy link

Lighttree commented Oct 16, 2018

Hi @frank-dspeed

I don't think that this topic related to #4533 or #4527 (its good and I personally interested in this).
I don't expect that this guide will use any particular technology or way to handle things, because there are too many technologies that you can use.

I think main idea here is to show how you can with CanJS, using any tool, it might be Steal as well, key point is avoid features like Done-SSR or any other that don't work with CanJS out of the box.

@frank-dspeed

This comment has been minimized.

Copy link
Contributor

frank-dspeed commented Oct 16, 2018

@Lighttree i think it is as this is the first working example running in node and the browser packaged by rollup js nativ esm bundler and running ans nativ esm module

@frank-dspeed

This comment has been minimized.

Copy link
Contributor

frank-dspeed commented Oct 16, 2018

@Lighttree this is exactly what you need to do to package a canjs app for production without steal loader.

@Lighttree

This comment has been minimized.

Copy link

Lighttree commented Oct 16, 2018

@frank-dspeed Maybe I'm missing some point, but I pack prod bundle with WebPack without any extra work from CanJS side (and without Steal loader obviously) The result isn't native 'esm' module of course, but there is no requirement around it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment