[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/wdg/ - Web Development General
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 20
File: 1456449140972.png (868 KB, 822x552) Image search: [Google]
1456449140972.png
868 KB, 822x552
Old thread >>53552465

> Discord
https://discord.gg/0qLTzz5potDFXfdT

>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/
http://www.freecodecamp.com/
http://www.codewars.com/
>Crockford on Javascript
https://www.youtube.com/playlist?list=PL7664379246A246CB

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

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks

>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://www.youtube.com/watch?v=pB0WvcxTbCA

Good videos on the channel too
https://www.youtube.com/channel/UCVTlvUkGslCV_h-nSAId8Sw

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
>>
>>53585064
>>
File: 2016-03-20_20-32-45.png (80 KB, 1920x980) Image search: [Google]
2016-03-20_20-32-45.png
80 KB, 1920x980
What are your thoughts on light text on dark backgrounds for websites?

Is it alright for websites which don't involve lots of reading over paragraphs? Such as pic related?
>>
>>53585554
Yes. Those colors are really good with each other, the dark gray and red or whatever. As long as it's not black and white or neon green
>>
>>53585640
>Those colors are really good with each other
That's what I thought too, although the layout is simple the color theme is really neat.

What sucks though is having to deal with the font smoothing crap. Seems like some browsers, or just on OS X, light text on colored backgrounds looks like shit with subpixel rendering, so you have to use -webkit-font-smoothing: antialiased; (I think).

http://usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/
http://www.acusti.ca/blog/2013/08/19/subpixel-antialiasing-and-readable-light-on-dark-text/
>>
>>53585554
font is shit,

the white background portion is a bold move.
>>
>>53585812
Yeah, the white message box doesn't really fit in, but what's wrong with the font?
>>
What do you guys use as a whois email?

Gmail, outlook, email from your own domain or a forwarder via your domain?
>>
>>53586071
an obfuscated one from my registrar
>>
>>53585325
can i see your php code supporting the contact form?
>>
>>53585554
why I'm using it myself. It's more for designer sites than regular sites. But dont use neon colors (like that pink) because that looks childish and unprofessional
>>
Hey what's good, does anybody here have some experience with TYPO3 and could maybe introduce me to it? Or maybe any links or pointers?
>>
>>53586866
Sure, here you go, friend :^)

>https://typo3.org/documentation/
>>
>>53586961
I meant more as in, how is it usually used in your projects, experience with it, and stuff like that but this is as good a place as any to learn about it I guess, thanks.
:^)
>>
I now completely understand why people make pure-js sites instead of using css.

Is there any saner language than css that compiles to it? Or any other way to generate css at "compile"-time with some assurance that shit will look like it's supposed to look?
>>
>>53587158

http://sass-lang.com/
http://lesscss.org/
>>
>>53587158
>I now completely understand why people make pure-js sites instead of using css.

I don't think you understand.

Anyway, less and sass add more functionality and compile to pure css.
>>
Should I start learning ES6? I want to get into react etc
>>
>>53587446
You should start learning it because it's the new standard for JavaScript.

You'll see it more and more in front-end stuff as browsers start to add in ES6 features and IE continues to die off.

In a few years, we'll have flex boxes and arrow functions everywhere. It'll be great.
>>
@53587446
No, it's trendy garbage for millenials.
>>
>>53587446
>>53587589
Why aren't you using ES6 already with Babel or TypeScript?
>>
File: todo.png (69 KB, 766x826) Image search: [Google]
todo.png
69 KB, 766x826
Could someone criticise my todo list UI?
I don't generally do design stuff
>>
>>53588080
too gray.
it looks very chaotic.
everything is left aligned with lots of whitespace on the right.
>>
Hey guys I'm trying to learn web development. I have some basic knowledge in Java so i started learning html, css and javascript on coursera.
How would you guys recommend i go about learning?

https://github.com/Michael0x2a/curated-programming-resources/blob/master/resources.md#html-css-and-javascript is udacity better? I almost completed my coursera course and it was easy since i had some basic previous hrml knowledge.
>>
>>53588430
read OP
>>
>>53588478
Ok i'll watch that video.
Anyway how did you guys learn it?
>>
>>53588538
Codecademy
Then reading books
Then getting a job
Then getting a better job
And so on
>>
>>53588538
be interested in it.
>want to make website
>look up how to basic page
>want to link to other stuff
>look up how to make link

etc.
>>
>>53586552
Missed you last thread, yeah, that's exactly what I'm looking for as long as I can put a nested list in there.
>>
>>53588080
Make the date right-aligned.
>>
>>53588776
ofc you can. You can see my sourcecode at travelpal.eu.me
...stole most of it from codecademy

btw do you know a good system to have blog posts and allow for comments that isn't WP or database heavy?
>>
>>53589115
Thanks anon!

>btw do you know a good system to have blog posts and allow for comments that isn't WP or database heavy?
My immediate guess would be Jekyll with Disqus but I've never done anything of the sort.
>>
>>53589115
Link is dead fyi
>>
>>53589217
>.pn.me
also dead
>>
>>53589241
.me.pn

sorry again. was fucking around with it today but my memory is really poor
>>
File: 1345042125741665.png (69 KB, 511x383) Image search: [Google]
1345042125741665.png
69 KB, 511x383
Creating a Spring back end + Angular front end

Do you think there's any idea in this?

Data comes from a .sql file (later a real database) and then Spring rests it as JSON.
>>
>>53589249
Man, the menu is the only thing good on that site. wtf
>>
>>53589170
I did just that once, works great.
>>
>>53589289
there's literally nothing on that site what is the problem
>>
>>53588538
Books and ritalin.
>>
>>53589375
>using books
what are you from the 15th century?
>>
>>53589398
is this what you consider humor
>>
Pixi or Phaser for a 2d platformer game?
>>
I have been given this question to answer, what is wrong with this statement ?

<div id="mickanderson"></html>
var user = "mickanderson";
$('.user').innerHTML("Where is mick anderson");
>>
File: 1466006565.png (304 KB, 722x768) Image search: [Google]
1466006565.png
304 KB, 722x768
Guys, where can I get free stock images for my websites? Holy shit, this thing consumes so much time for me
>>
>>53589484
nothing of that makes any sense together.
>>
>>53589492
Yeah thats what i thought, i came to the conclusion that its ".user" that is not working because its got a dot at the front of it and the original variable "user" does not?
>>
>>53589512
no.
you should start reading the OP, you don't seem to know anything about web.
so instead of just assuming stuff read it up first.
>>
>>53589512
No, that doesn't matter. That function is calling a class of "user" but there is none.
>>
>>53589532
Haha, i have been given this is a interview question. I didnt make the thing up i am just sitting here like wtf is this meant to be
>>
>>53589398
Keeps me free of distraction and doesn't wear my eyes out.
>>
>>53589484
lines 1 and 3
>>
>>53588080
Reduce border-radius in buttons to a minimum, like only 1-2 pixels. If you go with rounded buttons, at least go the whole hog, semirounded shit is outdated now.

Get a proper colour scheme for the page.

Maybe use some better fonts.

You don't really need to add a coloured border to those boxes. Maybe a very small one, barely visible, or none at all.

Do something about that v!! stuff on the left, it must be visible or aligned somehow.

Maybe consider including one icon per box.

Align dates on the right.

Sort your font styles hierarchy out. It makes no sense now. You have this big header with a slightly smaller date font and some almost invisible v!! thing that sits on the left.

Basically the whole thing looks awful, and I'm not even a designer guy, but I know when I see a good design.
>>
>>53589555
Shit i think i got it, there is nothing in the html to output what the answer is ( the "My name is mick anderson" part )
>>
>>53589484
The correct answer is "Literally everything besides syntax"
>>
>>53589487
First result in Google, dumbass.

https://en.wikipedia.org/wiki/Wikipedia:Public_domain_image_resources
>>
>>53589546
>>>/tumblr/
>>
Is it not possible to move a <main> element on event? I was following a tutorial for adding side navigation and using the <main> element as my .site-wrap but it doesn't move when I click the trigger. The label moves correctly and if I use devtools to add left: 200px to the <main> the nav is correct underneath.

I made sure to replace all mentions of .site-wrap with main. Do I need to add an ID to main and work off that instead?

http://www.sitepoint.com/pure-css-off-screen-navigation-menu/
>>
>>53589694
post a jsfiddle/codepen
>>
>>53588158
>>53589563
>>53588859

Thanks guys, guess I'll redo the entire thing as it kind of came along while building the backend...
Any good resources?

>>53589563
>and I'm not even a designer guy, but I know when I see a good design.
Same goes for me, and I know this is not a one.
Was just wondering if it was somehow fixable.

The rounded button things I got from the way github handles tags in their issuetracker desu, colors are there to distinguish tags

also the v and !! are indicators, they turn #c22 when hovered or active
>>
Which is the best for getting a job?

- asp.net
- django
- nodal
- rails
- symfony
>>
What is wrong with my querys,

$query = "INSERT INTO People (ID,Name,User,Pass) VALUES ($id,$$name,$username,$password) ON DUPLICATE KEY UPDATE SET Name=Name,User=User,Pass=Pass";
>>
>>53589717
http://codepen.io/anon/pen/Rappqg?editors=1100
>>
>>53589851
not using sql parameters
and probably storing plaintext passwords
>>
>>53589851
well, first of all it seems like you might be trying to do a query without sanitization from what I can see. What will happen if you put a value containing ' or " in to id, name or other variables?
>>
>>53589289
You could've been a bit more constructive anon
>>
>>53589851
In addition to what this anon said:
>>53589896

1. the SET part after UPDATE is redundant
2. is $$name a variable variable or a typo?

Extra points for style:
1. don't capitalize table/column names
2. don't use plurals in table names
>>
>>53590017
Is the fact im missing " from the start of Name=Name also stopping it working?
>>
>>53589894
because you wrapped the navigation into <header> and <nav> but the css selector that does the magic is
.nav-trigger:checked ~ main

~ means sibling https://developer.mozilla.org/en-US/docs/Web/CSS/General_sibling_selectors

so your <main> element is no longer a sibling of .nav-trigger but a sibling of <header>
>>
>>53590017
Thanks, last question whats wrong with this one?

$query = "SELECT * FROM Users INNER JOIN Languages ON Users.languageID = table2.id";
>>
>>53590193
there's no table2, only Users and Languages
>>
>>53590207
Yeah wtf, why is that even there theres no sign of it anywhere
>>
>>53590228
I don't know anon, you wrote it I guess, so you should know.
>>
File: 1296833284219.gif (433 KB, 320x240) Image search: [Google]
1296833284219.gif
433 KB, 320x240
>>53590063
Well fuck, how do I fix it? I've tried:
>.nav-trigger ~ main
>.nav-trigger ~ header ~ main
>.nav-trigger + header + main
>.nav-trigger:checked ~ label ~ header ~ main
>.nav-trigger main
>.nav-trigger #main (after adding an ID to main)

How can I just fucking select a specific element?!
>>
I have two <canvas> inside a div behind each other is it possible to make them both as a single downloadable image?
>>
>>53590260
you can't like this.
read up on ~

remove <header> and <nav>, that's how your tutorial did it.
>>
>>53590272
>you can't like this.
Fug, guess I'll just remove the header after all. Thanks for your help anon.
>>
>>53590312
Okay, now that the panel slides in correctly, I just realized closing it forces you back to the top of the page. So basically worthless.
>>
>>53590262
http://stackoverflow.com/questions/17554168/drawing-images-on-3-layer-canvas-and-saving
>>
who /feathers/ here?

http://feathersjs.com/
https://github.com/feathersjs/feathers

will this finally kill meteor?
>>
>>53589826
nodal is waaay too young to be even considered when looking for a job.
if you want js (which i think is the best option), go with learning basic node.js and then express.js.
>>
>>53590535
>will this finally kill meteor?
What's wrong with Meteor?
>>
>>53590599
If you replace the T with M you get memeor
>>
>>53590599
i can think of many things... monolithic monster, completely tied to mongodb, blaze, no npm, too much magic (fibers? wtf), can't do routing, can't do REST, can't do server side rendering, has no opinions/conventions for important stuff, testing is shit... basically anything that's not a simple real-time todo app, meteor sucks at. their "batteries included" or "just werks" model failed.
plus, it's tied to their hosting solution, "galaxy". they're a company in it for money and i'm looking for an actual open source framework, not a freemium platform.
>>
>>53590535
>http://feathersjs.com/
this part looks somewhat promising
>>
>>53590693
one thing to consider is that they're not really "real-time" like meteor, they basically provide you with socket events you can subscribe to when shit changes, but that's implemented on the server layer, not the database, so in order for changes to propagate you need them to come from the server (there's a redis based solution for clustering multiple servers, don't know how scalable it is). still young, i'm really hoping they succeed
>>
>>53590725
Ah, I'm a noob. I just know that combining socket.io with express is supposedly difficult
>>
>>53590676
oh and one thing that really pisses me off is that it's full of GLOBAL VARIABLES holy shit i hate this. also how modules are loaded is incredibly annoying.
it's like whoever designed it never worked with node before.
>>
>>53590767
it's actually not hard at all, the most "difficult" part is probably exposing the same resources over http and websockets at the same time, with the same authentication/authorization etc
>>
File: 1457051704616.jpg (35 KB, 375x357) Image search: [Google]
1457051704616.jpg
35 KB, 375x357
Can someone explain to me the main difference between REST and SOAP? Aside from the XML exclusivity of SOAP and lightweight properties of REST.


Sure, REST doesn't need a contract or something defining the objects. BUT, at the end of the day, it's the same shit!

SOAP makes use of WSDL to expose objects and methods that the client should use.

REST exposes nothing, but still has logic that needs to be known by the client. If the client doesn't know how the webservice works or what resources to use, how will it work?

I can't wrap my fucking head around this shit.
>>
>>53590886
they're both nonsense buzzwords, what they're trying to say is:
SOAP - old people enterprise bullshit, we don't do it because we're cool, come work for us!
REST - we're using what the fellow youngsters are using, come work for us!

basically SOAP maps urls to methods, while in REST you map it to resources (with http verbs as the action). there is no strict spec, it's all bullshit. you can use XML/JSON in both though usually XML is frowned upon like SOAP.

graphQL is where the future is heading tbqh
>>
>>53590886
and btw this seems like a guide general guide:
http://blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/
(though some things mentioned like HATEOAS are overkill unless you're twitter or some shit)
>>
Atom's Go package mainter broke everything, so I'm finally switching to vim. Setting up snippets, keybinds and all that shit.
>>
>>53591032
TWO IMPORTANT THINGS THIS ARTICLE DOESN'T MENTION (ffs can't believe they ignored it, should probably be in the top 5):

1. the server should be STATELESS, all the information the server needs to execute should come from the request (you can have "state" in external resources like a database, that doesn't count as state). for example there are no ongoing "sessions", the client has to authenticate every single request. which brings me to:

2. use standard http authentication schemes like basic auth or bearer tokens or oauth whenever you need to authenticate a request
>>
Too fucking much buzzword and meme technologies in this industry. I don't even have time to read what it is. Why isn't vanilla JS and some backend language enough FFS? You have to hear my classmates "I'm gonna use wordpress and make my theme and then use react and angular to put my data in a database and use an API" while they are making a simple CRUD app.
>>
>>53591107
Also forgot the bootstrap and mongodb part.
>>
REST is a bit disappointing for volatile data that is changing frequently a little.

I'm inventing some custom websocket protocol now for partial update events for my resources.
>>
>>53591107
Production speed. That's the only reason all the bullshit is so viable.

Vanilla everything is just so much fun.
>>
>>53591107
i think it's because JS has been a very shitty language to work in for many many years, but because it was necessary it attracted a lot of programmers.. and now in recent years we got node.js and npm and ES6 and all that other shit that suddenly made this language pretty fucking awesome, and all the developers who hated working in JS created an explosion of new tools, basically flooding the industry.. there's something new every week now. it's hard to keep track and hard to choose anything, but it will settle down eventually as modern JS becomes more mature. the community will eventually agree on conventions and tools (react seems like it's basically won the front end, though).
>>
>>53591135
> mongodb with wordpress
Is this even possible without rewriting the whole loop?
>>
>>53591153
explain what you're trying to do pls. inventing a protocol is 99% a dumb idea
>>
>>53591153
I've put a lot of thought into a similar problem and settled on a custom websocket protocol as well. It's going to be binary, so I can reduce bandwidth some more, as JSON can be much heavier in cases, where you have a lot of booleans you can pack into a bitmask.
>>
>>53591211
basically graph structured objects that are frequently updated and need to broadcast updates to clients.
>>
>>53589546
I hate to say it, but if you can't answer that on your own without looking it up, then you probably shouldn't get that job. If you haven't realized, that question is basic baby stuff. If you end up landing the job, you'll probably be miserable and then you'll be fired.
>>
>>53591153
Look into Meteor and how it works with DDP. Even if you dont use meteor, there's a fair amount to learn from it since it already does what it sounds like you're trying to do.
>>
>>53591262
look at graphQL, it's a new but very popular standard that does exactly that
>>
>>53591325
well, it has graph in the name, and does deal with querying graphs in various ways, but doesn't seem to have any of the 'keeping client notified of changes' of subscribed graphs thing I was thinking of.

>>53591305
I looked at DDP some time ago, I don't think it fit my needs. It only seems to support simple collections, not branching tree structures, in design.
>>
How would i extract information from a JSON file and display it in a dropdown menu using jquery?
>>
I'm reading on ES6 since I'm still using a much older standard.

What does "polyfill" mean exactly? Would this.startsWith () work with older browsers?
>>
>>53591462
JSON.parse and for loop.

>>53591507
Script that makes new shit work on old browsers. Yes, look into core-js.
>>
>>53591071
I just started getting into vim myself. You might find this useful:
https://github.com/bpierre/switch-to-vim-for-good
>>
Djangofags, what do you name the app that is used for the frontend of your website? Frontend?
>>
>>53591533
Any examples of it being done with json.parse and for loop?
>>
>>53591576
You might want to check out neovim.

>>53591650
let html = "<ul>"
for (let item of JSON.parse(someDataString).array) {
html += `<li>${item}</li>`
}
html += "</ul>"
>>
>>53591801
Neovim is a disgusting meme. Unstable piece of crap that's not even got 10% of vim's features. Graphical interface never, too.
>>
>>53591844
>I'm going to pull facts out of my ass to defend my single-threaded dinosaur, which even considers C89 to be too new to use
Okay.
>>
>>53589826
Look in your area for jobs and see what jobs there are.

That said my area is full of ASP.NET and PHP jobs, and I apparently got the only Node.js job in town.
>>
>>53591920
Better slow than broken.
>>
>>53591977
>broken
Works on my machineâ„¢
>>
>>53590886
I recently wrote a library at work that pulls information from some antiquated and shitty SOAP APIs.

SOAP is overly complicated for what it does, just sending or requesting JSON from different URLs via different HTTP methods is much simpler as an interchange format.

>REST exposes nothing, but still has logic that needs to be known by the client. If the client doesn't know how the webservice works or what resources to use, how will it work?

You read the documentation.

With SOAP you can get the WSDL file and have something like SOAPUI build a test suite for you automatically... That's fine, but you're still going to have to refer to the documentation to be able to use it for anything practical, so since it all hinges on reading the documentation I don't really see the point of the WSDL file personally. And neither does anyone else apparently which is why everyone uses REST and JSON instead of SOAP.
>>
>>53591598
shameful bump
>>
>>53592277
I don't get the difference between .container and .container-fluid

How is a responsive fixed-width container any different than one filling the viewport?
>>
Anyone knows a good guide to get started with Capybara for Rails? I've been looking for something, but everything I find is shit.

I'm hoping to get something a bit better than its documentation. I could go ahead and start writing my tests and hope for the best, but the documentation doesn't usually contain tips, shit to NOT do, etc.
>>
>>53590886
The tl;dr:
REST attempts to use only HTTP verbs, and treat everything as a resource to be consumed.

SOAP does whatever the fuck it wants.
>>
>>53589826
I don't know what nodal is, but everything else gets you dough.
>>
bootstraps thumnail is the laziest thing I've ever seen. Let's load the full image and just make it look smaller! ISHYGDDT
>>
>>53591598
If you're keeping everything in one app and are going to have less than 20 models, just name it site or something, frontend doesn't make any sense.

Ideally you'd try to split apps where applicable (users, auth, posts, threads, etc). Then for static pages you'd just reference the respective template in your main urls.py file.
>>
Alright, I'm going through the bootstrap tutorial and I admit I'm pretty impressed with most of what I'm seeing.

I can see why people hate it though since everything is basically gray until you style it yourself which not many people do.
>>
>>53593658
Well most people don't use the Bootstrap theme, you know buttons, thumbnails, accordions, stuff like that. The grid system is probably the most used feature from Bootstrap, if you check the source files from most websites using it.
>>
>>53593713
Why use all of bootstrap for just that when skeleton.css exists? These alert boxes are pretty awesome with the data-dismiss="alert" to close it, even animating it too.
>>
Webpack is probably the best/stupidest tool ever created. Fucks sake.

What are some of the best tutorials for it?
>>
>>53593768
On the last pages I've worked, I made custom Bootstrap builds, from which I removed everything else, except for the grid system and maybe a few more features. But there's an awful lot that is completely useless for me, unless I would need to make a generic-looking website in an hour.

Which for commercial purposes, it's never the case. When a client wants a website, they usually come with their design or want a special one. Nobody really wants or pays for generic Bootstrap sites, those are made usually by people who want to quickly publish a project online and don't want to bother with any special frontend sprinkles. A company selling a product usually wants unique site design, they want something graphically impressive. Which you can't find in the standard Bootstrap build.
>>
>>53593861
Just use SystemJS. In essence, it's just a polyfill for the upcoming ES6 modules.
>>
>>53592116
>An API that adheres to the principles of REST does not require the client to know anything about the structure of the API. Rather, the server needs to provide whatever information the client needs to interact with the service.
>>
>>53592415
.container has side margins, .container-fluid goes all the way to the edges of the screen.
>>
Anyone here use django cms? It seems really great. Should I be using it or it's bloat?

>>53593624
Makes sense. Thank you.
>>
>>53594085
Doesn't do inline hot loading from what I can see, which is what I'm liking the most about webpack.
>>
I have a json file i have been asked to extract information from into a dropdown menu and i cant seem to be able to do it, anyone know how to do this? everytime i try it never works
>>
>>53595240
Create the drop down menu programmatically by iterating the json data and creating/append each element.
>>
>>53595372
i feel like my brain is fried man, everytime i attempt this it just wont work for me
>>
>>53595240
Go through with a while loop into their separate listings.
>>
>>53595385
Find a different field to work in.
>>
>>53595385
Take an nzt.
>>
>>53595401
https://www.youtube.com/watch?v=PnUWcPQnZw4

like this?
>>
>>53595385
You're still learning, it's prone to happen. Take a break, come back later and you'll think your previous self was retarded for not realizing how simple it is.
>>
>>53595522
im freaking out because its to be handed in tomorrow for a interview
>>
>>53595510
no, not like this.

read up on the basics first if you already fail on a loop.
>>
>>53595571
I have bad news anon, you probably won't make it.
>>
>>53595571
Not trying to be rude, what are you interviewing for? How long have you been doing this? Genuinely curious, but like the other poster said... bad news probably.
>>
>>53595633
PHP, i got given like 10 questions managed to do the other 9 easily then just hit a brick wall with this one, was given a day to do it though so i think ive crashed and burned
>>
>>53595571
jeez dude, wtf are you doing? That's like trying to be a pingpong player and you have no arms.
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">dicks</buttonn>
<ul class="dropdown-menu">
while (i etc i++){
<li> theData[i] </li>
}
</ul>
</div>

get it?

If not ready how to while loop through json and look at bootstrap dropdown menus on w3shool.
>>
>>53595701
only do that if you have a framework that renders for you like glimmer/htmlbars or whatnot.

otherwise ignore that, that's a very shitty way of doing this in pure javascript.
>>
>>53595685
file_get_contents
json_decode
iterate over the new object
echo menu items
>>
>>53595737
He's doing php. It's not shitty at all, bitch.
>>
>>53595783
his example was javascript, so fuck you.
why even mix markup and code, use an API, this isn't 2009 anymore.
>>
>>53595783
They told me there is no right or wrong answer, that its to see what i can learn fast etc so im just gonna hand in what i got hope for the best, since i answered every question they gave me well bar this one
>>
>>53595771
<?php

$menu = json_decode(file_get_contents('some fucking file path or something'));

echo '<ul>';

foreach ($menu as $item) {
echo "<li><a href=\"{$item->link}\">{$item->name}</a></li>";
}

echo '</ul>';


Something like this. Also what >>53595813
said is valid.
>>
>>53595813
That's php too, bruv

Do I need to add <?php echo 'in my pseudocode'; ?> too?
>>
Question. Pretty new to Linux mostly coded on windows.
What's the best IDE for html,css,php & all that jazz?
>>
>>53595916
WebStorm, Atom, Sublime, VIM, you don't really need a fully fledged IDE for webdev for most things since plugins can fill in what you do need.
>>
>>53595916
>>53595941
Atom and Sublime are fine choices. VIM as well if you can get over the learning curve, hell VIM may be the best if you can.
>>
I was hoping to create a website in angularjs and deploy it to my cPanel hosting on GoDaddy but lo and behold it turns out it doesn't support nodejs. I was told to go to AWS but the guide seems confusing as hell. Is there a good tutorial for a simple hello world they have? Or somewhere for deploying a hello world site with node?
>>
>>53593768
Just tried skeleton.css
>literally impossible to access form elements, the graphic appear something like 100px lower than the field in one case, and there is no pixel that activates the field in any other case
What a fucking meme, holy shit.
>>
I make about $1100 a month at my Mcjob. How long would it take me to equal that with freelance web dev? I know it probably takes a while to market one's self because no one wants to hier someone with no good projects under heir belt
>>
>>53596932
Just get a job as a web developer, you'll get paid more.

Freelance is actually 3 jobs: finding work, doing the work, and then getting paid for the work. I personally wouldn't even bother until I had some industry experience and a bunch of connections, unless you're aspiring to be a Pajeet-tier freelancer on fiverr
>>
>>53597071
Don't have a degree so an actual job isn't much of an option.
>>
>>53596932
Like a week of wordpress 8 hours a day will net you 30k a year.

If you know the PHP to go with it then 40-60k a year.

Add Javascript with react and node, drop wordpress, learn LAMP/LEMP inside and out and then you're at 80-100k.

Leave your job every year for something better and never stop studying.

Within a year you should be making 4x a month than what you make at McCuckold's
>>
>>53596932
As >>53597071 said, you'll make more at a real job, but if you can shit out 4-5 wordpress sites a month, you should be able to hit that with out too much effort, depending on how much you charge.
>>
>>53597101
Yeah I thought that until I got a job with no degree, no experience, and am now getting paid more than anyone else I know to basically fuck around all day doing what I would have been doing anyway as a hobby.
>>
>>53596932
oh, disregard my above post.

Freelancing isn't easy...at all.

The only reason people would hire you is if you have godlike marketing skills or you go and meet everyone in person with tablets showing what their website could look like.

Otherwise they will just go with pajeet who works for 3.50 an hour because they are too stupid to realize that they will just "work" on your website for 18 months at 20 hours a day and then send you some bootstrap bullshit written in arabic.
>>
>>53597101
Lolololololol
>>
>>53597101
>>53597190
>>53597207
>you need a degree to be an employed developer
this meme is stupid
>>
>>53597190
Different person, but quick question, if you build up a reputation(even by competing with low wages for a few months), is it possible to land decent contracts these days? It used to be but it's been forever since I've done freelancing.

I'm seriously fine with working for almost nothing if it means the reviews for my work will land me something worth while.
>>
>>53597254
It depends on where you're located. It's possible still but it isn't free.

It's better to work somewhere first and shill yourself to your clients when you're fixing their issues so when you break off on your own you can stand on your own two feet.

I tried freelancing by myself and it was a massive pain in the ass. Mainly because trying to communicate with mexican restaurant owners and asians that have shitty websites is next to impossible and they don't have the money usually.
>>
>>53596932

Don't do freelancing. Do contracting.

The agencies will get you the interviews and will handle all the payment bullshit.

It's still very good money. I was on £150 a day doing HTML emails (never thought table based layout knowledge from decades ago still would com in useful).

If you do freelancing, you will get screwed over at least once.

"I would have thought it would be obvious that users could send each other PMs, that's why it wasn't in the word document with the designs in it!"
>>
>>53597254
>I'm seriously fine with working for almost nothing if it means the reviews for my work will land me something worth while.

When you work for nothing, you are literally worth nothing. You're always going to be a Pajeet and nobody who wants quality will even look at you.
>>
>>53597354
>If you do freelancing, you will get screwed over at least once.
this x 1000

If you do decide to freelance, make fucking sure you have a solid contract that spells shit like this out. There are a ton of contract templates online that you can use as a starting point, but you absolutely need one if nothing else.
>>
>>53597254

Never lowball 'for your portfolio' at best it shows up your potential lack of experience and those who aren't put off by this will be the absolute worst clients:

Mom & Pops with non-existing specs/design documents and no idea how much work is involved in making a site or adding 'simple' features. They'll want a full bespoke e-commerce store for a few hundred dollars and expect you to maintain it for free.

People who spot you're naive and overload you with more work than quoted for and/or don't pay you.

Pay should always reflect the nature and skill involved in the job.
>>
I'm going to try to learn about SQL and whatnot, is there anywhere I can find a preexisting db of something to download and play around with?
>>
>>53594979
shameful bump
>>
>>53597368
>>53597463
Yeah I understand that. Just trying to get rep points on those sites(haven't committed to it, just curious.) Alterrative is lots of meet and greets/group things and an active github/etc.

I'm already positive I'll have a lot of fuck you pay me moments and making it clear there is no free maintenance in contracts, etc.

Thanks for helping me make the decision though.
>>
>>53587158
You can't make a site with css you tool
>>
>>53597525

Make your own.

You need to know how to make and populate databases anyway.

For most db stuff, this is what you need to know:

SELECT
UPDATE
INSERT
DELETE
WHERE
JOIN
LEFT JOIN

db stuff can get mind-bogglingly complex but unless you're a DBAdmin, those commands are 95% of what you'll need to know.
>>
>>53597616

Not actually true. It's horrible and hacky but it can be done.
>>
>>53597525
mysql -u root -p
[enter password]
CREATE DATABASE dicks;
USE dicks;
There.
>>
>>53597616
Are you retarded? Are you fucking kidding me? You're a white male!
>>
>>53597657
So you're saying that without writing a single line of html or javascript you can make a site?
>>
>>53597727

Prove me wrong wincuck
>>
>>53597746
Oh, so you ARE retarded then.
>>
Anyone have any good node.js learning resources?

I've never touched the back-end before in my life, so preferably something as hand-holdy or pedantic as possible.

I've checked out Treehouse's node videos, and they are bizarrely redundant -- using node to handle API requests, and mentioning shit like "requires" without explanation.
>>
>>53597900
Good troll
>>
>>53598029
Not really, you were too obvious.
>>
>>53597934
If you want a comprehensive guide to the platform, I'd read "Node.js Design Patterns" which should be easy to find in a PDF on the internet. If you're only looking to learn about the backend functionality of the Node.js runtime, then I'd just read the Express docs and do some random tutorials on the Internet (it's all pretty simple, IMO)
>>
>>53597624
>JOIN
>LEFT JOIN
That's where things get fucky bruh. Everything else you mentioned is basic SQL.
>>
>>53598048
?
>>
>>53598082
>2016
>he's literally so dumb he doesn't grok pi-calculus
>>
>>53598286
k
>>
File: Visual_SQL_JOINS_orig.jpg (144 KB, 966x760) Image search: [Google]
Visual_SQL_JOINS_orig.jpg
144 KB, 966x760
>>53598082
Speaking of this

pic related

help

help

What does it mean?
>>
>>53598438
https://www.youtube.com/watch?v=s_VeI7DDQ1A
https://www.youtube.com/watch?v=R7blcMaA2eU
>>
>>53598578
I read http://www.sql-join.com/ and fully understand it now.

I can now think of several times I should have used inner joins and didn't.
>>
>>53597114
>just learn all those skills and make lots of money
doesn't work that way.
>>
What the HECK is PostCSS?! I see people talking about it but no one can give me a straight answer. Is it like Sass/Less, basically compiled CSS? How do I get started with this shit?
>>
>>53589563
you might be right, but you are the kind of person for which i decided against studying design
>>
>>53599277
>I don't know how to use google
>>
Trying to debug the skeleton.css meme. It looks like something in the style is causing any offset-by-X class'd form's children to be unclickable, possibly due to overlap of some kind Changing that class's def to use absolute offset instead of relative does not alleviate the problem. What do?
>>
File: 141515051.jpg (36 KB, 482x427) Image search: [Google]
141515051.jpg
36 KB, 482x427
>>53585319
>NEET guide to web dev employment

This seems too good to be true. Can I really become a Web Developer when I am now a neet?

Even if I learn the skills in a couple years and know multiple languages, will they really take a guy like me?
>>
>>53600322
No.
>>
>>53600328

Figured as much.

Back to my janitor job tomorrow.
>>
>>53600366
>>53600322
>Can I really become a Web Developer?
wat. What is that supposed to mean? You don't have to buy a ticket or anything. Google it and have a look.
Or just start learning today in your free time. You can learn while you do your janitor job.
If you really get into it you'll be good within a month.
>>
>>53600448

A month? Sounds unrealistic man

I can put in 3-4 hours a day into it, how long should it take me until I am job ready?
>>
>>53600486
not him, but if you did 4 hours a day learning PHP, wordpress, and CSS then you would have a better job in 4-6 months. Where I'm at it would be about 35-45k.

I would start applying after 2 months of building a portfolio.

That would take some serious dedication though.
>>
>>53600486
>job ready
I have no idea man. That depends on you. Is webdev something you want to do? Are you into it? That is very important. If you are getting into it just to get a job then I don't think even 6 months will be enough. Go with something you love doing.
>>
>>53600550
>Are you into it? That is very important.
This is extremely important.

If you're making a little site one night and you notice the sun coming up then congrats, you're into it.

I had the biggest nerdgasm today reading over the ES5 to ES6 changes.

If you don't like it then it will just feel like the worst lecture of your life. This is why the pay is what it is.
>>
any anons up late/early working?
>>
>>53601519
Only partly, but always.
>>
>>53601656
do you prefer working at night? I fucked my sleep schedule but I seem to be a lot more productive this way.

Working remotely is a blessing.
>>
>>53601733
It's nice because it's quiet at night, but I'm only doing it now because I'm going through alcohol withdrawal. lel. It takes my mind of symptoms and poor decisions.
>>
>>53601825

kind of related - i'm only up because I fucked my self up with benzos yesterday. stay strong Anon.
>>
Hi friends. Am a rather successful and lead developer at a very successful startup.

Feel free to ask me anything, any advice, etc...
>>
>>53602007
how long do your startup meetings last and why is it over twenty minutes
>>
>>53602105

Typically meetings last 10-15 minutes. Sometimes we have company meetings over lunch, the CEO presents some stuff, gets us all in sync. But that's about it.

It's a very informal place.
>>
>>53602007
How do you find potentially successful startups?
>>
>>53602007
What language and frameworks do you guys use?
>>
>>53602187

I got lucky with this one. I happened to use their product, applied and got the job. Before that I worked for a smaller much less successful startup, and before that I was a contract programmer (freelancer).

I've been coding since I was 12. I'm 24 now.
>>
>>53602210

For frontend, we use React/Flux. It's worth noting that we deliver a web/native app (bundled with Electron). Being able to reason about the state of an application via functional components and unidirectional data-flow really helps. Our app is pretty big too. Also, our iOS app is using react-native, so we share a lot of code w/ the native/web app as well.

For the backend, we're a Python & Elixir shop. We run a soft-realtime system. Elixir does the soft-real time, and Python runs our stateless HTTP servers.
>>
Testing ban from the sql thread.

Also, thanks to the anons that suggested the book and the video. I'm watching it now and transferring the book to my phone.
>>
It would be a shame if someone shut this thread down with CP :^)
>>
Anyone ever host their own server in recent years?

I have ridiculous internet and system specs, but no isp allows you to host servers.
>>
>>53602634

Top VPS hosts are DigitalOcean and Linode, IMO.

Otherwise you can pick your poison with the top cloud providers (AWS, Azure, Google)
>>
>>53602714
I use digital ocean. That's not what im talking about bruv
>>
>>53602755
ah, like a physical server? sorry m8
>>
>>53601519
Damn right, late working here. Just got myself a sandwitch and tea to keep it rolling.
>>
I installed window 10 on an old laptop for laughs.

This is no laughing matter.
This is literally microsoft taking your info for ad targeting.

There is not one damn thing that's private on your computer with default settings. I didn't even know Bing did ads. There ads are going to be way way more targeted this quarter so they are going to make a lot.

So tough to predict the normie market though. They will eat this shit up when they should boycott it.
>>
>>53602811
awww yisss.

Its now "early morning" for me here - 0515. No brakes.
>>
>>53602834
Same timezone here. Are you by any chance south american?
>>
>>53602834
315 here, hows the weather in the future?
>>
>>53602875
Nothing worth complaining about at 5AM

>>53602851

Very eastern part of Canada, actually!
>>
File: weather.png (37 KB, 1189x402) Image search: [Google]
weather.png
37 KB, 1189x402
>>53602887

Forgot my damn picture.
>>
daaaaaaamn this thread is about to die

Hey I want to learn a little web dev to make an online store, I know this is not easy task, but can someone guide me a little bit on what to learn? I know HTML and CSS, what should i learn next?
>>
>>53602918
Javascript is a good place to start if you have HTML and CSS down.
>>
>>53602943
but do I need to know something about databases ? how much, like a whole book? or some mysql tutorial would work. Do i even need a database? I don't want accounts or something like that btw
>>
Take a load of this.

I'm working on a quite famous open source software.

The lead developer is telling us that we need to accept a crappy PR because it was made by a famous developer.

Talk about making compromises eh? But I guess it's a reasonable thing to do. Better publicity and more contributors is better in the long run, even if faulty code is introduced.
>>
>>53602978
a crappy public relations...?
>>
>>53602995
Pull Request, I mean.
>>
>>53602969
of course, if you're storing any data you will need to store it somewhere.

You're starting off practically from scratch - its best not to overwhelm your self right off the bat learning everything at once.

I don't think this is something you can learn on a weekend and have your shop ready for next week.
>>
>>53602978
Doesn't that undermine the entire point of open source?
>>
>>53603023
I'm not looking to make the shop soon, I'm just prcticing my web dev. I'm a C programer i work with microcontrolers in an automatization services company, so while it's very different from my field, I believe I'm qualified to learn web development, thank you for the info. Even that small fragment "of course, if you're storing any data you will need to store it somewhere." was very helpful
>>
File: heh.png (12 KB, 336x615) Image search: [Google]
heh.png
12 KB, 336x615
hehehehe
This laptop is now just for talking to.

Reminds me of that Black Mirror episode with the AI.
>>
>>53603030
A bit, yeah.
But you can't have a large project without some bureaucracy.
>>
>>53603089
Does open software mean by definition you don't get paid?
>>
Hey guys are LearnCode.Academy's videos a good way to start learning web development?
https://www.youtube.com/channel/UCVTlvUkGslCV_h-nSAId8Sw
I saw this one and I'm thinking whats the best place to learn all of that from.
>>
File: 1455830600001.jpg (146 KB, 1024x746) Image search: [Google]
1455830600001.jpg
146 KB, 1024x746
I have one month to get decent in either Ember, Angular or React, with about 2 hours practice time a day.

I am leaning towards Ember, what does /g/ recommend?
>>
File: logo_JavaScript.png (10 KB, 1052x1052) Image search: [Google]
logo_JavaScript.png
10 KB, 1052x1052
>>53585319
Who wants to help me write a decent javascript lightbox plugin?
>>
>>53604100
I've found that there's no one place that will really get you everything you need. That channel is good, but there are tons of other ones. Also look into FreeCodeCamp and CodeCademy. Coursera has some good courses, but they went into jew-mode for the higher level ones so you can't do all the assignments unless you cought up some cash. The /r/learn{{language}} subreddits are also pretty decent for aggregating good tutorials and things.
>>
So I just wrote a toy project in Elm. It's a pretty good language and I had fun using it but right now I'd still pick ember when I'm writing a full on SPA. Definitely prefer Elm to JS!

https://symbolise.hana.re/
>>
>>53604628
Thanks so basically no hard and fast rule about best course and learn everything from anywhere- thats the gist.
I just completed a beginner html css and javascript on coursera but yeah it does suck that one has to pay for the assignments.
I'll now watch that channel to learn for a while, thanks.
Thread replies: 255
Thread images: 20

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.