[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

who /angular/ here? What do you like about it? What do you

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 78
Thread images: 5

File: angular2.png (676KB, 3360x1940px) Image search: [Google]
angular2.png
676KB, 3360x1940px
who /angular/ here?

What do you like about it?

What do you dislike?

Would you like to lear it?
>>
File: 1483723715393.png (275KB, 465x450px) Image search: [Google]
1483723715393.png
275KB, 465x450px
what
>>
>>58536045

looks cool, share the source?
>>
After experimenting with it, I felt React was a better solution.
>>
I've only used Angular 1.5 and it's really nice once you wrap your head around it, but:

- It's shit for SEO (I heard Angular 2 has tools to fix it but I don't know)
- Performance goes out the window if your views have many bindings
>>
>>58536171
Depends, I personally prefer a full framework (ng) to a simple view library (react), because ng implements everything you need to make a full app and it's opinionated (the angular way), so everyone has to follow the same guidelines and architecture, whereas with react ,you have to combine it with a bunch of other libraries and you have a choice to make your own architecture, so there is no clear way to make a react app, and two react apps made by different devs will never have the same arch, working with angular in teams is better because everyone is following the same clean protocol.
>>
>>58536045
Never heard of it before but I like it by the snippets o can see in your cap. Also like the look of that IDE
>>
>>58536254

It's WebStorm IDE, perfect for angular, https://code.visualstudio.com is free and also good.

if you'd like to play with Angular: https://angular.io/docs/ts/latest/tutorial/

Use angular-cli to bootstrap your project quickly without creating files manually: https://cli.angular.io
>>
>>58536316
Thanks anon, just sent this thread as a PDF to my laptop to check those links out later. Definitely seems interesting
>>
>>58536346
it's pretty cool, you can even make native cross-platform mobile apps with it (one code for native iOS and Android apps): http://docs.nativescript.org/angular/tutorial/ng-chapter-0

I already have 2 apps running in production
>>
>>58536229
That's exactly why they would not prefer Angular. It means they can hack together whatever however they like.
>>
>>58536045
yes
2
1
i have done
>>
>>58536395
eh, no. i prefer when there are clear rules and protocols everyone follows, i don't like this facebook's culture of complete chaos.
>>
>>58536468
I think the idea is that microservices which can interact with each other easily means the implementation can be whatever you want. As long as each component can be rigorously tested. Then what's the harm
>>
>>58536516
what do you mean by microservices?
>>
>>58536516
>>58536555

...do you mean something like this: https://angular.io/docs/ts/latest/guide/ngmodule.html
>>
>>58536045
I spent a 3 months developing an Angular 1.5 e-learning website.

It took me 2 days to re-write the whole thing to react.
>>
>>58536567
we're talking angular 2+ here actually
>>
>>58536045
IDE?
>>
>>58536516
Thats not what a microservice is.
>>
>>58537868

Something that isn't free (not as in beer nor as in freedom), WebStorm
>>
>>58536045
who the flying fuck IS angular here?

if you are one, off yourself m8.
fucking cancerous faggots.

we have ECMAScript 6, you can stop using this cuck shit already.
>>
>>58536171
and then you realize that react is patented code and you're intentionally putting yourself at legal risk of facejew by using it, for no good reason since all of react can pretty much be done with other frameworks WITHOUT patent risk.

retard.
>>
>>58540447

https://raw.githubusercontent.com/facebook/react/master/PATENTS

before some retard says it isn't patented
>>
>>58536045
I prefer react. Does angular still have no compile time errors on templates? Its what threw me off initially. I mean string templates, what year do we have, why on earth can't they just use JSX.


>>58537868
its some intelij variant but VS code is much better imo (unless maybe if you are already cucked by them and know the IDE 100% then its probably more efficient).
>>
>>58540488
because JSX is shitty?

you have shit like choo, bel, hyperx which don't need to be fucking compiled by your retarded gulp/webpack/whatever faggy build tool chain and actually come out better.

hell if you like to be a functional cool kid, you even have shit like hyperscript
>>
>>58540522
does hyperscript work with angular? I don't particullary mean jsx. I just don't want to use fucking string literals.
>>
>>58540529

probably not.

angular is pretty embedded with that ng-ism bullshit since it's pre template string ECMAScript 6.

theoretically you could, but you'd be better off with another framework.

you can use shit like hyperscript with react, but i can't recommend react since it's nonfree software.
>>
>>58540488

angular 2 has compile time errors on templates, and uses typescript 2 (basically ES6 but strongly typed, line 6 on OP's code)
>>
>>58540630
>line 6

16*
>>
>>58540488

> why on earth can't they just use JSX

long answer: because JSX is cancer and completely unnecessary, angular achieves the same thing and more with HTML

short answer: JSX is unnecessary cancer
>>
>>58540630
wow

angular 2 requires more transpiling cancer

jesus fucking christ.
>>
>>58540630
its compile time but when angular compiles it, not when typescript gets compiled, right? (at least thats how it used to be last time i checked) I want it to fail at the typescript compile time because when I get a static type checker like typescript I want to have 100% type coverage and string literal templates are a weakness.

>>58540678
>completely unnecessary

not true, see reasons above.
>>
>app logic on client side
LOL
>>
> I'm an idiot.
your a gigantic faggot. C Book, dipshit.
>>
>>58540678
ya because ng-fdmsakfdsafdsa attrs in your shitty html are so great instead of having proper designed templating languages, like i don't know template literals which are fucking in javascript?

kill yourself angular cuck.
>>
>>58540730
> Angular
Because Java have too little scaffolding and boilerplate and tools that you need to use.
>>
>>58536045
I like that McDonalds has an angular XSS vulnerability right now because they are a framework baby that used angular.
>>
>>58540773
good thing they never take input from their customers
>>
fuck angular.
use react
>>
>>58540944
fuck react
use angular
>>
>>58540756
what are you even on about nigger
>>
>>58540944
>>58542791
Fuck this shit, I'm out of here.
>>
Vue.js shits on Angular and React.
>>
File: 0131 - hgaaIWw.png (152KB, 600x503px) Image search: [Google]
0131 - hgaaIWw.png
152KB, 600x503px
Angular 2's bootstrap code is a fucking cancer. I waited so long for Google to get their shit together, and then RC5 right before release changes up core shit and makes it a pain in the ass to fuck with.

Fuck it. I'm done with Angular 2. Angular 1 was ok, albeit not very elegant. I've moved on to React. It's so nice working with something that feels more like programming rather than abstracting the fuck out of everything with stupid typed shit that was never intended with JS and all.

Fucking make a new standard language if you want something completely different than JS. JSX is at least basically JS with sprinkles on top.
>>
>>58536200
That's why you take a snapshot and redirect the crawlers to it with robot.txt
>>
>>58540944
>>58542791
javascript frameworks in a nutshell
>>
so guys, why the fuck should I switch to angular 2?
>>
Fuck angular
Reinvent the wheel
>>
>>58536045
wtf is angular
>>
>>58540522
If you're not completely retarded you should have a build process for Angular too. And Gulp is so shit it doesn't even count.
>>
Vue is half the size of React.
>>
vue > react > angular 1 > angular 2 > angular 3
>>
>>58543131
They're trying with Dart, but it doesn't seem to be catching on very well.
>>
> .ts

Youre text editing mpeg2 transport streams?
>>
>>58545872
Kek
>>
File: 1484726175792.jpg (82KB, 500x715px) Image search: [Google]
1484726175792.jpg
82KB, 500x715px
>>58536045
Angular shit the bed shill, it will never catch up to react or even vue.
>>
File: IMG_3587.jpg (46KB, 454x418px) Image search: [Google]
IMG_3587.jpg
46KB, 454x418px
>>58544930
ah yes, vue, the framework of choice of unemployed

>>58546372
lel
>>
>>58546443
Angular 2 is a bloated mess. Vue is lightweight and significantly faster.
>>
Should I start a project using Angular or Angular2?
>>
>>58546561
If you're considering Angular, you could just use Vue, which can be quite similar to idiomatic Angular 1.5+ and has way less useless bloat. You don't need a framework to fetch some JSON with a neat API these days, and you can always include some polyfill if you want to support old shit.

You pretty much need build tools for Angular 2 so you might as well use React if that's your thing.
>>
>>58546561
Ng1 = abandoned when Ng2 gets >50% of the downloads
Ng2 = bloated, incoherent, extremely slow, extremely big
>>
What exactly IS Angular?
I just write html/css/javascript and use some jquery just for shortcuts and some basic functions missing in native javascript.

What do you use Angular for specifically? I don't understand it.
>>
>>58546691
>>58546696

what bloat are you even talking about, I'm not sure you understand what angular2 is, there is no bloat first of all, plus there is ahead of time compilation which accelerates the final build by up 30% and reduces the bundle size by half, if you're concerned about delivering your app to mobile via 3g/4

nobody cares about vue, let's be brutally honest here, all job listing and offers I get on LinkedIn is 50/50 react and angular2, literally zero times in my 4 years of experience with web agencies I've been asked if i know vuejs.

>>58546561
Angular 2 of course: https://angular.io/docs/ts/latest/quickstart.html
>>
>>58546793
Single page applications with lots of views and moving parts.
>>
>>58546857
>ahead of time compilation

Like what every non-retard has been doing with Angular 1's template cache and (insert build automation tool here)?
>>
>>58546857
Dude it's like 150kb of bloated JS. It's bloated as fuck.

>user with slow Internet stares at white page for 5+ seconds

Literally garbage.
>>
>>58546793

Complex Web/Mobile Applications (not websites but Applications), where you need to reuse components easily thought the application.

Ex: Think administration, analytics, telemetry dashboards, where all data is flowing in from all directions at the same time and you need to handle it quickly and update the UI accordingly without worrying too much about UI updating logic.

You build your angular apps by constructing small isolated components, each one has it's own purpose and logic built in (how to manage and display the data) and you can reuse each component across the applications without rewriting any code.

Of course to components can interact with each other to build even more powerful and complex app logic.
>>
Vue is #1

https://risingstars2016.js.org
>>
>>58546793


real world application currently in production, interesting read: http://blog.mgechev.com/2017/01/17/angular-in-production/
>>
>>58546880
>>58546992
>>58547754
Thanks. This makes a lot of sense to me now. If I do custom one off interfaces there is not much benefit from angular.
Going to try to use angular when I do my web control panels. Looks like it forces good design practices and makes something maintainable.
>>
How large do your angular app bundles end up?

I heard that even if you pre-compile and do everything important, it's still going to be like 500kb, which is horrible.

Tree-Shaking doesn't count because eventually, you're just going to end up using those features it cuts off as your app grows.
>>
>>58548092

>Looks like it forces good design practices

I really does, just please, be sure to use angular cli to bootstrap, compile and manage your projects via terminal https://cli.angular.io
>>
>>58548092
>Going to try to use angular when I do my web control panels

actually angular would be very appropriate for something like this
>>
Angular 2 is a meme from Google, it takes to much time to learn and is not worth it, when Google deprecates Angular 2 in favor of Angular 4 making backwards incompartible and making you relearn everything again I'm going to LMAO in the face of all those who defent that bloated framework.
>>
>>58536045
I prefer PHP as my backend personally.

I tried out meteor/react stack and felt it was a shitstorm. Looked at angular but 2.X was only just made public at the time so didn't invest anything into it.

JS libraries/frameworks just feel so disjointed when I look into them.
>>
>>58540447
>>58540477
But this patent just says 'you can do what you want but you can't sue us for the anything to do with the software.'
>>
>>58536045
I would like to learn it
Thread posts: 78
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.