[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]

/wdg/ - Web Development General

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: 325
Thread images: 43

File: 1495611553366.png (868KB, 822x552px) Image search: [Google]
1495611553366.png
868KB, 822x552px
20170530 edition

>This season's Advent of Code:
https://adventofcode.com/2016/

>Discord
https://discord.gg/wdg
OR
https://discord.gg/0qLTzz5potDFXfdT
(they're the same)

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/

>Useful Youtube channels
derekbanas
learncodeacademy
funfunfunction
computerphile
codingrainbow

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks
[Gist] backendDevelopmentBookmarks.md

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/

>How to get started
http://pastebin.com/pDT82mQS
http://pastebin.com/AL6j7GEE

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>>
File: 1 [email protected] (11KB, 140x140px)
1 6QYzbfSAvFDWAt3XCY7Tyw@2x.png
11KB, 140x140px
install Vue.js
>>
OLD THREAD

>>60643132
>>
>he disabled JS so that he can now spend his time complaining about sites that require JS
>>
havent been in js for a year how many million new libraries that were popular for a day and now everyone has to know them have appeared and how many new clones of grunt are there now?
>>
>>60662533
of course
and umatrix and then complain about the fuckton of cdn shit
>>
>>60662455
i have it off by default (and whitelist sites i care about), because of sites that seem to hate their users (use fingerprinting, popups, custom scrolling, newsletter modals, other unpredictable things)

this way i don't even have to think about any of those things, especially on sites i haven't used before and might not ever visit again

i used to work on a popup/annoyance blocker script for myself but i realized nothing beats turning off javascript

>>60662533
i only mentioned it because a wordpress blog doesn't sound like something that would absolutely require javascript to even show the front page
>>
>>60662636
whitelisting 1st party and blocking 3rd party scripts by default seems like a reasonable middle-ground
>>
>>60662522
But that's not React..
>>
>>60662791
it sounds ineffective to me
>>
>>60662479
In express do I have to put
var con = mysql.createConnection({
host: "localhost",
user: "root",
password: "password"
});

con.connect(function(err) {
if(err) {
console.log('Error connecting to db');
return;
}

console.log('connection established');
});


in every route js file?
>>
I need an idea for a website to get rich off of.
>>
I want to make a streaming website as practice.
Kind of like twitch but just one small page.
Anyone have any resources on how to do things like this?
>>
>>60662937
>knowitall.io
>>
>>60663171
It's not really super hard. Set up nginx, put something on your page that plays back the rtsp stream (I dunno if html5 does this), good to go.
>>
File: CV8gUE7UwAAuRbC.jpg (46KB, 600x600px) Image search: [Google]
CV8gUE7UwAAuRbC.jpg
46KB, 600x600px
>>60662975
make a website that sells an ebook of ideas for websites you can make to get rich off of
>>
how do I catch a click event on a youtube progress bar? doesn't register..
>>
>>60663171
https://github.com/arut/nginx-rtmp-module
or
https://github.com/ossrs/srs

I'm experimenting with real time streaming for a few years now, but all HLS/Dash solutions have a quite large delay (10+ seconds) and seem to be quite buggy.
The lowest I got was with an rtmp pass through file and flv.js with about 4-5 seconds.

If you don't care about latency then videojs is quite good.
>>
File: 13186259_f520.jpg (51KB, 520x390px) Image search: [Google]
13186259_f520.jpg
51KB, 520x390px
okay

>try python because it's easy to use, sort of hip and cool
>realize it's python, it's interpreted and slow as hell, concurrency is practically undoable in a sane way

>try node because apparently it's the shit
>it's a meme, and you're writing javascript

>try golang because dat performance and that concurrency
>go is a shit language lacking tons of features producing tons of boilerplate and has an atrocious community that forces everyone to create new libraries for themselves but recommends NO ONE to actually use them

I'm getting really close to making a spring boot application for my real-time media aggregation web application here guys. Give Java the power of lombok, and watch that boilerplate sink away into nothing.

What am I missing? I want a good solid backend communicating with a relational database (not sold on other databases yet) coupled with a SPA using the realtime API I offer. Having tried other languages, I just look at the code I've now produced several times over again in different languages, and almost feel forced to realize that the code is just more readable, pretty and god damnit, logical in Java. But I don't want to use Java, I want to use a top tier, modern language that has performance out the wazoo.

That'd be Go, but go is fucking retarded, just like that stupid fucking gopher face.
>HURR DURR IF U WANT TO MAKE SOMETHING PUBLIC JUST USE UPPER CASE ;)

REALLY? HOW DID THAT GET PAST ANY MEETING? AT ALL?

Help me /g/... he..l...p
>>
>>60663325
That said of all the frameworks I tried or had a look at.... damn is django good. The absolute BEST REST API framework setup I've ever seen.
>>
Ok, so, I have a question related to JS and python.

I need to ask, can I check for pixels inside a canvas using a python websocket?

Adding to the question, can I use python to check an image pixel by pixel and then compare with the pixels from the canvas?

Also, why does the major part of elite proxies not work? And even inside the select few that work, why does just 1 or 2 actually post stuff on 4chan? I am sick of wasting half a fucking hour just to talk a bit.
>>
>>60663325
try .net core webapi
>>
>>60663325
Just use node. Literally your only complaint about it was that you don't like Javascript. It's still good though.
>>
>>60663356
This. I wish it were more popular
>>
>>60663383
Business logic in javascript? Anything in javascript?

it ain't even typesafe bro
>>
>>60663409
Of course you can.

Also t y p e s c r i p t
>>
>>60663409
Oh and if you're going down this route of thinking then you should never ever use anything other than PHP or you're a fucking idiot.
>>
>>60663429
Admittedly, node.js is looking better and better. But then I remember how good Java actually is, and I start wondering why it isn't used more. I mean good god, the developer tools for it are amazing, and with a testing framework like spock(groovy) it's even fun to write tests. Is it because it's slow or something? Here, here's a spock test:


@Unroll
def 'poster should receive #numberOfYous per second after shitposting in thread #threadnumber'() {
given:
def website = injectedWebsite.getInstance()
expect:
website.postInThread(threadNumber) == numberOfYous
where:
treadNumber | numberOfYous
340000000 | 32
340000001 | 2
340000002 | 3
340000003 | 5
340000004 | 6
}



each of the rows in the where table becomes it's own "test" and is treated like one. How are the testing libraries in javascript? Anything as eloquent and neato as this? There's also amazing mock support.

>>60663442
>php
It's 2017 grandpa.
>>
What do you guys work on in your employment, day-to-day? It seems like there's a lot of informed opinions about the best X, rather than people using whatever their business uses.
>>
>>60663566
>It's 2017 grandpa.
PHP is also one of extremely few languages that can be considered as thoroughly safe for business logic as it has been tried and tested for eons now.
>>
>>60663593
Funnily enough I get to make all the calls about all the technology my place uses, so I am what (not mine) my business uses.
>>
>>60662975

call jewkerburg and make another social media website that steals peoples personal information
>>
>>60663593
I don't know about these other bozos, but I'm still wagecucking in a warehouse until I can finish my portfolio and can afford to move out of hicktown.
>>
>>60663192
Crap, my bad, it's actually
https://know-it-all.io/
>>
What's the best framework to learn in order to get the highest paid jobs/ best future security?
>>
>>60663711
jquery
>>
File: kukui_delet.jpg (94KB, 748x561px) Image search: [Google]
kukui_delet.jpg
94KB, 748x561px
>>60663738
>>
>>60663593
Trying to switch from neetbucks to freelancebucks at the moment.
So I guess I can at least choose my tech freely.

vue, node, hexo (maybe metalsmith?), netlify-cms, webpack
>>
>>60663829
What are you actually building with these tools?
>>
>>60663593
Perl
>>
File: dagothscurred.jpg (129KB, 800x600px) Image search: [Google]
dagothscurred.jpg
129KB, 800x600px
>>60662479
Where do I go to learn React?
>>
>>60663851
It's no specific project at the moment. (except my own portfolio page, which i use vue for)

Those are just frameworks that I think will probably let me handle most requests a client could have.

Vue for single page applications and reactive elements.
It's single file components are also really nice to work with.
Haven't tried react so far though, which I still mean to do as well.

Node as backend obviously

Hexo, if I ever need to build something blog-like or just simple static stuff.

netlify-cms, so they can edit things on their own.

webpack took some time to understand and get right, but now it's a great help and bundles everything nicely.


Hope I don't sound too naive, still a beginner.

I am also wondering if I should get some basic PHP/Wordpress skills, just because it's so common and I probably have to deal with it at some point anyway.
>>
>>60664167
You sound like you understand more than me. I'm a meme magento FE dev looking to move to not-magento, and every job listing wants some JS framework experience like Angular/ Node/React, and I don't even understand how it connects with everything else.

For me, I have Magento being the EVERYTHING, and then I can edit some phtml files, XML files for layout/ widgets, LESS and JS for regular frontend shit.

Angular is like, part of what Magento would do, but it's for single page applications? I don't really have an appreciation for the greater thing as a whole (like how a user logs in and goes to their account page - this is all backend, with Angular just fetching some values?)

It's intimidating and sucks all the confidence out of me.
>>
>>60662586
You never "[had] to know" any of them, and people are dumping the grunt paradigm entirely for lower-level tools like webpack and discrete scripts.
>>
>>60663409
>>60663566
>>60663429
Use flow for strong typing and es2017 with object rest and spread. Write functional and immutable code. Pretend it's c with namespaces and object destructuring. Also pretend it's lisp and use a single params object argument for all functions to make your API incredibly flexible and simple to refactor. All of these things are greater than the sum of their parts and become incredibly expressive. JS is actually a really good language now.

function allowFutureAtsInfo(params) {
// TODO: reasses as year 3000 approaches
const blocking = blockingAtsInfo(params);
return {
...blocking,
selectableQuantity: availableQuantityForDate({ ...params, arriveOnDate: new Date('3000-01-01') }),
warningAbove: blocking.selectableQuantity,
};
}
>>
>>60663325
but did you try dotnet
>>
>>60664352
>>It's intimidating and sucks all the confidence out of me.

I think I kind of know what you mean.
There are so many libraries I will never get around to learn, so it always feels like I am still lacking something before I could do actual work.
>>
>>60664352
You're used to a monolithic environment, but most of what you're talking about not understanding are smaller toolkits and micro-frameworks.

Angular is a fairly light library that makes some MV* assumptions but mostly provides JS two-way data binding.

Node is literally just a javascript interpreter, it allows you to run javascript in environments outside of the browser, i.e., on the server. It also provides some convenient APIs that are necessary for working outside of the browser like filesystem access.

React is an alternative to stuff like Angular, it eschews traditional two-way data binding for a more simple forward-only approach. It also does a lot less than angular, it makes no assumptions about MV* and is largely just a low-level tool for building reactive UI components.

Just pick something and learn it. After a while you'll realize that learning any individual toolset is actually really easy. Learning something like Magento is hard because there's actually a ton of shit to remember. Learning react is easy because it's like three functions. Writing good code and having solid organization and architecture is hard, but those skills are largely independent of your toolset.
>>
>>60663601
so it boils down to
>PHP for business frontend
>COBOL for backend
anything I am missing for bsns?
>>
>>60663566
Ikr? Why the shit do we need scripting languages when he had Java since forever

>I start wondering why it isn't used more
I heard two complaints about Java:
1) It's not hip enough, too enterprise-y ("I want to work in a startup with node.js")
2) It's difficult

Moreover, some companies that are not "hip" or "cool" tend to go with .net instead of java because they already have established relationship with Microsoft and the whole ms stack is familiar to the company

So Java is idd pretty nice, the problem is how employable you'll be after creating things using it. For example, the are a bunch of .net jobs around me + a lot of php ones, couple of node.js and ruby and no Java at all.
>>
>>60662910
Attach the database object to the request as a new parameter using app.param
>>60664711
You missed the opinion from 2008
>>
>>60664986
It's too verbose. Also, more expressive languages feel better to work in. I don't want to HAVE to rely on an IDE to refactor because there's just so much fucking code. I'd rather be able to write less code and do more.
>>
Okay. So, node.js. I want to make a real time web application. What do I use?
>>
Is working with Redux ever NOT a soul-crushing experience? New job uses it and it's been fucking brutal so far.
>>
>>60665081
look at socket.io or maybe webrtc if you feel funny today

>>60665098
Haven't figured it out yet either.
Stores are like a global accessible object or something, right?
>>
>>60663593
Swift.
>>
>>60665081
node.js
>>
File: ss-2017-05-30-23-51-05.png (73KB, 763x561px) Image search: [Google]
ss-2017-05-30-23-51-05.png
73KB, 763x561px
>For example, the are a bunch of .net jobs around me + a lot of php ones, couple of node.js and ruby and no Java at all.
where do you live?
>>
>>60665081

asynchronous javascript
>>
>>60663593
Currently replacing legacy code all over the place. going from a dojo frontend to a react frontend. From a rails backend to simpler ruby for now, possibly something like Elixir in the future.
>>
>>60665163
for >>60664986

>>60665081
phoenix channels
>>
File: 1496165166549.jpg (8KB, 177x141px) Image search: [Google]
1496165166549.jpg
8KB, 177x141px
>>60662479
i need help to align this vertical menu , i already tried float:left but no sucess.
Any help pl
>>
>>60664619
Thank you friend, you have encouraged me. I guess I'll learn basic React or Angular and then apply for jobs at the weekend/ next week.
>>
>>60665211
Why is tech support (or ESL for that matter) allowed in /wdg/?
>>
>>60665211
Remove the margin, and add some padding.
>>
Why don't more people use .NET? Holy shit it's amazing.

t. not a microsoft employee.
>>
>>60665244
tech supp ???????
>>
>>60665035
>Attach the database object to the request as a new parameter using app.param
Can you make a quick code snippet of that please? Thanks in advance
>>
>>60665211
.class {margin-left:-20px}

if that doesnt work try

.class {margin-left:-20px!important}

in this case .case is li i think. just try it .

i also recommend you this addon:

https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb

you can edit css live without messing with F12 cyka blyat menu
>>
>>60665272
Some really quality posting right here.
>>
is meteor any good or is it a meme?
>>
Anything like React Native for vue?
>>
>>60665346
That shit's a meme.
>>
>>60665249
Cuz people only know javascript
>>
>>60665385
Weex, but I bet it has less support for complex stuff.
>>
>>60665249
The JVM ecosystem has wider range of and better quality libraries, better languages (Kotlin and Scala), Linux/macOS as first-class citizens, and non-authoritarian development process. I'm glad it exists because competition is good, but I see no reason to use it.
>>
File: images (1).jpg (20KB, 325x400px) Image search: [Google]
images (1).jpg
20KB, 325x400px
>>60663356
I'm learning djangorestframework right now. Too much to take in all in one go, but I'll make several attempts. Any good resources for it? Im following pic related but the author writes like an autistic retard.
>>
>>60665056
I am writing more code with Django and python, node.js (express) or even golang to do the basic stuff a spring boot application does. StrongLoop's loopback framework looks interesting though.

You can get really non-verbose Java applications these days, thanks to lombok. I get not wanting to be dependent on an IDE, but you're not really that cool when you fire up vim you know. At the end of the day, you rely on tons of command line tools which complicate the process a lot. Then refactoring is childs play with an IDE - ever regretted a name choice a year into production, and it's everywhere? Done in a few minutes, without any errors. Feels good man.

Cleaner, more sane code. There's some really cool stuff you can do with the java EE spec, and inheritance. Let's say you want to import "pictures" from various sites into your application. Make an interface called "PictureImporter".

interface PictureImporter {
List<Pictures> importPictures();
}


then implement that interface for every source you want, like 4chan, facebook whatever.

public class FacebookImporter implements PictureImporter {
public List<Pictures> importPictures() {
return (facebookpics);
}
}

public class 4chanImporter implements PictureImporter {
public List<Pictures> importPictures() {
return (4chanpics);
}
}
}


and then injecting the interface as a list of instances means you can import from them all - just by ADDING code. No "registering", just implementing an interface.

>>60664482
Wow. I'm not really sure the params... thing is really that good. Am I missing something?

>>60665562
Google is always the best resource, and stack overflow. Use your google-fu to answer your questions, and use Django's official documentation which is very well written, and has plenty of examples.

>>60664986
Where I live there's mostly Java jobs though, as well as some .NET stuff. Employability isn't really an issue, if you know Java you can adapt to .NET.
>>
>>60665274
spasiba , its work
>>60665247
ty
>>60665293
dude STFU
>>
>>60665774
and I mean, is this really verbose at all?

Does other languages have as simple a process as this?
>>
>>60665774
What resources would you recommend to start building shit with spring boot? I've always loved Java but not sure where to start with Spring
>>
>>60665774
Look at all that OOP boilerplate. The more experience I gain the fewer pros and the more cons I recognize for OOP and inheritance structures. Functional programming is just a more sane solution for almost everything.

And I can understand the theoretical value in declaring a function to be protected / private, but not only have I never worked in an environment where I think it WOULD have value, I also can't imagine WANTING to work in an environment where it would have value.

>>60665776
>/g/ is NOT your personal tech support team
kys
>>
>>60665774
What you're missing from the params thing is the big documentation block outlining all the params (there are like four). The actual code of the function is only aware of the params it actually uses though, which in this case is none of them, it just passes them along to further-decomposed implementations.
>>
>>60665976
Well that's great - what do other languages do better in terms of reducing boilerplate here? I think the pros here is that by reading the code, you can tell what it does very easily, and it is typesafe, so people using your code doesn't screw up as easily.

How would this look in another language? Let's say I wanted some "import/webscraper" functionality, and I want to import/scrape from various sources - how would it look and feel to write?

>>60665963
Googling it, I'm not really sure if books are necessary. Use gradle or maven, and use the spring boot starter. https://start.spring.io/

gradle is the preferrred "new" build tool. Maven is also good though.
>>
>>60665976
>>60666050
>And I can understand the theoretical value in declaring a function to be protected / private, but not only have I never worked in an environment where I think it WOULD have value,

Well I have one story about that. There was this caching API, which had a function which sounded usable, that was public. So people who wanted to "refresh" the cache could simply call the "refresh()" method. Except it didn't refresh or reload the cache, it was a small helper function for something else that was set to public.

So the developers who wanted to interact with this library then introduced errors into the code, because they mistakenly called an internal function that wasn't supposed to be called. Setting it to private would have prevented such misuse.

The value is in protecting methods in your libraries you don't want people to call frivolously, and let them use a defined, safe API that doesn't botch up everything if they aren't careful.
>>
>>60666050
Assuming I understand your example correctly:

function fetchFacebookPictures() {
// ...
return [{url: ''}, ...];
}

function fetch4chanPictures() {
// ...
return [{url: ''}, ...];
}


is probably how I would write it. As far as I can tell the only thing I lose here is strict type safety, which in theory I could implement with flow, but I don't know why I would want to. Worst-case scenario, somebody changes the `url` key name, in which case tests fail and unhandled exceptions occur leading me directly to the source of the error.
>>
File: golang.gif (181KB, 500x500px) Image search: [Google]
golang.gif
181KB, 500x500px
Ex PHP/JS dev currently learning Golang and planning on moving further to Elixir, Crystal and C#.
How fucked am I?
>>
File: me.jpg (130KB, 738x926px) Image search: [Google]
me.jpg
130KB, 738x926px
>>60665976
>>60666306
>"functional programming is just a more sane solution"
>posts javascript code
>>
>>60666318
Why did you choose Go?
>>
>>60666391
Seems to be on the rise in quit short time for a programming language.
Also because Robert Griesemer, Rob Pike, and Ken Thompson

pic related
>>
>>60666390
Simplest possible example to illustrate my point in this case.
>>
https://www.toptal.com/javascript/interview-questions

Are these anything like what you've been asked in IRL interviews?
>>
>writing anything but React
>2017
>>
File: flat,800x800,075,f.u3.jpg (88KB, 800x654px) Image search: [Google]
flat,800x800,075,f.u3.jpg
88KB, 800x654px
>>60665976
>>
File: Capture.png (45KB, 1364x615px) Image search: [Google]
Capture.png
45KB, 1364x615px
I swear if I see this one more time on someone's personal portfolio website I'm gonna lose my shit.
Please don't do this, it's corny as fuck.
>>
>>60665976
It's the opposite for me, definitely better to write some more safe code that you know it just works instead of some duct-taped mess that may be unreadable or breaks easily.
>>
>>60664986
People like you who dogmatically follow their CS undergrad courses are the reason why JS devs are so smug and happy right now.

Why the fuck would anyone need Java in 2017 except "apps" on phones? Its use case was a fragmented hardware landscape thats vanished over a decade ago.
>>
>>60667591
That feel when no 80% responsive skill.
That feel when no dramatically seize BF oriented GF.
>>
>>60667591

this is 150% pussy shit. I know a dude who had that on his site for awhile. he was in fact a pussy.
>>
File: gIWgWsh.jpg (370KB, 1275x1650px) Image search: [Google]
gIWgWsh.jpg
370KB, 1275x1650px
>>60667591
made me remember this for some reason
>>
File: mesosad.jpg (82KB, 944x712px) Image search: [Google]
mesosad.jpg
82KB, 944x712px
>>60668080
>tfw normie enough to not be a brony
>tfw not autistic enough to be as qualified as this brony

He may be pathetic but put that resume layout aside he's still way more qualified than me.
>>
anyone using active state komodo?
>>
>>60667591
I thought that was a joke thing people did, you know, ironically.
>>
Is webp the way to go for images? Does Firefox even support it yet?
>>
>>60665976
its not boilerplate their compiler manages the code so they have to type all that extra shit.
>>
>>60663325
you don't HAVE to use javascript for node.js, anything that transpiles to javascript could work i believe
>>
>>60663325
spring boot with kotlin or phoenix with elixir
>>
How long would it take to learn HTML? I have experience in C, Java and Haskell.
>>
File: RnhWJcb.gif (499KB, 499x202px) Image search: [Google]
RnhWJcb.gif
499KB, 499x202px
>>60668703
>I thought that was a joke thing people did

Nah, it's very much real.
>>
>>60669864
You memeing cuh?

If not, like a couple hours. You just need to know the basic tags and where they go. Also how to import css/js files and stuff like that.
>>
>>60669930
Not memeing, I've never actually used HTML, PHP, or any of that stuff. Which learning tools in the OP are best?
>>
>>60669864
17 days

>>60667695
>Why the fuck would anyone need Java in 2017 except "apps" on phones?
https://www.indeed.com/jobs?q=java+-mobile+-android&l=
gee I don't know

also relevant captcha
http://corporate.ford.com/ShowJob/Id/1030788/Java-Developer-Software-Craftsman/
>>
File: ss-2017-05-31-05-43-19.png (59KB, 311x305px) Image search: [Google]
ss-2017-05-31-05-43-19.png
59KB, 311x305px
>>60669973
forgot the screenshot
>>
File: flat,1000x1000,075,f.u1.jpg (139KB, 1000x1000px) Image search: [Google]
flat,1000x1000,075,f.u1.jpg
139KB, 1000x1000px
>>60669942
You can do most web dev with just Notepad++ and Google Chrome. If you want something with some neat features you can go with Brackets or Visual Studio Code.

If you're looking for a good intro into webdev then you can't go wrong with freecodecamp or just using something like w3schools for reference to anything you wanna make.
>>
>>60670171
>w3schools
kys
http://www.w3fools.com/
>>
>>60670264
it's okay as a reference
>>
>>60670283
No it's not, just use mdn. Or http://devdocs.io/
>>
>>60666306
There examples aren't equivalent. What you wrote is equivalent to


public List<Pictures> fetchFacebookPictures() {
// ...
return someArrayList;
}

public List<Pictures> fetch4chanPictures() {
// ...
return someArrayList;
}


You still have to call each of those functions individually. The advantage of the Java code was that you could just say "hey, gimme some importers java" and you'd get all of importers implementing that interface. Adding new code is then minimal effort, just extend the interface, implement the fetching logic and bam you're there.
>>
>>60668992
It's probably not worth it. I've noticed Imgur has some images as webp when I've downloaded them on my phone, but I'm sure they have fallbacks. (I think they do a similar thing with webms -> gifs)

It's almost definitely not worth it to implement, since you definitely need fallbacks. Neither Firefox nor Safari seem to support them.

http://caniuse.com/#feat=webp
>>
>>60670880
And that's supposed to be a good thing?
>>
It seems to me with all these frameworks and abstractions that they are built to save time but their users spend all their time thinking about and discussing these frameworks and porting their code back and forth between them. It's like an elaborate game to cover for the fact that most people don't have skills or creativity but it's apparently ok or something because they know all which framework is hip this month.
>>
>>60672027
>have to update website as it's becoming unmaintainable at the scales we want
>use a framework
>several weeks later I still haven't delivered anything
I'm a sucker.
>>
>>60672129
>>60672027
Dumb people fail because they are dumb, not because there are too many functional tools available for them to use in accomplishing their goal.
>>
Formet NEET here.

Got my degree in a non tech field, been learning webdev from the resources but am stuck. Any kind of real company with real pay (35k+ a year) requires tons of experience or boots me out of the pool for a non-tech degree.
>>
>>60666587
pls
>>
What should I read if I want to learn node? both webdev and server programming
>>
>>60672591
Boku no Pico.
>>
>>60672591
You don't really need to "learn" node, it's a runtime environment. Just learn javascript and then read through the Node docs. It's exactly the same as regular JS except there's no dom api and there are other additional apis like fs for dealing with the file system. Or just watch one of those 'learn Node in X minutes' youtube videos or something.
>>
>Junior Web Developer
>People know your face at AngularConnect or React London? We want you!

If people at a tech conference know my face then I'm not very junior, am I? I am loosing hope.
>>
>>60672254
do you have a portfolio? What do you have in it? Where are you located? How long have you been applying?
>>
>>60671601
How is it not? Show examples of better ways.
>>
>>60672746
Honestly only about 2 months, my portfolio is pretty limited from focusing on degree work.
>USA
I guess my biggest real question would be what type of development would best add to my portfolio to make myself marketable?
>>
<select>
<option>Hello</option>
<option>World</option>
</select>

How do I prevent the dropdown from closing after selecting an option?
>>
>>60673008
<select multiple> maybe

and then some CSS to show/hide it like a normal dropdown?
>>
File: oie_rCCH8K558LFf.png (4KB, 659x194px) Image search: [Google]
oie_rCCH8K558LFf.png
4KB, 659x194px
>>60673470
Heh, didn't know the multiple attribute exists. Anyway I end up making my own
>>
I took web dev in high school like 10 years ago. Do people still use dreamweaver or was that a meme software? I'm just a business guy but I never asked the tech department.
>>
>>60673727
Business guys like you use Dreamweaver because it's the only way you can make a website.
Actual developers would never use Dreamweaver as it gives far too little control.
>>
>>60673788
Maybe you misunderstood. I'm not trying to use it now, I was curious if it was actually taught for any real reason or just as a time filler for the teacher.
>Implying the bus side make a website.
>>
>>60673810
>>Implying the bus side make a website.
If you're a one man startup sometimes you have to.
Schools make some pretty retarded decisions, most of the stuff you learn there is useless. Learned more from shitposting on 4chan than I ever did in school.
>>
finally decided to jump the bandwagon to try and learn frontend
already know js, the problem is css and layout in general
any must-know frameworks i should look into?
i know its all "learning by doing" but is there anything i can do to speed up the process?
>>
>>60673896
Learn by doing. It's not hard. I would say use a framework only once you've properly understood CSS.
>>
I have this course for free

https://www.udemy.com/the-complete-react-native-and-redux-course/

Anyone wants the link?
>>
does anybody have that site with hundreds of Udemy torrents listed? Can't seem to find it anymore...
>>
File: Capture.png (20KB, 371x498px) Image search: [Google]
Capture.png
20KB, 371x498px
>>60674150
idk where to host this shit. cloud storage is full
>>
to everyone here with an actual portfolio, what's a reliable but cheap hosting option? Don't say github, because that's static shit only. Thx
>>
>>60674428
Get a vps.
>>
>>60674428
You could use Heroku for free. You get 500mb and custom domain/SSL capability. Assuming low traffic I think the free option should be fine (look into their whole dynos system).

Otherwise like the other anon said, a VPS is the way to go.
>>
>>60672686
People want one of two things in a junior, a senior who for some unknown reason is willing to pretend or a minority diversity hire that's going to be cycled out to rinse and repeat.

>>60665249
C# is like this, you're either getting paid an annual wage to bugfix ASP/MVC stuff from the early 00s or you're playing around with something no one will ever use because they think all C# for web is ASP/MVC or because it's not ruby or python.

C# is a little annoying like that. You can get something so quick and well written if you start from the sockets, but no one would ever use it.
>>
Just headed to LIbrary Genesis and I'm downloading some CSS and HTML books.

Is this a good start?

I tried codeacademy in the past but I didn't like it.
>>
>>60674428
what kind of content do you even have in your portfolio, for which static hosting is insufficient?
>>
>>60674720
I dont use them anymore, but teamtreehouse was a pretty good intro to a variety of things, if you are starting from nearly 0.
(video speed at 1.5x will get you through a lot of stuff in the free trial)
If you already have some experience then not so much.

With books I always feel like they are outdated by the time they get published, especially with the fast moving web technologies.
>>
>>60674781
I'm starting from 0, and to be honest, I already checked the OP but I feel overwehelmed by the amount of info and learning websites.

I feel like I just need a simple guide on my first steps.

As for the videos, english is not my first language, I'm comfortable typing and reading, even listening, but probably I won't get it 100%.
>>
Got a problem with mysql.

I have a select query that gets a result and I want to compare this result with another tables column and take the value that aren't same.

How would such query look like?

t.noob
>>
>>60674800

>I feel like I just need a simple guide on my first steps.


1) Make a simple static site to get comfortable with the HTML elements (images, lists and so on).

2) Take your static website and try to make it pretty with CSS (CSS box modell, corners, shadows, opacity.. ). Try to exactly rebuild a public website of your choice - it doesn't need to have the functionality, but the look should be identical. Repeat until you can write a website in HTML and CSS without having to look somewhere.

3) Work yourself through "Eloquent JavaScript" (free ebook) and implement all the JavaScript functions there. It also teaches the basics of NodeJS, which comes in handy.

4) Buy a "my first website!" book about a simple MVC framework like Rails, Laravel or Django. Or if you really liked NodeJS, learn the MEAN stack. Build the website from the book tutorial step by step.

5) Learn some basics about SQL.


Here you go, the rest is more or less "learning by doing". Eventually you can learn somethign like Vue to make SinglePage apps, but I recommend learning the "classical" MVC architecture first.
>>
>>60674857

SELECT t1.* 
FROM t1
LEFT JOIN t2 ON t1.value = t2.value
WHERE t2.value IS NULL
>>
File: gas yourself.jpg (28KB, 400x400px) Image search: [Google]
gas yourself.jpg
28KB, 400x400px
>>60668080
>>
>>60674959
Thanks for the tip.

I guess there's a "0" step about learning the basics of HTML, but yeah, that list helps a lot.
>>
>>60674980
Okay, but this is from table to table
I was asking about I have a query that gives me a result and I want to compare this result against another table.column and and only take the values of this comparison that differs.
>>
File: william3.jpg (221KB, 560x510px) Image search: [Google]
william3.jpg
221KB, 560x510px
>>60662479
Why is it when I try to run my server files with node it assumes the file path is within the User file path? It seems like I'm always fighting with node just to run new project files.
>>
>>60675353
Because its base directory is your current working directory. In most cases this means wherever you launched it from. And I'm guessing this means you launch it something like this
~: node projects/node/testproject/mynodefile.js
>>
>>60675384
Yeah for the most part, how can I change the working directory?
>>
>>60675413
cd into your node project directory.
>>
File: 1446091787145.jpg (137KB, 1280x722px) Image search: [Google]
1446091787145.jpg
137KB, 1280x722px
>>60675418
Oh shieet, it works, thanks anon!
>>
>>60675077

I really don't get what you want to say..

Somethig like this?

SELECT * 
FROM t1
WHERE some_condition = 'bla'
AND coumn1 + coumn2 <> column3
>>
File: 1485889119752.gif (8KB, 645x773px) Image search: [Google]
1485889119752.gif
8KB, 645x773px
>he's not an asynchronous programmer
>>
is 18/hr for a jr dev position standard?
>>
>>60674744
I might be wrong about this, but any website that manipulates data from a database is already non-static (dynamic?) and therefore you cannot host it on the free github pages. I could be wrong since I've never hosted anything, but that's what I've heard.
>>
>>60675880
18 rupees is a bit low, but for starters it's good, Pajeet. You won't be able to buy toilet paper on that salary, but hey, like you care about that
>>
>>60675880
Need more details about what the position requires, as well as how much experience/qualifications you have.
>>
>>60675891
But a portfolio should have no need for that?
It's just a bunch of info about you, some pics/links to your work and some artsy CSS, to show off your skills.
You don't generally have log-ins, databases, real-time communication, etc. in your portfolio.

The other anon seemed to be doing something special though.
>>
Has anyone here used FreeCodeCamp?

I started with it today. I've been struggling with JS because I can't imagine using it practically. Therefore I just forget everything after the tutorials.

Some people seem to have got jobs pretty quickly with FCC. Anyone with more experience like to weigh in here?
>>
>>60675980

This.

There is a difference between an entry level frontend developer in Uganda without any qualifications and an entry level big data scientist for google inc.
>>
File: aoyo.jpg (11KB, 477x343px) Image search: [Google]
aoyo.jpg
11KB, 477x343px
>>60676066
>he doesn't automatically customize his portfolio based on the IP ranges of companies
>>
File: mfw.jpg (13KB, 620x364px) Image search: [Google]
mfw.jpg
13KB, 620x364px
>>60676187

>he doesn't have a GitHub gold account that takes care of that for you..
>>
>>60676187
That sounds Artisan.
>>
>>60673727
>>60673810
I also learned dreamweaver in a web dev class in high school, but it was only like 3 or 4 years ago.

It's some combination of making web dev super simple so that it can be done by the lowest common denominator, and the fact that the curriculum probably hadn't been updated in years. We also learned Flash.
>>
File: unhappy-chap.jpg (5KB, 272x185px) Image search: [Google]
unhappy-chap.jpg
5KB, 272x185px
the honest feel when you've built a few projects in laravel and have a good feel about using it but realise there are (almost) literally no companies hiring laravel devs in your area.

guess i gotta jump on the c# bandwagon to escape neethood :(((
>>
>>60676066
oh, ok, so maybe we misunderstood each other. I have never had any clients, so whatever web I design to show off, I have to host myself. That's what I call my portfolio, the actual site that I want to show off. So that's my question, where to host my work to showcase it.

I understand that once I have a bunch of sites up, I could create a portfolio on github linking to them, sure, no need for a database there.
>>
>>60676187
that sounds like a horrible idea
>>
>>60676422
ah ok,

in that case like others said, a small VPS is probably the best choice.
Digitalocean, Vultr, Scaleway
>>
>>60676350
If you're American then finding remote jobs inside the US shouldn't be too hard. There are tons of PHP jobs up from grabs.
>>
>>60676422
http://thejackalofjavascript.com/your-portfolio-website-with-github-pages/
>>
>>60675806
Something like this.
I have a SQL query that fetches a result.
This result is something I want to compare to a tables column and only select values that aren't within the same value range.
Get me now?
So
Lets say my first query fetches me a list [1,2,3] and I want to compare this result with a column from table b that has [1,2,3,4] the result of this comparison should be [4]
Get me now?
>>
>>60676559
not american im briton but probably can still do that, thanks for the reminder though
>>
>>60676742
SELECT * FROM table2 WHERE field NOT IN (SELECT field FROM table1)
Don't forget to index and benchmark your queries
>>
how much should a js/php/sql CRUD app developer make?
>>
>>60676797
go search on job finding sites infor your area
>>
>>60666453
Languages that are quick to rise are also quick to fall.

Elixir and Crystal seem very interesting, however. Nobody has yet to take the crown from Ruby as being the most productive web language.
>>
>>60676797
Here in russia we make 400 dollars.
>>
>>60676867
Ibrasu is that you ;_;

That's pretty terrible.
>>
>>60676899
yes, it is me. It is terrible, I know. Hold me, /wdg/
>>
>>60676924
I never programmed before and looking at the websites in the OP, most of the websites say things like
>login via Google(TM)
>build this project for free, goy
and so on. Should I just use mozilla resources or is there a good interactive coding website?
>>
>>60677008
>I never programmed before
Pick up a book nigger. Right now. Get a recommended book for whatever language you're interested in and start learning. Fuck what anyone says about which language to pick by the way, starting with a language is better than deciding which language.
>>
>>60676867
That is India-Tier.

How can you be making so little?
>>
>>60676788


No, you don't want to use the "NOT IN" syntax. It does not what you (usually) want..

See:
>https://www.simple-talk.com/sql/t-sql-programming/ten-common-sql-programming-mistakes/


>>60676742


But that's basically what I wrote before, isn't it?

SELECT *
FROM table_b
LEFT JOIN
(SELECT my_column FROM table_b WHERE blabla AND bla) AS tmp ON table_b.my_column = tmp.my_column
WHERE tmp.my_column IS NULL


The outer query takes all rows where the value is not in the subquery.
>>
>refactored all code in line with OOP principles because it I thought it make the project easier to understand
>it's a full order of magnitude slower than before
>if anything it's become more complicated as well

|:^)
>>
>>60677144
t. Bad at programming
>>
>>60677089
Yeah, my original query was missing a NULL check it seems.
>>
how do I make $20 ?

I have never freelanced nor made money online

pls respond
>>
>>60677263

p_o_o_i_n_l_o_o
|
o
|
o_i_n_l_o_o
|
i
|
n
|
l-o-o
|
o
|
o
>>
>>60677263
Ask your parents. Do you have a part-time job?
>>
File: 800px-DowntownZagrebg.jpg (98KB, 800x600px) Image search: [Google]
800px-DowntownZagrebg.jpg
98KB, 800x600px
>>60677366
I'm Eastern Euro tho

>>60677426
I'm a 20 yearold. I'm ashamed to ask my parents, and I want to earn some online money

Definitely not the answers I expected from /wdg/ :(

No part tike job. My friend worked 9 hrs a day, 6 days a week in a warehouse for $150 a month and got scoliosis. That was labeled as a "summer student job"...
>>
>>60677459

>I'm Eastern Euro tho

Sorry, than

SQUAT MORE
Q
U
A
T

M
O
R
E


..and do this:
>>60674959
>>
>>60663325
Full stack development is possible with Clojure and ClojureScript (lisp that compiles to JVM and JS).
Never actually tried it though, so I don't know how much of a meme it is.
>>
>>60677144
is your program a fizzbuzz?
>>
>>60677553
There are a lot of things that compile to JavaScript; Dart for example can be used on both frontend and backend.
>>
>>60677169
>>60677554
To be fair I only tested this one background task and there could be other factors involved. The code is the way I wanted it now actually - makes more sense to me at least.
>>
>>60662479
I'm building a basic CRUD address book app. Should I use Node + JSON, or Node + mySQL.
>>
>>60677459
there is no fucking magic trick, you inbred yugoslav monkey. Pick up a fucking book, read it, do the exercises, rinse and repeat. The whole fucking tread is full of advice on what to study/where to start. Have you even fucking read through the thread?
>>
Should I get familiar with Linux if I want to seriously get into webdev?
>>
>>60677845
yes
>>
>>60677845
os doesnt matter mate
>>
File: 1494540026248.jpg (112KB, 640x373px) Image search: [Google]
1494540026248.jpg
112KB, 640x373px
>>60677811
>>60677539

i didn't ask how to start

I'm asking how do I make $20 online if I know how to make a site, but have never made money doing so?
>>
>>60677883
sell gayman shit on playerauctionsonline
>>
>>60677845
yes, don't need to be a pro, but at least become familiar with the command-line basics.

>>60677882
it can if you
>want to seriously get into webdev
>>
File: Screenshot_20170531-123448.png (226KB, 1080x1920px) Image search: [Google]
Screenshot_20170531-123448.png
226KB, 1080x1920px
>these requirements

I wonder if there is even 1 person that meets these requirements including the very last one.
>>
God I hate WordPress so much. They assume you know nothing about programming, even when you're looking at the developer docs.

It took me way to long to figure out that their "the_post()" method is effectively an iterator. They just don't say that anywhere, and the name of the function is no help.

I understand the need to abstract things, to make development simpler for the person making a theme or whatever. But at some point, making things seemingly more user-friendly is just removing important information.
>>
>>60677263
The exact same way you make 20 million dollars.
>>
>>60677883
>how do I make $20 ?
>I have never freelanced nor made money online

Then why don't you ask a proper fucking question in the first place, with all the relevant info required, you bosnian rape-baby?
>>
>>60677911
no os literally doesnt matter whether it's on win7/8.1/10 or macOS or ubuntu.
>>
File: dankmemes.jpg (20KB, 306x306px) Image search: [Google]
dankmemes.jpg
20KB, 306x306px
>>60677946
My personal favorite is when a entry level position is looking for 3/4+ years of experience and a shit load of knowledge of several languages. So basically you're getting paid an entry level salary for senior level work.

Or even better the other day I saw a 18 months unpaid internship (in a major city) basically requiring you to know how to develop full stack applications.

Needless to say I'm not excited about entering the job market this coming July.
>>
File: images (1).jpg (94KB, 817x1080px) Image search: [Google]
images (1).jpg
94KB, 817x1080px
>>60677845
It might help a bit on the development side, sure, though not really enough at first to make a difference, I would say. The real advantage is big points on your CV, a lot of companies see Linux users with good eyes.

Just do a dual boot or a live cd and play around with it every now and then. Also pic related is pretty good to start you off with the command line.
>>
>>60678031
This happened at my job.

Got hired for PHP and have been doing full stack for entry-level pay.
>>
>>60678031
Negotiate?
>>
what's the point of stores (redux, vuex, whatever the angular equivalent is)

why put the data of your app behind an extra layer and what problem do stores mean to solve?
>>
File: ZlunBUk.jpg (435KB, 4752x3168px) Image search: [Google]
ZlunBUk.jpg
435KB, 4752x3168px
I just can't think of a fucking project to do, that is 1. Interesting 2. Has not been done before.

I was thinking of making a website that tells you if you had new replies on 4chan or show you posts on a specific board with a lot of replies but I'm sure that has been done already.
>>
>>60678782
>1. Interesting 2. Has not been done before.
Hmm maybe that's because other people have done the interesting projects before.

Why's that stopping you anyway?
>>
What should I learn if I want a junior position, react or angular 2? What's more popular on the job market?
>>
>>60678782
Create a software which monitors global disaster indicators and automatically buys the commodities which are produced in the area
>>
>>60678416
separation of concerns

>>60678782
you could also try doing something that's already been done but is inadequate or not maintained

>>60678833
browse job offers in your area and find out for yourself
>>
>>60678847
Great idea anon. Someone should hire you as the idea guy.
>>
File: horse-js_400x400.png (163KB, 400x400px) Image search: [Google]
horse-js_400x400.png
163KB, 400x400px
I want to become a JavaScript God.
>>
>>60677946
>not having a PhD in jQuery
>>
>>60677845
Yes. Linux is not must have for actual development but you will probably host your stuff in Linux server.
>>
>>60679013
>separation of concerns

From what I read now it looks like it's useful, when multiple components need to access the same data, as it lets you modify it in a predictable way.
Does that sound right?

Also when I read
>The state of your whole application is stored in an object tree within a single store.
on the redux site.
Does that single store not become unwieldy in a larger application?
Kind of like throwing all your variables in one huge object?
>>
What's quicker to learn the basics of, React or Angular? I'm going to start looking for jobs paying good money but want to get my footing in one of these two in order to get through interviews.
>>
>>60680349
Also, Angular 1 or 2?
>>
File: 1491747397312.jpg (176KB, 449x537px) Image search: [Google]
1491747397312.jpg
176KB, 449x537px
>>60679219
GET OUT
GET THE FUCK OUT OF HERE NORMIE SHIT HEAD
RRRRRRRRRRRRREEEEEERREEEEEEEEEEEEEEEEERRRRRRRRRRRREEEEEEEEEEE
KYS RRRRRRRRRRRRRREEEEEEEEEEEEEEEE
>>
>>60680349
React is easier but that's because it's only the view and angular is the model, view and controller. But you'd probably write better react code faster after learning something like angular first desu
>>
>>60680423
I'm pretty much prioritising a basic understanding above all else. I just want to know enough to land a JS framework FE job (even if I learn some React, that could be enough to get me a job with Angular, and vice-versa).
>>
>>60666318
>currently learning Golang and planning on moving further to Elixir, Crystal and C#
wow very useful fagshit
>>
Folks on /wdg/ that have taken remote jobs, how can you tell if an employer is going to actually pay you?

Got an offer last week. So far all I've been sent was an nda and intention of employment. No W-2 or anything yet?

I'm starting to wonder if this position is real or not. What do?
>>
>>60680920
Are you indian?
>>
>>60663325
>concurrency is practically undoable in a sane way
asyncio / uvloop is basically the easiest way of doing concurrency in any language
>>
>>60680934
Fuck no anon. How dare you sir!
>>
>>60680920
negotiate pay before starting any work. anything else is a scam
>>
>>60680920
For big projects, try to find clients who accept per hour jobs. Or 'hire' an intermediate company, a la Upwork way.
>>
>>60677883

Hey, Cevapcici guy..

If you know webdev you only need customers.
You get customers by networking.

Have you ever done a sport?
Have friends that do sport?
Good, go to their club and ask to make a website for them.
Make a website for yourself, for the local grocery store or for your mum.

Just get experience.

At first you make it cheap because you are unexperienced, then you go up with the price.

No magic, just plain craftsmanship and marketing.

>>60677961

Why using it then?
It's your own fault.


>>60678782

Just make a project that would be interesting for YOU. What are your hobbies? Is there any way your would like to process information about this hobby? (collect/sort informations, webscraping, illustrate informations, teach informations to others..)

>>60678833

Rather ask yourself what is interesting for your to work with 24/7.


>>60679219

Great, there are not many good JS developers.
Most guys are rather medium tier.

>>60680370

2


>>60680457

Then learn Vue. It has all the interesting parts of React and Angular. Vue is love, Vue is light.
>>
>>60680963

>sir

spotted the indian..
>>
>>60681246
>>>/reddit/
>>
>>60681246
There's < 50 jobs for listed for Vue. Almost 2000 for React.

(I looked around and apparently Angular is waning, Angular2 is meh and React is on the rise and already more popular than Angular, and easier to get a foothold in, so I'll be learning React.)

[spoiler]If anyone knows any good tutorials, I'm all ears.[/spoiler]
>>
File: EnglishTeacher.jpg (27KB, 594x261px) Image search: [Google]
EnglishTeacher.jpg
27KB, 594x261px
>>60680688
And what do you suggest, faglord?
>>
>>60676081
> I've been struggling with JS because I can't imagine using it practically.
Well have you tried using it practically? Come up with your own projects or just skip ahead to the projects sections of FCC.

>Therefore I just forget everything after the tutorials.
A big part of this is just memorization and practice. Keep beating it into your head over and over and eventually it will stick. And doing practical projects does help a lot, as does watching videos of people explaining the concepts verbally (at least for me).

>Some people seem to have got jobs pretty quickly with FCC. Anyone with more experience like to weigh in here?
Some people are bullshitters, some people have prior programming experience, some people are really smart and pick it up quickly, some people are good at networking and already had a job lined up, or at least know who to talk to. You're ready when you're ready. Don't worry about being slower than other people.

Keep in mind that FreeCodeCamp is not some kind of perfect self-contained career kit thing where you complete all the little puzzles and then they hand you some certificates and a job at the end. The end goal is to learn how to make things that are valuable to humanity and/or the tech industry. You should also pursue other resources that seem helpful and get recommended a lot (while also taking care to keep at least somewhat focused...).
>>
>>60681324
not learning double-use shitlangs

Java will do the trick for webdev, learn Kotlin and Clojure if you need script + functional
>>
>>60681300
>There's < 50 jobs for listed for Vue. Almost 2000 for React.

This right here unfortunately, unless you are working in China.
I put all my time into learning Vue and I really like it, but I never see it in a job listing.
My only rescue might be freelance clients, that don't care what I use.

Is it at least easier to learn React when you already know Vue?
>>
>>60681246
>Why using it then?
>It's your own fault.

Is there a better solution to use for freelancing that gives the customer the ability to edit content and deploy those changes themselves, without having to actually edit code?
>>
File: ashamed.jpg (69KB, 612x612px) Image search: [Google]
ashamed.jpg
69KB, 612x612px
>>60681384
It's funny you say that since I was thinking learning Java too.

Kotlin and Clojure are interesting too, but without solid knowledge of Java I doubt you'll be proficient in them (correct me if I'm wrong).

Fuck it, I'll do them all. Goodbye social life, oh wait, I never had any to begin with...
>>
>>60681268
Nein. I am just the last of the Americans to be raised properly.

>>60681022
Good to know, negotiations are completed.

>>60681030
This is a per hour job and they claim I can do all the overtime I want.
>>
>>60681384
>double-use shitlangs
what did he mean by this?
>>
>>60681283

/kiss_my_sweaty_balls/


>>60681300

You are a moron..

>ten thousand flies are eating shit, they can't be wrong!

Vue is a good entry, if you really stoop to develop single page apps, Vue is the entrance (and the future, by the way). React (+ecosystem) would be the next logical step, or Ember if you are a special snowflake. Angular is just plain garbage for anal retentive Java developers who get heart problems if they can't pinpoint the type of a variable at any given time.

Don't give up on yourself.
Don't be "that guy".
Don't learn Angular.
>>
>>60681474
I wont, I'm going with React.

But the fly analogy doesn't work. I'm looking to gain employment in a technology.
>>
>>60681399
That is why I gave up on front-end. This JavaScript thing looks awfully lot like a mass hysteria.
>>
>>60680056
>From what I read now it looks like it's useful, when multiple components need to access the same data, as it lets you modify it in a predictable way. Does that sound right?
yep

>Does that single store not become unwieldy in a larger application? Kind of like throwing all your variables in one huge object?
if it had a flat structure then maybe, but it being a tree makes it manageable if done correctly. does your html become unwieldy in a larger application? what about the file structure of your project? both of those are tree-like structures.

>>60681503
I dropped a project 3 years ago or so. the frontend was angular 1 and now I'm rewriting it from scratch in react. I'm calling it now that I'll drop it again soon and when I pick it up again in 2020 I'll be rewriting it in some new shit like elm or whatever :^)
>>
>>60681565
I realized Angular 1 was bad for my health after looking at an open source app on Github, so I waited patiently for Angular 2.
With pure React you will struggle the first week, but it will be cool afterwards.
>>
>>60681625
Yep. I'm a month in already and it's been great so far with Mobx and Typescript.
>>
>>60681565
>>60681625
https://hackernoon.com/the-javascript-phenomenon-is-a-mass-psychosis-57adebb09359
>>
>>60676081

Javascript has pretty massive uses.

Dynamic form filters (select a country in a drop down, second dropdown lists states/counties for that country)

Inline popups

Form validation before submission (passwords do not match etc.)

Most user interaction that changes a page without page reload is done with javascript.
>>
>>60681889
The point of using the perfect Js Framework is to avoid spaguetti code and so many issues.
Modern javascript development includes ES6, Typescript, and dealing with babel/webpack/gulp configuration only 10 seconds per day.

I could choose to bite my fingernails instead but no. By the way, I've also dropped a project written in an old Js mvc framework.
>>
>>60681503
It is. I just stick to plain JS, no framework, transpilers, etc, I'll use a library if the problem is complex enough that I can't come up with solution better on my own. I'm full stack though, so I can reason about what should be done on the client or the server or both. When using node I usually follow the same principles. I don't use express often but I'll use some of the middlewares they offer. I also have given up template engines and just use `template ${strings}` + concatenation. Most people in the 'js community' would probably call me a bad programmer but at the end of the day my websites are more accessible, easier to reason about, easier to test, and best of all, far more performant. Since I avoid meme technologies, my code is also much more timeless, not needing a rewrite every 2-3 months to stay comprehendable.
>>
>>60679219
Why not be a god of a better language? Be a god of C or Java and you'll have the world in your hands.
>>
Why web dev?
>>
>>60682133
$$$
>>
>>60682110
Why those languages?

>>60682137
Why not any other type of dev?
>>
>>60682060
Frameworks don't protect against spaghetti code. No library or framework is going to stop you from writing obfuscated code. You could even argue that it increases the likelyhood of spaghetti code by introducing abstraction and the overhead that comes with where it's not warranted.
>>
>>60682151
Well both are pretty powerful and diverse and Java is cross platform.
>>
>>60682151
webdev is relatively easy money compared to other dev jobs. not too hard to build stuff and the pay is decent.
>>
>>60682240
How much do you make?
>>
>>60682194
The best libraries (the ones designed by very smart guys) promote best practices when programming, to an extend.
The weakest link in the chain sometimes is the programmer.
>>
>>60682255
nothing at the moment as i'm still a beginner but the job postings got you covered.
>>
>>60682151
>>60682240
>>60682255
Additionally, web dev has ridiculously high demand and basically always has relative to the rest of the job market.

Right now I make $140k before bonuses and profit sharing. If I wanted to pursue a higher salary I could have definitely been over $200k by now, but I work at a small startup that is comfy af. I run the show on the tech side, I have a team of five guys under me, and I basically just work whenever I feel like it. Plus I was granted a minor stake in the company. I've been in web dev around ten years, no diploma.
>>
>>60681959
>>60681376

What I meant was that from using codeschool and other resources, I couldn't make the jump from learning the basics to actually applying them. I tried the form validation example in the back of the Jon Duckett JS book and found it demoralising to the point where I wanted to quit completely. I was essentially just copying the code. I'm understanding the concepts but having trouble using them myself, which is why I thought FCC could be useful given its defined structure.

Anyhow I've been working through FCC today and generally feeling more positive. A guy messaged me today asking about potentially building him a site, so there's an opportunity to get paid to learn WordPress.

As for using other resources, I'm aware of the need for that. My aim is to be able to build my own web apps. Obviously there isn't a course for this. Anyway, thanks brahs
>>
>>60682881
>A guy messaged me today asking about potentially building him a site

wtf, how? How did he find you? Through FCC? Does it work that fast?
>>
How can I transition out of Javascript land while still remaining relatively employable? I'm sick of wasting so much time learning shitty meme libraries only to have them become irrelevant so quickly. I just want to git gud at an actual language, not some pile of shit like Redux.
>>
>>60683087

Doesn't work that fast lel

I built a webpage and made an in-depth post about it. Shared it on Facebook and Instagram.
>>
>>60680920
independent contractors dont get W2s. you're 1099 now.
>>
>>60678416
vanilla objects and arrays in JS arent efficient unless you literally roll your own diff engines and data structures its shit for UI programming
>>
>>60662479
Is there a JQuery-like kit for CSS3 that I can use to make beautiful sites that work with minimal JavaScript?
>>
>>60682060
>The point of using the perfect Js Framework is to avoid spaguetti code and so many issues.

That's funny, because the worst code-base I've ever seen is the 1.5 year old enterprise redux app I'm currently working on (and I've worked with some garbage technologies like Wordpress, Drupal, Kentico, etc)
>>
>>60683167
Learn C# or Java. You don't get rid of Javascript easily specially these days but a real programming language makes you appreciate everything that JS isn't.
>>
>>60683847
Can you get involved in the M$ stack if you're on linux yet?
>>
>>60683888
Pretty sure you can. Why you'd want to is another thing.
>>
>>60683988
how else would I utilize C# m8?
>>
>>60684007
Microsoft® 10™ Server Edition 2016© of course.
>>
>>60683847
>C# or Java
>preaches taking the easy way
>specially
>>
>>60683801
Yeah, that's why I chose MobX instead, and why I decided not to learn Scala for now.
>>
>>60684044
Both C# and Java are infinitely better than JS or whatever shitheap of an ecosystem is popular this month

No one said anything about taking the easy way
>>
File: .png (62KB, 1920x1034px) Image search: [Google]
.png
62KB, 1920x1034px
So I finished the back end for my chat website but I have no idea what I'm doing with the front end.
Forgive me if I seem lazy but, is there something I can read that would help me write it without learning everything about javascript?
I want to do it without anything like jquery.
What I have so far is garbage.
>>
>>60668277
Yep.

It's sucks being a web dev and knowing that this guy is out there rolling in dough and horse pussy.
>>
>>60684663
>omegle clone

Do you really lack creativity so much that you need to clone other sites?
>>
>>60684737
Omegle is filled with bots and dicks, the guy seems to not care.
I can make it a million times better by removing those alone.
>>
>>60684737
it's a perfectly fine exercise
>>
Tomorrow is the day I finally get Ritalin again after over a decade without it.

It's going to take me to the end game.
>>
>>60684663
jquery is default. everyone uses jquery. if some poor asshole doesn't have the latest version of jquery cached on their machine from a CDN, they deserve to be robbed of those kilobytes.

vanilla javascript makes most things at least 5x more time consuming and obnoxious.
>>
>>60684663
and I hope you're going to be using websockets and not http, anon-kun.
>>
>>60684870
Welcome to five years ago.
>>
>>60663325
Try Clojure for concurrency, 1/10 the verbosity of Java, and macros. It interfaces with any Java program so you have access to the largest library collection of any programming language.

You can "wrap the crap" where you take some Java lib, write a low level abstraction to make it work nicely in Clojure, and then write the elegant application code in a lisp style. Pumping out a CRUD or SPA backend should take one day.
>>
>>60685623
>muh cutting edge

fuck off faggot

>>60684663
just get bootstrap or foundation or use material design
>>
>>60685714
And then https://github.com/Day8/re-frame on the frontend.
>>
How hard would it be to create an imageboard from scratch (using frameworks of course), also what browser do you use? I am using Firefox Developer Edition.
>>
>>60685714
I wanted to switch to clojure on a project I'm working on in nodejs, but after benchmarking the same request in both languages, I decided to stick with node. In my case node was almost 10x faster. Didn't bother trying clojurescript on node, because if I was going to go that route I'd probably go with parenscript.
>>
>>60686595
I should mention that in my case it was hiccup that was the culprit. I didn't test any other clojure html libraries either because in my quick google search, hiccup usually performs the best anyways. I was surprised though, because cl-who, an sxml library for common lisp, has always been incredibly fast for me. I would expect hiccup to be too.
>>
>>60683787
It's called CSS
>>
File: dd.jpg (177KB, 969x668px) Image search: [Google]
dd.jpg
177KB, 969x668px
I'm trying to get futallaby running on a laptop for local use. I'm running XAMPP to try and make things easier on me. after configuring the PHP script I get this page, I can tell it's running something because the first 40 or so lines don't show up and the buttons are all there. futallaby has my user information for the SQL service but it still hasn't made a database/table for itself, do I have to make it?

All of the problems are associated with spots where > symbols show up (never = symbols) but if I try and erase the > symbol for testing purposes the problem still hapens there, if I delete that row it goes down another 10-20 lines to find the next > and starts showing the code from there.

Pic related it's what my page looks like, any ideas?
>>
>>60687290
Your php file is being sent to the browser without being processed. Are you accessing the page on over http:// or are you trying to pull the file up using file:/// ?
>>
>>60687290
I'd try making a database for it, and configuring the futallaby user with access to the database.
>>
>>60687392
>>60687290
actually, its because futallaby is using php short tags, <? instead of <?php. you can either change that in all the source files or find your php.ini and set short_open_tag to be true.
>>
Do you think it is possible to be able to get a junior front end position within three months?

I finished my first year in a CS course and it would be amazing to have a web dev job through the rest of college.
>>
>>60687613
Yes.
>>
Should I get started with front end or go straight to back end?
>>
>>60688090
Depends on your previous programming experience really, also if you cannot decide, try both, web development is all about trying new things out.
>>
>>60688090
Find a project that entails a little of both.
>>
>>60688256
I know basic Java. Basic C++. I've played with PHP and SQL and I remember taking a course in codecademy on javascript/html/css. I've never done anything with any of them.
>>
>>60688090
for the love of god focus on frontend. unless you can spare the time to get proficient with a backend lang or framework (by actually building shit - which will ofc have a shitty frontend design) .

nah focus frontend
>>
>>60688412
why?
>>
>>60688418
personal experience thats why.

you create basic shit on the backend starting out right, progressing to building more complex systems and maybe even pickup a framework along the way.

but after your todo lists, your bloggers, your social networks, your incorporation of popular apis, your small client systems what do? you go on to try to learn how to do more complex shit and thats where you'll either be enthusiastic or demoralised. for me it was the latter.

maybe you'll enjoy it though and to be honest the projects you make will still look good on your resume. you definitely learn a lot about how a lot of sites work. i still advise you get a firm footing in frontend dev.
Thread posts: 325
Thread images: 43


[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.