/wdg/ - Web Development General

>Previous Thread
>>somehwere in the archive, who knows

>Getting started
Get a good understanding of HTML, CSS and JavaScript.
MDN web docs offer a good intro (independent of your browser choice)
developer.mozilla.org/en-US/docs/Learn


>Free online courses
codecademy.com/
freecodecamp.com/
bento.io/

>Roadmap
github.com/kamranahmedse/developer-roadmap

>Resources
developer.mozilla.org/en-US/docs/Web - General documentation for HTML, CSS & JavaScript
stackoverflow.com/ - Developers asking questions and helping each other
caniuse.com/ - Check browser support for front-end web technologies

>Youtube channels
youtube.com/user/TechGuyWeb - Traversy Media
youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ - freeCodeCamp
youtube.com/channel/UCO1cgjhGzsSYb1rsB4bFe4Q - funfunfunction
youtube.com/derekbanas

>in-depth comparison of VPS hosts
webstack.de/blog/e/cloud-hosting-provider-comparison-2017/

Other urls found in this thread:

github.com/vuejs/vue-hackernews-2.0
github.com/vuejs/awesome-vue#enterprise-usage
vuejs.org/v2/guide/team.html
twitter.com/NSFWRedditVideo

Telecoms web-dev reporting in.

React is getting re-licensed to MIT

just goes to show that ones the memes have started, you can't stop them, they've already convinced people with whatever they want to believe (gmos for example)
oh well

Is Django ded?

Too late. They showed their hand already. Hopefully Wordpress doesn't reconsider.

looks fairly stable, but not sure how well that graph represents usage.
According to that there should be lots of Node jobs, but I see way more asking for Java skills for example.

wordpress WILL reconsider the decision was fucking stupid in the first place

why would anyone ask new questions on SO about technological dead ends?

is there any other site where you could get some useful stats from to infer usage or popularity of backends?

oh shit, it's really happening. fantastic news

of course they will reconsider. they have a bunch of stuff already done in react
it's not too late at all. react is still growing

no. why are you asking?

job posting websites?

How is php dominating on one graph and at the bottom of the other? Because the one is only considering laravel?

Most likely.
Open up any job board and you will see PHP the #1 most common skill being asked for.

yep. "php" would be second on this chart but that wouldn't be a fair comparison
this one also isn't fair because java is used for so much more stuff than webdev. so I think is the best you can do, but you need to know the difference between for example C# or Ruby which almost no one uses for webdev without their flagship frameworks and PHP which is very, very often used without a framework

forgot picrel

Gonna sit down and force myself to learn js for front end work. Not a fan of the prototypical OO so far.

Vue seems to be the hipster framework of the month. What am I in for?

It's nice.
Read the docs

Angular, typescript & Ionic will make you a shit ton of money

Jason or J Sawn?

Loopback or Feathers?

vscode or atom for mac?

vsc
use both and see what works best for you though

So far its awesomely clean compared to what I used to do (digging around in the dom with jQuery).


Just had a look to confirm, all the $150k+ full stack dev roles on seek.com.au seem to want angular.

Why use react over vue?

why use vue over react?

React is more close to a pure JavaScript solution that doesn't force a framework on you like Angular and Vue does. That means you aren't forced to use their class & component initializers and aren't required to know the internals of scopes. With that in mind for React Components you'd have to know a bit of the component lifecycle in some situations when it comes to optimizing rendering.

If you're ever wanting to develop a cross platform app, React Native comes unchallenged. I doubt Vue will ever go this path.

Vue is more flexible in a way that you aren't necessarily forced to bundle/minify your code like you generally do with React (yeah, no one uses react without jsx). I think this is one of the biggest things that attract people towards Vue and Angular alike. Vue's templates are also more clear in you knowing what components are loaded on what pages. On React you'd generally have to configure your bundler like Webpack to have proper tree shaking and code splitting.

it's faster, smaller, single file components make vue apps very clean and well organized, the whole experience is very pleasant.

>Vue's templates are also more clear in you knowing what components are loaded on what pages.
how so?

>On React you'd generally have to configure your bundler like Webpack to have proper tree shaking and code splitting.
but I already have my config that I basically copy over when I'm starting a new project and then I'm set.
from what I've seen, people are using webpack with vue anyway
github.com/vuejs/vue-hackernews-2.0

>it's faster
have there been any benchmarks against react 16? is the difference even tangible in typical usecases or are the benchmarks just meaningless masturbation material?
>smaller
seems like it's 75kb smaller. op's image is 10x larger than that. this is definitely not a reason to pick vue over react. it's just a nice bonus

>single file components make vue apps very clean and well organized, the whole experience is very pleasant.
but I have single file components as well and I use react. it's very clean, well organized and pleasant indeed

I've read that vue is finally getting better typescript support. I might try it when 3 comes out

Immutable states
While React 16 has had some performance improvements, their reconciler (fiber) is more based around updates appearing faster on a user's perspective. Raw numbers won't show that.

Back with my site. I want to make the input field of my chat client a rich text field, but omg it's too hard. I can't even get the color picker to work after a week of trying.

J Sawn

It's fun and not a chore.
It has first class support for being written in pure JS without npm/nodeJS and your backend of choice.

Why would you use Django when matured and proven MVC frameworks like Spring framework or Ruby-on-Rails exists.

>It's fun and not a chore.
just like react
>It has first class support for being written in pure JS without npm/nodeJS
and why would I do that? it's nice for like codepen demos I guess, but that's it

django is older than rails

>and proven

>>and proven

...

...

I would trust a production app to a billion dollar company over 1 random guy. I'm debating right now between Angular and React for this reason.

b-but trusting one guy over a billion dollar company makes you billion times more hip

>to a billion dollar company over 1 random guy
It's not as popular in NA/EU as it is in Asia atm, but that's a pretty disingenuous statement user

github.com/vuejs/awesome-vue#enterprise-usage

vuejs.org/v2/guide/team.html

I'm working on a DOM manipulation library for Rust with a focus on performance. So far it has basic async rendering deferred to requestAnimationFrame() and opt-in virtual subtrees with diffing. Any thing you generally like to see in a library focused on efficiency?

Always thought someone would do this.
Are you doing it with webassembly in mind?

Of course, but I plan to also have a separate similar API for server-side rendering, so that sharing code and loading in prerendered pages should be trivial enough.

neat

>I doubt Vue will ever go this path.
Weex

I host my website using the guides of digitalocean.

But can anyone recommend a good source (book or website) of information on managing servers for (multiple) websites?

Because I currently just install software and space magic does the rest. Which feels a bit wrong.

>Webview-based
Trash.

>literally a 4-way tie
you can't make this shit up

I've never heard of any of these

I've personally used Styled components and it's great.

I don't get it. How is it better than standard CSS?

Well for React in particular you're developing in a way that your components are modular. CSS and especially SCSS doesn't abide by this concept which means that you're ending up loading and computing styles for the page that aren't even used. On top of that you have the problem of changing one class so it affects one thing on your site but you forgot that it affects other parts as well.

Styled components fix that by allowing you to declare react components, have them portable and easy to "plug out" and move to other projects if needed. Classes are generated by webpack on compile. Also allows for JS functionality and passing in props to the CSS which allows for things like theming to be easily integrated and small CSS changes like colouring.

It also works great if you're something like React Storybook because you don't have to worry about importing styles.

holy shit, it actually sounds really cool
thanks user will try asap

The homepage tells a different story
"Different from a "web app", "HTML5 app", or "hybrid app", you can use Weex to build a real mobile app."

Starting my first web dev job on monday guys and I'm nervous af. Any general tips on how to not get fired within the first month?

pretty cool concept.
I like the same thing with scoped styles in Vues components.
Had no idea, that you can call functions with template literals now. Not really a fan of that, especially how it reads when nested, but might try it out anyway.

Why are webdevs so reluctant to learn another programming language, to the point of trying to force JS onto the backend with node?

webdevs are brainlets who just want easy work with good pay, they arent interested in tech

Backend Java dev here, how do I move into webdev?

Anybody experienced with WASM here?

any caveats or traps I should look out for besides browser support?

Because JS is great (now). Sure I could use python or go, but then I'd need to switch languages for the front-end.

>Because JS is great (now).
Wrong.

What's not great about ES6+?

Everything.

Dynamic typing.

How can I cure my like for JS?

Nothing that immediately comes to mind, except you will still need lots of JS wrapper code.

Learn other languages, and not languages that are designed to replace JS.

Learn a modern statically typed language.

Opinions on Docker?

I already have though.

Then I have bad news for you, user.

This may be a silly question to ask in a web development thread on a weekend day, but do you guys actively work on webdev during weekends or do you stick to weekdays and then relax and do other stuff during weekends?

Weekends is for catching up on the latest JS frameworks. This week Angular 7, BurningEmber (a fork of Ember with some renamed functions), and ReactivePreact (open source react clone but with an emphasis on reactive programming) were all released, and a new bootstrap fork with modified colors came out, so we're all very busy today and tomorrow.

>he doesn't use hyper-v for local development
Linux literally has nothing on us now

If I work for someone else I work 36 hours a week.

If I work for myself I work 24/7-36 hours a week.

>36 hours a week
That's why I will never hire former webdevs for backend roles.

I used to work a lot of overtime for months. And through the weekends. I got bonussen and always good reviews.
Then the company was taken over, we got a new management and the first thing they did was fire everyone with a bit off influence, including me.

Then I decided it just wasn't worth wasting my time making money for someone else for free.

>bonussen
Is that the plural of bonus? Huh.

Bonuses then.

This is a reminder, that there is nothing wrong with JavaScript(ES6/7) and Node.js is an excellent backend for general use.
Do you think languages are the same as 10 years ago?
Why would I learn some other backend language, where I can't even use npm.
Differing opinions are clearly based on contrarianism.

>left-pad

Type safety is good. Javascript has it, it's called typescript. I also know a language with built in static typing. I'd still use js over it for webdev.

php developer? i just met her

and this is crazy

But Angular 5 won't enter beta status until this monday

because modern js is a decent language and the browser wars actually made v8 fast as fuck. I don't think anyone is forcing anything. it just happened like with every other backend tech
also javascript was meant for the server-side from the start
disclaimer: I don't use node for backend myself

learn Spring MVC

nice argument

TypeScript

>TypeScript
I want a good, mandatory type system.

yes, it has that

Its type system is neither good nor mandatory.

it's good and it can be mandatory when you enforce that

>enforce
Is that a compiler setting? Will it reject programs that fail typechecking if you enable it?

It's still not a good type system.

>Is that a compiler setting? Will it reject programs that fail typechecking if you enable it?
yes

>It's still not a good type system.
it is though. I have been using it for some time and have no complaints

>I have been using it for some time and have no complaints
Perhaps you're simply easily pleased.

yeah, I think I'm indeed not on the spectrum

Anyone else use Elm? Seems pretty comfy so far, but i've heard that decoding JSON into anything remotely complex is too much of a chore to make it feasible for a lot of useful things.

The spectrum of people with good taste in type systems, indeed.

this is not art. it's not about aesthetics. it's about whether the tool works and helps you do your job, which typescript does

Redpill me on Typescript