/wdg/ - Web Development General

Death to PHP!

Previous Thread: >IRC Channel
#Sup Forumswdg @ irc.rizon.net
Web client: rizon.net/chat

> Discord
discord.gg/0qLTzz5potDFXfdT

>Learning material
codecademy.com/
bento.io/
programming-motherfucker.com/
github.com/vhf/free-programming-books/blob/master/free-programming-books.md
theodinproject.com/
freecodecamp.com/
w3schools.com/
developer.mozilla.org/
codewars.com/
youtu.be/JxAXlJEmNMg?list=PL7664379246A246CB - "Crockford on JavaScript" lecture series.

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

>Backend development
en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
gist.github.com/dypsilon/5819528/

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

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

>How to get started
youtu.be/pB0WvcxTbCA - "WATCH THIS IF YOU WANT TO BECOME A WEB DEVELOPER! - Web Development Career advice"
youtu.be/zf_cb_Nw5zY - "JavaScript is Easy" - If you can't into programming, you probably won't find a simpler introduction to JavaScript than this.

>cheap vps hosting in most western locations
lowendbox.com
digitalocean.com/
linode.com/
heroku.com/
leaseweb.com

Other urls found in this thread:

wired.co.uk/news/archive/2016-04/06/panama-papers-mossack-fonseca-website-security-problems
xtrememoment.pgtb.me/FBHTTn/kPCPS?w=47679082&e=124909342
youtube.com/watch?v=zKkUN-mJtPQ&list=PL6n9fhu94yhWKHkcL7RJmmXyxkuFB3KSl
twitter.com/NSFWRedditGif

First for Django, the framework for perfectionists with deadlines

these links are fucking shit

TS is pretty good, if you ignore the part of it, that came before ES6 compliance.

Thoughts on Angular2/Typescript as compared to AngularJS?

And people who don't mind Panama papers scale security leaks on their resume

>it happened because of django
nice meme

Anybody here had any luck making a living off their own websites?

My job is ending soon and I get 6 months worth of salary with me while I have no expenses living at home. So I'm thinking about spending the year developing and promoting my own niche websites. And then making some affiliate income. I think with a proper niche it's perfectly viable. But because so many pajeets try and fail I was wondering if other people here had any success with it.

how good are you at math?

I'm a front end dev, gonna start learning math again from scratch, think it's holding me back

Math is just practise. Nobody gets good at it without doing it a lot.
But I don't believe you really need it. You just need to understand the basics.

Wait, Mossack Fonseca used Django?

I act as a middleman in my website, making it easier for property sellers to reach clients and vice versa. While many of these exist, mine is specialist for a certain property company who used to use facebook threads to make enquiries, as these are quite high-end properties. I make decent cash, almost enough to live off it

I want to build ui's that model real physics and stuff like that

Sounds good. A while ago a friend of mine suggested making a marketplace where regular people can place work to be done, like building a new shed, and then suppliers can bid on those work offers. But I ditched the idea because I didn't think he'd contribute the same amount of time as I would.

So now I'm working on a different idea with someone who's both willing and capable of investing time and money. We've got so many ideas of things that can be build. But we couldn't execute most without some degree of financial independence. So losing my job feels like a great opportunity.

I'll probably start working as a front end intern soon. I think I now realize this is not for me because I already think for how much hours per day I'll need to write angular and what not. I can't see myself doing something so non creative and boring. Fuck. I don't think I'll survive, I barely even force myself to learn more JS.

Nice. I too will be out of a job relatively soon, probably by December.

I am under the impression B2B would be better than B2C, or at least easier to monetize, so I am searching for something in that area, but have not decided, yet.

The great thing about b2b is that businesses are used to buying overly expensive subscriptions. And they are used to cold calls. So you can literally approach them with your product.

I usually just lurk, but wanted to jump in and recommend you guys try Clojurescript. Has completely changed my way of writing for the web and how productive I am. I might try stuff like elm in the future, but if I can help it, I am never going back to JS.

Hey what do you think are the bare minimum neccessary skills to be a Front end intern? Like what should i be able to do and have in my portfolio?

I've mostly worked on mobile and servers, just started using angular last year. Now angular 2 seems too different for me, the main problem that I've no idea how I'm going to migrate my projects.
Also I don't had any problem with javascript, but angular 2 has most of it's docs in typescript so I'm somewhat forced to change.
I can't understand why they have to change every standard in frontend this often, this much.

But do you REALLy have to migrate to Angular 2?

I see Drupal not django

wired.co.uk/news/archive/2016-04/06/panama-papers-mossack-fonseca-website-security-problems

Idk, the benefit of the meme technologies is the wide range of plugins and support (and demos and tutorials), so eventually most of the new features will only be presented in angular 2. Currently in our local frontend meetups there's hardly anything else on the topic besides angular 2, so I guess I have to adjust.

fuck them, I stick with React. at least they wont introduce React 2.0 and change everything.

Angular is a lot faster when you get the hang of it.
*insert why not both meme*

Is front end development a boring field?

Things are only boring if you find them boring.

Faster to develop, slow to run.

i just need the view component lol. I want to extend my current websites, not convert them to SPA's

Re reading my question makes me look like such a lazy fuckbag. Anyways what im trying to say is im halfway through javascript&jquery, by jon duckett, finished his book on html and css and have made an imageboard, everyday sites that look like salon.com(without a proper logo and custom graphics but i bought a photoshop manual and pirated photoshopCC cuz im a broke nig) etc. Working on a blackjack game that has graphics and everything while displaying chances of winning, logic process of card counting. Gonna read a book on php amd sql after What else do i needa do to land a webdev internship senpai?

/wdg/

I am a proficient PHP dev and know front end development and design.

Is it worth me learning say, meteor/react with graphql for a personal project when PHP is a solution I can implement with working knowledge?

I feel meteor/react is a better package for what i want to achieve but the browser i wish to support (chrome 3) can not support modern features.

The browser listed above I need to support only really is for login verification and I expect the actual site to be used properly out of game. (The browser is an in game browser, eve online)

Any other Web Devs with shit memories here?

I'm a mid level web dev (5 years professional experience) but I still have to look up syntax and commands for a bunch of normal stuff (even basic stuff like defining classes) and can't do Regex at all without a cheatsheet.

I've dyspraxia which probably goes towards my shit memory but it's still embarassing having to look up shit, especially when someone's looking over your shoulder asking you to do something.

>I am a proficient PHP dev
And I am a man with a penis

programmers should never try and remember anything, the only stuff you should remember is stuff that sticks in your brain from using it

How do I set up a server to host a website? I know about digital ocean but I've never used linux before, all the guides are so confusing that whenever I make a mistake I have no idea how to undo it so I just destroy the server and make a new one. The command names and syntax are extremely obscure and I can't remember them.

Is there a retards guide for this that doesn't involve an 800 page book?

My idea for a site has been a holiday diary site.

You do your plans for a holiday on a website, where you're going each day etc. you can set it up so that facebook friends or whatever can view it, add comments, make suggestions.

At the end of the day on holiday you write a little diary entry attach some photos etc. or you can do the whole thing when you get back.

You can also see the holidays celebrities have taken, and advertisers can pay to offer holidays that match the itineraries. Outside of celebrities you have promoted/highly rated holidays.

There'd be anti-stalking measures like letting you delay the publication of itineraries until after you've left, blocking it from public view etc.

Write down your own guide...

Install a VM and play around with them, exactly what I do. Some linux distros like centos comes allows you to select packages to install to have it set up as a web server or small corporate server, etc.

I know it should be expected that you have one eye on the documentation but you still feel like a fucking moron looking up basic commands when someone is watching.

what's really shitty is writing code during interviews.

What I dislike about this field is that most of it seems to be a meme, unimportant shit. I never feel like I'm creating something new, always some generic business crud apps with a new memework on top of it every time. I can't force myself to spend my time building yet another shitty imageboard just so I can put it in a portfolio. Now I'm learning Angular 1 and Angular 2 is already changing everything. Just fucking why? Webdev seems like a one big circlejerk.

Hasn't really answered my question bud bit this is for trying.

This is what shared hosting was created for, people like you.

Btw reply was a mistake.

>tfw interviewer asks me to invert a binary tree on the whiteboard and I don't know how

kill me

I don't want shared hosting though

Web technologies move too fast, this is all...

After 3 months something new has come out that people are using. Angular 1 will still need to be supported as its so widely used. Angular 2 will transition in over the coming year/s.

All you really need to know is programming basics/principles and you can push that over to different languages and frameworks.

To be honest, web development is constantly changing and you spend massive amounts of time relearning stuff you already know (you know SASS? We use LESS).

After a while you stop caring. Once you learn the core principle of how a technology works, it doesn't really matter if there are syntax differences, it all blends in together.

You start off as a web dev with HTML, CSS, MYSQL and a bit of JS and after a couple of jobs, you end up with a list of technologies you've learnt that go on for a large paragraph.
SASS/LESS, JQuery/YUI, MVC frameworks, templators, Composer/Bower/gulp, GIT/SVN. It's frustrating and annoying switching techs but you get pretty numb to it

>prepared for interview
>turn up, whiteboard
>nail first 2 questions
>third question is code refactoring, removing redundant and unreachable code
EasyPeasy.png
>tfw im there staring at the board for like 5 mins like.. dafuq.

Interviews are intimidating.

Still got the job.

It's normal.
>can't do Regex at all without a cheatsheet.
Nigga, nobody knows regex.
I did plenty of regex and I still have to use testers and constructors and whatnot to create regex shit... then I forget what the fuck I was doing in the first place.

>had a tree traversal code exam to complete before the interview to my current job
>apparently I got the highest score they'd had on the test

It's nice having my imposter syndrome knocked back occasionally.

Tree traversal is always a fucking bitch. All it really tells you is that someone went to university.

No one uses that kind of recursion in web development because it's fucking confusing to write and read and rarely better than iteration.

>be me
>be intern
>first job ever
>have to know HTML, CSS, JS, jQuery, Angular, Bower, Git, Gulp/Grunt, Bootstrap/Foundation, Sass/Less and all the other company made technologies just to get an internship for a month

It's not to bad nowadays. Cloud Linux keeps everything compartmentalized, keeping your neighbors noise down. The new cPanel let's you choose all different types of versions of webserver/php/other languages to get the best compatibility. Litespeed web server is also tits.

No good interviewer should make you do code examples in interviews. In the job you're never going to be working without the ability to go to reference sites.

You can be massively skilled and still come up blank when they ask you to use a structure that is only used for very specific situations or some very specific 'basic' algorithm that they learnt at their university.

What about Google and the other giants that murder you with those kinds of questions? For a front end e.g. you have to know more CS than webdev.

Modern hosting generally uses isolated instances which makes shared hosting less of an issue now.

Set questions are bullshit and tell you fuck all about a someone other than they've gone to uni or read through example questions for interviews.

Google do these logic problems so they can boast about their interview process, not because it results in getting better people.

Guy from original intern question, please tell me this isnt real

It's very common for job adverts to have stupidly long wishlists with very specific technologies. Developers sent a list of the skills they use to HR, HR writes a stupid long list of 'must have' knowledge.

It's very rare they demand knowledge of all those things. You just need to know the core technologies and show that you can learn the rest.

I'm currently learning Angular and then I'll have to go through some other docs (programming conventions of a company etc.). I have no idea what are Bower and Grunt yet. The rest of the things I know fortunately. To be honest, I didn't even started, and I already dislike this field. The worst part is actually that I'll most likely work on a boring stuff I don't care about and will have to learn more and more meme frameworks as I go. I'd much rather go a web design route, but there are a lot less jobs for that out there and I don't have much of a portfolio at this point. Front end on the other hand seems to be available everywhere. It feels too exhausting and lacks creativity. Life sucks.

This one is actually not by HR and you can't start working without knowing it, but at least you don't have to know them inside out.

Actually, bigger companies around me ask even more than this one.

didn't start* ffs

If they ask a ton of shit for web dev positions, how hard are those, compared to a regular programming positions? Which job is easier?

Web dev, no doubt.

Mathematically speaking, webdev is easier

However, due to the large amounts of technology involved, as well as paradigms and workflow styles per technology, webdev is more about creative, synergistic thinking, and that can be tough itself

>mfw using Django

I remember seeing such websites before.

Any bootstrap guys here? I fucked up the navbar, but not sure where. It looks like theres extra padding on the bottom, but no idea where it comes from.

Website in question uses wordpress / my custom bootstrap theme, if that matters

I(remember you posting this in like january or something.

You could have made this by now.

Also you can combine entries from different locations and print into a travel book.

Post your BS code.

CSS

#custom-bootstrap-menu.navbar-default {
font-size: 20px;
background-color: rgba(235, 245, 244, 0.89);
background: -webkit-linear-gradient(top, rgba(248, 248, 248, 1) 0%, rgba(235, 245, 244, 0.89) 100%);
background: linear-gradient(to bottom, rgba(248, 248, 248, 1) 0%, rgba(235, 245, 244, 0.89) 100%);
border-width: 1px;
border-radius: 6px;
}


The rest of the css is just colors.

HTML


Brand
Toggle navigation




Bride&Groom

Program

Syrenka

Transport

Contact Us

>HTML, CSS, JS
If you don't know this stuff, you aren't worth jack shit.. Get out.

>jQuery
JS library used in 99% of all websites. Even if you hate it, you need to know it since it's what everyone else uses. The documentation is pretty good for the more complicated shit, but it's most commonly used for the selectors, utility functions like $.forEach(), and ajax stuff because vanilla js is verbose as shit and developers are lazy by nature.

>Git
I'll grant you that git has some curve balls, but if you aren't using version control for everything, you're a dogshit programmer. Get out.

>Bower, Gulp/Grunt
These will make your life way easier, but unless you're the lead developer, you don't need to know line-by-line what everything does, just have a general idea and know what commands to run.

>Bootstrap/Foundation
These are easy as fuck, just read the documentation

>Sass/Less
Literally just css with a few conveniences added. Easy as fuck.

>Angular/all the other company made technologies
I'll grant you this, but if you don't know the stuff the company is using, what good are you to them? As an intern, they most likely don't expect you to know it inside-out, just have a good conceptual understanding overall.

Stop complaining and go study, or become a welder or something. Welders make good money.

Works in codepen.

In wordpress don't you only need to call in the functions to display what you want like the loop?

Why have an default wordpress styling at all?

But user, I already know most of this stuff, except for bower, gulp etc... I'm just saying what they ask you to know for an internship. Just pure HTML, CSS and JS are not enough, as some of the guys here think. Most of this actually is easy as fuck. Boring as fuck too, though.

I don't even know what I'm doing here.
>Webbabby
>degree means nothing
>inferior to "real" programmers
>have to constantly learn shit and build trivial business """apps"""
>a lot of work for a little praise
>on top of it all, boring

It's nice to know this and I would like doing my own shit when I want, but doing this as a job... I think I'll kill myself very soon.

(other user)

Yeah, you can just put php functions inside html. I build my wp sites from scratch, no default stylings because it would just confuse me as shit.

Do you think that UI/UX designers/developers are a meme? From what I've learned in my courses I think they kinda are.

I'm doing a final year thesis on UX and UI btw, anybody maybe has some good resources?

Same. My Wordpress site also barely uses standard Wordpress stuff.
At my website I add banners and menus simply by uploader them to my banner or menu folder. And then my php code loads them automatically.

Is codecadamy a meme place to learn something from the scratch? I've chosen javascript and first it was going well, it says I've finished 34% so far. Now I'm at "for loop" with searching for letters in a text and kinda lost the clue on wtf is going on.

yeah it's a meme site, I have to say this everyday, and it's still in the OP for some reason

Is the "PHP is bad" maymay shilled by ASP.NET pajeets?

What's the good one for complete beginners like me? Maybe I should go to w3school instead?

It's said by most people who don't use PHP ie sane people

PHP revolutionized web development and was a brilliant idea, but there's no getting around the fact that it is an objectively bad language by today's standards.

>WATCH THIS IF YOU WANT TO BECOME A WEB DEVELOPER!
>tfw I know all of that

Am I a good webdev?

Only if your ability to apply succeeds your knowledge

It's clickbait for ad revenue, senpai. They're not even saying it'll help you be a web developer

I have a site and I would like to link to specifically link to the first entry (Eddie D.) on this site xtrememoment.pgtb.me/FBHTTn/kPCPS?w=47679082&e=124909342

How can I make that happen? is there a jump to specific position/area on another site html code?

> Just pure HTML, CSS and JS are not enough, as some of the guys here think.

Who thinks that? People recommend they learn HTML/CSS/JS because they're core skills that every web developer needs to know, and basically everything else is built upon them. If you want to be a carpenter, you need to know what a hammer does. Is that enough knowledge to become a carpenter? Fuck no, but how can you learn about advanced shit if you can't even use a hammer?

>Most of this actually is easy as fuck.
Most things are, once you learn how to use them

>Boring as fuck too, though.
The minutia of any job isn't going to be fucking disneyland all the time. There are boring parts, and there are non-boring parts to everything. Get used to it.

>I don't even know what I'm doing here.
Bitching and moaning because entry-level web dev isn't as interesting as your chinese cartoons?

>Webbabby
So was literally everyone doing web dev at one point.

>degree means nothing
Depends on the degree, but I don't see how basing your employment on actually knowing the shit you need to know for your job instead of a really expensive piece of paper is a bad thing?

>inferior to "real" programmers
Welcome to imposter syndrome. Literally every programmer feels like this roughly 50% of the time. You will never know everything. You will always have to look shit up. There's always a better way to do things. Get over it. You will always look at your coworkers' code and think "Shit, that's way better than mine..." but you know what, they'll be thinking the same thing about yours.

>have to constantly learn shit and build trivial business """apps"""
Yeah, that's why they pay you money do do it. (Sometimes a lot of money). They want a thing, and they want to pay someone who knows how to make that thing to make that thing. You aren't a fucking artist, you're an engineer. You're a fry-cook. Customer tells you what kind of a sandwich they want, and you make it. Get rid of your delusions of grandeur, it's just a fucking job.

>a lot of work for a little praise
What the fuck, why do you want praise? You want praise, get a GF, or better yet a hooker. I'll take my praise in the form of a check, thank you.

>on top of it all, boring
Again, that's why they fucking pay you.

>It's nice to know this and I would like doing my own shit when I want, but doing this as a job... I think I'll kill myself very soon.
If you're delusional enough to think you're entitled to make pretty little css animations or whatever and get your dick sucked all day, please remove yourself from the gene pool because you clearly don't live in the real world.

From a guy who is going to be learning AngularJS what should be my basic knowlege requirement. I know Javascript, HTML ,CSS and basic C++.

Read the docs. Go through the tutorials on the site.

Find a few good Angular tutorials on youtube.

Watch them and write down every concept that you don't understand, like Dep. Injection, MVC, etc.

Learn those things, and repeat until you run out of stuff to learn.

Then start making projects. Google/read the docs until you have a working thing. Then do it again making a more complicated thing.

HTML and JS are enough as far as I know.

I think these tutorials are actually very good for Angular 1.x. Just started going through the videos and it seems it'll go a lot more in-depth than average tutorials.

youtube.com/watch?v=zKkUN-mJtPQ&list=PL6n9fhu94yhWKHkcL7RJmmXyxkuFB3KSl

Maybe somebody more knowledgeable could check this out and say if it's really that good. I think it is.

I was trying to find some decent angular project I could do in a few weeks tops. Any ideas?

can you anons stop arguing and help me out

>How to give generic advice: the post

>poop accent

Yeah, but it's not that bad. Usually they can make pretty good tutorials.

>do you think that

Yes. For the love of god yes. They are the biggest meme profession of the 21st century and literally everyone is falling for it.

Their profession is 20% horseshit new age "design philosophy" which contains zero design principles that are older than ten years, but garbage like "pain points" and other memetastic buzzwords, 75% the smug self-entitlement of a person who can make $90k a year at their first job after doing a three-month bootcamp, and 5% basic color palettes and fonts.

Effectively their entire job is grimacing and groaning like a Fashion Avenue prima donna at whatever the collective hipsters of the world have secretly decided is not "in". Often I'll make my first pass at a new design something purposefully intended to make them puke all over their doc martens, then scratch my head and shrug like the webdev neanderthal they see me as.

If you're working at a place where you have to deal with one of these creatures I hope to god you're making good money. Whenever they open their mouth to talk, just think about the money.

normally you'd do website.com/page.html#id-attribute-of-element to link to a part of a page, but that page in particular removes the hash for some reason so no

That's actually pretty solid advice, not just for AngularJS but for anything learning new.
Copypasta(ing) it for future.

>Begin to learn JS a month ago.
>I know enough to read and understand how most scripts work.
>Can't for the life of me make one from the ground up because I don't know where to even begin.

Eh, I'm just ranting. I'm pissed off at myself because I switched studies and will probably end up here if I don't do something.

I only realized that I could have gotten a non-boring (for me ofc) and more respected job, not to mention that I would be better at that than at webdev anyway.

On top of it all, I spent money (not in debt, but still), on a degree with which I'm kinda stuck in web dev while this field doesn't even need a degree. I could have just studied something else then, I would have more career options.

Stop being dramatic. Try starting with a variable.