[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: 85
Thread images: 12

File: wdg_tiny.png (251KB, 824x553px) Image search: [Google]
wdg_tiny.png
251KB, 824x553px
>Getting started
Get a good understanding of HTML, CSS and JavaScript.
MDN web docs offer a good intro (independent of your browser choice)
https://developer.mozilla.org/en-US/docs/Learn

>Free online courses
https://www.codecademy.com/
https://www.freecodecamp.com/
https://www.bento.io/

>Roadmap
https://github.com/kamranahmedse/developer-roadmap

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

>Youtube channels
https://www.youtube.com/user/TechGuyWeb - Traversy Media
https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ - freeCodeCamp
https://www.youtube.com/channel/UCO1cgjhGzsSYb1rsB4bFe4Q - funfunfunction
https://www.youtube.com/learncodeacademy - codecademy
https://www.youtube.com/derekbanas

>in-depth comparison of VPS hosts
https://www.webstack.de/blog/e/cloud-hosting-provider-comparison-2017/
>>
File: oilnor.png (142KB, 715x585px) Image search: [Google]
oilnor.png
142KB, 715x585px
First for Norway
>>
File: 1493163286586.jpg (79KB, 916x892px) Image search: [Google]
1493163286586.jpg
79KB, 916x892px
>be a react developer in a nice comfy startup
>leave startup and accept a much better paid enterprise position
>have to work with backbone and underscore
kids, don't do this
>>
File: 1492215302048.png (3KB, 112x112px) Image search: [Google]
1492215302048.png
3KB, 112x112px
This is how my db is set up:

>two user type tables with a foreign key to user_info table
>two types of businesses with a foreign key to business_info table

My issue is, how do I manage one (or more) business manager? Should I use the primary key from user_info or one of the two user type tables?
>>
In one word describe your personal portfolio website. I'll start:

JUST
>>
File: 1498771043117.png (116KB, 500x465px) Image search: [Google]
1498771043117.png
116KB, 500x465px
>>62067205
>doesnt exist
>>
>>62067205
>personal portfolio website
what is this, 2012?
>>
>>62067272
What is the 2017 equivalent?
>>
>>62067205
>exists
but no content
>>62067272
what's bad about a place to demonstrate what you can do?
>>
>>62067293
a profile on medium
>>
>>62067846

> not building his own medium equivalent to showcase his talent

Spotted the graphic designer pretending to be web developer
>>
File: elli-foxx.jpg (66KB, 333x500px) Image search: [Google]
elli-foxx.jpg
66KB, 333x500px
Using react redux combineReducers kills my app. The view doesn't reflect the state even if given an IntialState. However, using devtools I see that the state changes the way it is supposed to do? What's going wrong?
>>
How do we get rid of the ESL web dev poster problem on /g/?
>>
>>62064736
>>62068102

Ill post this in the new thread as well.
>>
>>62067936
Okay, I've noticed that the view gets undefined props?
>>
>>62067925
>being so uncreative that you have to resort to cloning boring shit

>>62067936
>What's going wrong?
you're using redux instead of mobx

>>62068076
what? you mean the esport league?
>>
>>62068845
spotted the esl shitter who's apparently a vidya nerd
go away
>>
Would you go to university to study web development, /wdg/?
>>
>>62068121
Would you say it is bad to include header and footer files with PHP or is that okay?
>>
>>62068962

I am very new, I will look up on the downsides, is there a major reason not to?
>>
>>62069031
Not that I am aware of, just seeking other people's thoughts.
>>
>>62068880
now I'm genuinely curious what you mean by esl. I haven't been reading wdg lately because I'm currently in mania mode working on a project 24/7

>>62068926
fuck no

>>62068962
>>62069031
it's fine. doing mvc with some templating engine is a better way to do it, but beginners should be taking it one step at a time
>>
>>62068926
are you retarded? Once you finish, there'll be new meme frameworks which you didnt study about.

Also, good luck paying off the debts competing against pajeet
>>
File: dino.png (627KB, 900x773px) Image search: [Google]
dino.png
627KB, 900x773px
>>62059854
>Ditch angularjs for react or vue and you got a better stack.

Why is that better than angular for MEAN stack?
>>
>>62069135
his personal preference. try all three of them yourself or pick one at random. reading a bunch of contradictory opinions won't help you in making the choice
also typescript+react+mobx+styled-components is currently the best spa combo
>>
File: wtfrecursion.png (45KB, 522x439px) Image search: [Google]
wtfrecursion.png
45KB, 522x439px
explain this
>>
>>62068926

I did and minored in information systems. Wish I had reversed the two and majored in IS instead. I would still not recommend it because of the massive debt. I was an armyfag so I don't have to worry about student loans.
>>
>>62068926
Universities offer web dev course?
>>
>>62069492
Clever. What don't you get?
>>
>>62067936
I inherited a React+Redux codebase, found Redux to be absolute cancer.

It would have been neat in a language with algebraic types like Haskell (TypeScript doesn't cut it, unfortunately) or one with actor model concurrency like Erlang, but the way it is it's too much boilerplate for too little gain.
>>
>>62068926
Not even really an option, but no.
>>
>>62069675
It helps me get a grasp of fun languages, tho. It feels like little sandbox in JS that let's you do some stuff you aren't actually cut for manipulating some views in an app.
>>
>>62069645
the second recursion particularly, but not too sure about how the whole algo works
>>
>>62069920
By, "Second recursion", you mean the second time it goes through the function? I'll explain it as such.

Notice that when it calls the program, it uses
hanoi(3, 'Src', 'Aux', 'Dst');

In that order.

Then when it reaches the first point of recursion, it calls in a different order
hanoi(disc - 1, aux, src, dst);

Notice how the order changes between src, aux, and dst. Does that help?
>>
File: Shyla-Stylez-Pictures.jpg (1MB, 2560x2048px) Image search: [Google]
Shyla-Stylez-Pictures.jpg
1MB, 2560x2048px
>>62067936
>>62068691
I found my mistake. I introduced combineReducers to my app which, I guess, changed the state tree of my app. However, I didn't consider this in my stateToProps function. This is why I referenced a wrong object and returned undefined to my view. Have tits fellow niggeneers
>>
>>62068926
I did, and when I got hired I asked my boss if they would have hired me w/o a degree. The answer was a clear yes. And then I proceeded to work next to someone who had a degree in english and had just finished a code bootcamp
>>
>>62069990
So, if i understood correctly, the second call with 'aux' as second argument moves the disc from aux to dst, unlike the first call which moves disc from src to dst.
>>
>>62068926

Experience is king in web development. I learnt nothing from my time at university and it did fuck all in getting me a job.

If you want formalized, structured learning it can be good if you pick the right course that will teach you the coding you'll need and good practices but it's expensive. Also, degree courses teach you all the answers that employers love putting on coding tests (a self taught PHP developer probably will never experience things like tree structures and the various search types)

If you can learn a comfortable level of coding yourself, get a portfolio of coding examples you can show off and contribute to some projects that'll look very good on a CV and put you ahead of someone with just a degree and no proof he can actually code.
>>
>>62070227
Yes, and now that I look at it, I see it calls itself twice in the same function. So double recursion, never seen that pattern before. So it mixes them up once and calls itself, then mixes itself up again and calls itself
>>
>>62070899
Stop spamming your private server.
Post in the thread if you have something to contribute.
>>
File: 2f7.jpg (28KB, 601x508px) Image search: [Google]
2f7.jpg
28KB, 601x508px
Ok real talk; How viable is it to make a living on remote work / free lance? I've social anxiety and I'm not sure if I can function in a team with irl interactions and meetings.
>>
>>62066945
What's wrong with underscore?
>>
>>62071455
Not anon, but Lodash in objectively better and backbone is old man garbage
>>
Anyone using webpack and react? Is it possible to do imports like: import Button from 'Button' no matter where the component is in components directory? I would want to use unique names and just use them to import.
>>
>>62071430
pretty sure with freelance work you need even better social skills since you have to market yourself and go out to find new customers on your own (at least in the beginning)

I am in a similar situation.
Looking at job offers it's all those places trying to be hip and advertising with regular events and partys. I just want to code something and possibly get paid...

>>62071535
I am using webpack with Vue.
Not 100% sure I understand you, but yeah of course you can require/import from any directory.
>>
>>62071430
I was the same as you. As a adult you will have to find a way to not be socially anxious. Understand where the problem comes from. You cannot function independently without having to interact with others regularly. Also if you are doing freelance shit then there will be a lot of video / phone calls. It is unavoidable.
>>
>>62071602
I mean i want to Import a Button, but using a component name and without a path.

So it works when I move the component. Like for example React Native got providesModule.
>>
>>62071535
import Button from './path/to/button'
>>
>>62071430
>social anxiety
>trying to succeed in freelance
Might as well kill yourself right now.

Fully remote contract gigs on sweatshop rentacoder sites don't pay enough to scratch out a meager living in anywhere other than india or china. In order to succeed in freelance in the US you have to build a local client base, meaning sales and account management (real human interaction). It's a huge part of the job.
>>
>>62071719
Yeah, but I would want it without the path.
>>
>>62071651
>>62071739

there is resolve.modules where you can specify which directory webpack should check.
So you can specify your component directory in there and webpack will check it, when you import 'button' in your code.
That what you mean?

https://webpack.js.org/configuration/resolve/#resolve-modules
>>
>>62071749
But it won't scan the folder recursively? If the component is in subfolder it won't work?
>>
>>62071773
You have to override the default behavior ya dunce. There's not an out-of-the-box solution for this, but it's very doable and pretty straightforward to implement. Go do the legwork from this point and figure it out.
>>
>>62071773
no, the loader needs a path to a specific file.
imo it wouldn't be a good idea anyway to import something in such a vague way
>>
>>62071833
It's not really vague. In native we got unique components names and it worked.
You don't have to think where the hell is that component located or change 50 paths when its moved.

But it seems it's impossible in webpack.
>>
>>62071430
Just find normal work remotely. I'm in the same situation. Only have to deal with the boss and some coworkers. But it's only over net. Don't need to deal with clients or other crap. You don't need to talk about anything beyond the tasks with them.
>>
>>62071876
Of course it's possible, you're just retarded.
>>
File: 1503593504063.jpg (11KB, 320x320px) Image search: [Google]
1503593504063.jpg
11KB, 320x320px
>>62071876
>>
How do I get my first client? Local businesses? Online freelance work? How do I approach clients?

I'm sorry if this gets asked often but I was always terrible with business, I'm honestly clueless when it comes to actually selling my services/work.
>>
>>62072382
>I was always terrible with business, I'm honestly clueless when it comes to actually selling my services/work.
Sounds like you're the perfect candidate for freelance!
>>
>>62072447
:(
>>
Hey guys, I made my first javascript add-on. It makes youtube livestream comments into speech. Pretty great as background entertainment if you find a good stream.
>>
>>62072546
Make them display over the video like in NicoNico and I'll download it
>>
I've been using flask for a while
Recently I wanted to try websocket stuff
But the way I got into it is node.js
Should I migrate flask to node.js
Or migrate the websocket project to a flask websocket project

I'm OK with either, is either of them difinitely better?
>>
>>62072868
>new line for every fragment sentence
>not punctuated
I didn't read your post.
>>
>>62072975
Who are you quoting?
>>
Do webdevs actually like JS? After all, you're still compiling to and using it.
>>
>>62073001
>>>/r/eddit
>>
>>62073007
JS is much less shit than it used to be. ES2017 is pretty decent.
>>
>>62073007
I didn't use to like it, now I do. Probably just got used to its apparent shittinnes.
>>
File: 1503341282269.png (17KB, 882x758px) Image search: [Google]
1503341282269.png
17KB, 882x758px
FUCK FUCK FUCK I JUST WANT A COMFY JOB WITHOUT A DEGREE BUT WEBDEV IS SO FUCKING BORING AND IT ALL JUST SEEMS LIKE COPY AND PASTE BULLSHIT WHY DOES IT HAVE TO BE SO BORING AND INSUFFERABLE
>>
>>62073032
less shit is extremely relative
>>
For those who made it

Was it worth it?
>>
>>62073226
There's no "making it" in web dev
>>
>>62073259
Employed
>>
>>62073226
Yeah. Saving a ton of money. Tons of flexibility. Gonna move to Europe and work from there for a year. Upper middle-class income. Work on pretty much whatever I want whenever I want.
>>
>>62072447
I'm glad 4chan is also so helpful.
>>62072382
I actually went to r/software and scoped out people who needed specific apps made. But I've since accepted a job somewhere so haven't had time to do side work. Should get back into it though.
>>
>>62073059
What do you feel about devops? We're steadily heading in that direction at my shop.
>>
>>62073059
Freedom to create any app you want, that can easily be opened by anyone with access to a browser.
Are you talking about converting PSD to WordPress templates or wtf.
If all you do is reuse other people's code I feel bad for you.
Get some creativity going.
>>
>>62073226
Oh yes. I started at $47k for my first job and now at $80k with fairly minimal expenses, so knocking back a good bit of money. Job is pretty low-stress, also.
>>
Is there a <textarea> like element that has default functionality to bold and underline, etc. kind of markdown/controls like ctrl+b?
>>
>>62073658

Damn good job anon. I'm still waiting to hear back from HR about moving from a 57 to 87k job in a different department. Hope to be there before the end of the year
>>
>>62074042
You could probably use some type of jQuery WYSIWYG if you wanted to.
>>
>>62071493
Everything is done with RxJS now
>>
>>62074042
https://www.google.pl/search?q=html+rich+text+editor
Thread posts: 85
Thread images: 12


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