Live data from Hacker News

Angular 2 Fundamentals Course

courses.angularclass.com

111–120 of 120 posts

Re: Angular 2 Fundamentals Course

#111
post #73
post #53

Earlier quoted context omitted.

Can you suggest an alternative?

Javascript?

ie for any mildly complex app, [re]implement a framework rather than using an existing framework that is battle-tested to a far higher degree than is possible if you roll it yourself?

Re: Angular 2 Fundamentals Course

#112
post #80

Earlier quoted context omitted.

You don't need all of that from scratch. You can just build React components, and when it comes time to add a store or a router the only thing you need to change are the glue components that bind things together. I think it works out nicely -- the dev process is as composable as the app itself.

Yea I've noticed that. The react community likes to focus on examples involving a sign up form with 3 fields where you "really don't need all of that". Except that is not what most of us SPA devs are building. We need most of that.

Either you need all of that, and the time to set it up is absolutely insignificant compared to the lifetime of the project.

Or you don't need all of that.

It's very, very rarely a different situation.

Re: Angular 2 Fundamentals Course

#113
post #20

Earlier quoted context omitted.

having the option to precompile your framework to 20kb file size which is smaller than some libraries feels like a great feature

20kb? Really? On last week I built NG2 application(rc.4) with one component and size was over 500kb, with all dependencies which needed to run it. Maybe @angular/core weight 20kb, but in order to run real world application need add many dependencies. rxjs, zoom.js, shims, and so on..

We have 75-100 components along with all the angular pieces, polyfills, and ngrx/rxjs. It's 250kb with a minimal build process. I haven't even started digging into any optimization/build tools. I think you're doing something wrong.

Re: Angular 2 Fundamentals Course

#114
post #76

Earlier quoted context omitted.

If it's an internal app or if it otherwise doesn't need to be single-page-app, save yourself some brain cells and do something simple like Rails or Django. If JavaScript is absolutely required, stick with Sails/Mongo and skip the Ember/Angular SPA.

How does that help with a rich front-end? We're not looking to use JavaScript simply for the sake of using JavaScript. We want it in particular for a richer front-end. As far as I can tell, Sails isn't going to help with that any more than Rails does. That's why we're looking into Ember or Angular.

What is reach front end? The one where you wait your js to arrive only for it to issue own API calls, then wait data to arrive, then it to be parsed and finaly shown? It would not surprise my if some dumb turbolinks staff would beat a lot of fancy frameworks performance an UX wise.

Re: Angular 2 Fundamentals Course

#115

Earlier quoted context omitted.

How does that help with a rich front-end? We're not looking to use JavaScript simply for the sake of using JavaScript. We want it in particular for a richer front-end. As far as I can tell, Sails isn't going to help with that any more than Rails does. That's why we're looking into Ember or Angular.

What is reach front end? The one where you wait your js to arrive only for it to issue own API calls, then wait data to arrive, then it to be parsed and finaly shown? It would not surprise my if some dumb turbolinks staff would beat a lot of fancy frameworks performance an UX wise.

> What is reach front end? The one where you wait your js to arrive only for it to issue own API calls, then wait data to arrive, then it to be parsed and finaly shown?

No, that's your own straw man definition.

> It would not surprise my if some dumb turbolinks staff would beat a lot of fancy frameworks performance an UX wise.

Turbolinks absolutely does not beat a well written SPA UX-wise.

Re: Angular 2 Fundamentals Course

#116
post #99

Earlier quoted context omitted.

I wonder where the happy medium is. Setting up React/Redux/React-redux/react-router/react-redux-router/react-redux-router-thunk/webpack-hot-module-oh-my-god-what-am-i-doing takes forever.

Honestly, the fact that people put up with this in Js ecosystem amazes me to no end. I've been working with ClojureScript on the front-end for the past year, and it's just night and day. There's a single build tool ( http://leiningen.org/ ), and it manages dependencies, tests, builds, etc. Things just work. Setting up a new project is as simple as: lein new reagent-frontend myapp I can go and start developing it by r…

CLJS is just a language.

Re: Angular 2 Fundamentals Course

#117
post #31

Earlier quoted context omitted.

Angular for job opportunities, react for more pleasant and forward looking web development practices.

Er.. https://github.com/angular/angular-cli 1. Open terminal 2. > npm install -g angular-cli > ng new app > ng serve 4. Use the cli tool to generate components/pipes/services/etc., build, test, develop 5. Profit. Find a more blissful and joyful experience than this in react land?

The number of steps it takes to get it "up and running" is relevant, but hardly the most important part of what makes a language/framework a pleasant experience. Also, you seem to assume I'm in react land? But I'm an angular developer. I know first hand the big problems of angular :P

Re: Angular 2 Fundamentals Course

#118
post #99

Earlier quoted context omitted.

I wonder where the happy medium is. Setting up React/Redux/React-redux/react-router/react-redux-router/react-redux-router-thunk/webpack-hot-module-oh-my-god-what-am-i-doing takes forever.

Honestly, the fact that people put up with this in Js ecosystem amazes me to no end. I've been working with ClojureScript on the front-end for the past year, and it's just night and day. There's a single build tool ( http://leiningen.org/ ), and it manages dependencies, tests, builds, etc. Things just work. Setting up a new project is as simple as: lein new reagent-frontend myapp I can go and start developing it by r…

This is pretty much what we’re doing with Create React App.

    npm i -g create-react-app
    create-react-app my-app
    cd my-app
    npm start # start devserver
    npm run build # build for production

Re: Angular 2 Fundamentals Course

#119
post #116
post #99

Earlier quoted context omitted.

Honestly, the fact that people put up with this in Js ecosystem amazes me to no end. I've been working with ClojureScript on the front-end for the past year, and it's just night and day. There's a single build tool ( http://leiningen.org/ ), and it manages dependencies, tests, builds, etc. Things just work. Setting up a new project is as simple as: lein new reagent-frontend myapp I can go and start developing it by r…

CLJS is just a language.

It's really much more than that. There's an ecosystem around ClojureScript that's completely separate from Js, and I find the CLJS ecosystem to be far better in many respects.

Re: Angular 2 Fundamentals Course

#120
post #99

Earlier quoted context omitted.

Honestly, the fact that people put up with this in Js ecosystem amazes me to no end. I've been working with ClojureScript on the front-end for the past year, and it's just night and day. There's a single build tool ( http://leiningen.org/ ), and it manages dependencies, tests, builds, etc. Things just work. Setting up a new project is as simple as: lein new reagent-frontend myapp I can go and start developing it by r…

This is pretty much what we’re doing with Create React App. npm i -g create-react-app create-react-app my-app cd my-app npm start # start devserver npm run build # build for production

Sure, but how do you go about doing things like managing dependencies, doing hot code loading, running tests, and so on?
Post reply on HN