[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: 321
Thread images: 38

File: 2.png (868KB, 822x552px) Image search: [Google]
2.png
868KB, 822x552px
/wdg/ - Web Development General

Previous Thread: >>57491803

> 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
thenewboston
learncodeacademy
funfunfunction
computerphile
codingrainbow

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

>Backend development
https://en.m.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

>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
>>
why is frontend so fucked?

>be backend dev
>want to make a simple demo app that uses a REST endpoint
>start looking at tutorials
>our frontend guys link me to a "simple" getting started template
>looks straight forward, just clone this repo of 15 files and run npm install then run
>npm install downloads over 2GB of dependencies
>needs root to install 90% of them properly
>first dev build fails
>spend 4 hours trying to troubleshoot why it wont bundle the bootstrap css file
>it's react, both the model, view and controller code is crammed into a single file
>official documentation is terrible(like each function reference brings up several new terms i have to research to understand what the fuck they're talking about)
>internet tutorials are outdated as soon as they're posted
>spend last 2hrs trying to print the result of a GET request
>turns out there is a bug relating to the es6 json package
>literally impossible to continue

what the fuck is wrong with you people or am i just completely retarded?
>>
>>57542647
the latter
>>
File: 3dee.jpg (27KB, 645x429px) Image search: [Google]
3dee.jpg
27KB, 645x429px
Can anyone recommend me what to read on Web3D? Websites, books, anything. Learning from scratch, so something general is preferable.

Thanks in advance, I hope I'm in the right place to ask.
>>
>>57542647
Sounds like your frontend guys are following Top Standards™.
Yes, it's shit. If your people were actually doing what they are being paid for, it would be piss easy to get their shit working. Instead enjoy dealing with npm and node.js, good luck.
>>
Is socket.io worth learning?
I'm trying to build a chat application
>>
>>57542647
Front end is actually harder than back-end most of the time.
>>
How do I access angular scope from tampermonkey script?
>>
>>57543092
google.com
>>
>>57544435
really?
>>
Why is the learning curve for web developing so high?

You need to learn like 5 technologies to implement a nice website.

>tfw I fell for the reactJS meme
>>
>>57545344
No, you can make a really nice website with html, css, js, and brief understanding of unix.
You can cut dev time in that website tremendously if you already know various tools like bootstrap.
>>
>>57545344
What? No you don't.

Retards do, maybe, but you only need 3 things and a host.
2 if you ignore CSS entirely and do the styling in JS, which you can do legit if your site literally depends on JS to function, such as a game, simulation, emulator or others.
4 (or 3) if you intend doing server-side stuff.

HTML is trivial.
CSS is fucking stupid, but also fairly trivial.
JS and a server-side language are really the only reasonably complicated parts. (but not that hard to learn, unless you have fecal matter for brains)

Any more and you fell for memes.
Unless you are doing it for the dosh, in which case LEARN ALL THE THINGS.
>>
>>57545435
>and brief understanding of unix
What does UNIX have to do with web dev?
>>
0. Chose a text editor of your liking
1. Learn vanilla HTML, CSS, JS || Learn vanilla PHP/Ruby/JS/etc.
2. Look into frameworks for front and backend
3. Practice
4. Ta-da

Optional: Look into one of those preprocessor shit which I'm not that much a fan of since you can do great with a nice text editor and plugins, no need for those desu

Oh and yeah, https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f

Shit like this is applied to almost everything here.

Stuff I use at my job: HTML, CSS, JS (jQuery), PHP (Laravel)
Do I enjoy it? Maybe, not sure to be completely honest. I'm creating my own version of frontend framework and scaffolding for Laravel at the moment so that's fun.
>>
>>57545514
>Unless you are doing it for the dosh, in which case LEARN ALL THE THINGS.
I assume most people here are doing it for the dosh
>>
I've used javascript and html to make a few tools before, this time I made an editor for box2d... procrastinating on the very last part. I need to import the scene into box2d. probably I'll use the Box2DJS thing and add a little play button
>>
>>57545603
>(Laravel)
Have you ever tried CodeIgniter? It's comfy as fuck senpai.
>>
>>57545684
last thing i made was a sprite sheet editor for cocos 2d-x, anyone else use js/html for stuff like this? it's pretty fun. I'd imagine if I tried using c++ and some gui framework like QT the development process would take forever
>>
>>57545531
You'll probably want to use a VPS at some point like DigitalOcean, and therefore having a basic understanding of unix will make that process much easier.
Like even as a front end windows dev, you should still know some unix.
>>
>>57545206
probably because there are 5 new fads a day that you have to learn or else you will fall behind the latest trendy hipster thing...which will cause you to get fired and lose opportunities
>>
>>57545744

Heard CodeIgniter is a bit "outdated" at the moment. I got the job like 2.5 months ago, I used to do C# for 7 years and I wanted to go to webdev just for the sake of it.
Could've easily get the job in the same city as a C# dev (double my current wage is what I'd be making at start) but decided to pursue the career in webdev instead. I only had HTML, CSS and a very little experience of JS and PHP. I've been doing HTML and CSS for quite some time (about the same as C#, with breaks here and there), just to spend my time on something not C# related. The main reason why I'm diving in Laravel is because the company I got the job at uses it. They are also doing some VR related stuff and I'm "on the fly" for that (Unity shit, ~2 years of experience) but for now they don't need my help so I'm just grinding webdev. I also do like Laravel, migrations and seeds work perfectly, it has user verification built in and it's easy to achieve few layers of security checks. I wanted to start fiddling with Angular or Vue, but I don't get enough free time (I work nine to five, but I usually stay for 2 more hours, that's what you get when team is small).
I'll hopefully run through frameworks when I get the time for it, thanks for suggesting CodeIgniter.
>>
Whats the best way to learn javascript?
>>
>>57546202
I don't know, just mess around with it yourself. I remember going on w3schools back in the day and learning from there. Once you know the basics you can go on to more formal stuff. I've heard Eloquent Javascript is a good free book but never got around to reading it. Plus the author is a shit who ignores his open source projects
>>
Web developer with absolutely 0 javascript experience.

Experienced with HTML/CSS/PHP/MySQL and figure its about time I stuck and learned this stupid language.

Only problem is I have no interest in it. Give me some motivation
>>
>>57545922
CI isn't really outdated. In my opinion it's the absolute easiest framework to learn of all the frameworks, and it has a considerably small footprint compared to Laravel. I like Laravel too though, don't get me wrong.

I'm almost in the same boat as you. I have a bachelors degree in Information Science with very little programming emphasis but I chose web dev because there are more opportunities for that where I live. I work 8:30 - 4:30 most days but the work environment is pretty lapse. I didn't even go to work today, I just called in and said I'll be working from home for the rest of the week and my boss just said 'Alright'. He understands, I'm getting paid peanuts anyway so at least this way I can save a few bucks. I'm only doing this job for the experience as a new graduate.

Hopefully I can transition into software development in the coming months. I want to move up by at least May next year, that's my goal. Hopefully I can learn C# or Java (for Android dev purposes) over the Christmas holidays.
>>
>>57542647
just go get some front-end framework and get shit done, however outdated they are. mostly they won't even know the difference. you JUST want a DEMO app, right?
>>
>>57546721
why do you need to learn javascript?
cant php and css and html do anything javascript can?
>>
>>57545344

>HTML
>CSS
>JS

that's for front-end alone. Pick a language like PHP, Python, Ruby and implement to their liking before you do your own. Build a simple templating system before you use others. Its that fucking easy, really. Use other frameworks if you already know that its dickhard (but plausible) to implement those from scratch in the language of your choice.
>>
File: 1456052944245.gif (607KB, 800x792px) Image search: [Google]
1456052944245.gif
607KB, 800x792px
>>57546756

Maybe because Javascript is a required skill for almost any entry level job in web development? Or am I wrong?
>>
>>57546721
You don't need JS, but it can really add a lot of functionality to what you already do now.

I mostly use it for form validations to take some pressure of the backend. You run validations client side first then again on the server side. It's a great way of adding better interactivity to the user experience as well.

Also, I use it for AJAX to send data to the DB without refreshing the page (see .webm).
>>
>>57546939
AJAX is the best
>>
hello beginner here. after I studied html and css for a while I moved on to learning python in order to use first python flask and then django. should i stop studying python and learn javascript first instead? and maybe even study SQL before learning flask/django? thanks
>>
Django. Yes / no ??

Sick of php
>>
>>57547153

continue. stop javascript until you are finished with flask/django and/or SQL.
>>
how would i take an Access database (and the forms with it that you run from Access to read, write, update, etc from the database .mdb file) and make it run from a web page instead? all ive done is front end stuff, so id like to know whats the best way to tackle this. Thanks.
>>
>>57547308

why dafuq are you using Access in web page? Does any *SQL DBs out there are not enough for you?
>>
File: 71391978.png (287KB, 773x900px) Image search: [Google]
71391978.png
287KB, 773x900px
>>57546202
https://watchandcode.com/p/practical-javascript
>>
>>57547349

ive never done anything in sql, i figured since everything is set up in Access already that would be the best route. So let say i make a simple form and i want the buttons to do different sql commands, would i just call functions that do a query on the OnClick or what?
>>
>>57546756
JavaScript is absolutely required, not everything can or should be left to server side processing. Things like form validation before the user submits, web sockets, and beautification like modals and effects. Ajax etc.
>>
>>57547308
Unless this is for some dumbass at your workplace, stop. Access is ameteur and shouldnt be used for professional data storage
>>
>>57547407

if you know Access then you have a basic understanding of SQL. Access just have desktop forms that do not require coding to make any SQL commands working. Other than babby's first database, you do not need Access.
>>
what are practices I should avoid at all costs in Javascript
>>
>>57547450

ok so can i just rename the .mdb file to .sql and then use php in the web page?
>>
>>57547482
If this is for a SMALL internal system, make an SQLlite database and run php against that. You may need a tool to convert your existing access database. It it's for a public facing or production system, learn MySQL as fast as possible and use doctrine ORM if you're sticking with PHP
>>
>>57547503

its for the internal staff yes, not that big. The database is like 2 GB...
>>
>>57547308
>>57547532
No offense senpai, but why did they choose you to do this? This seems like the type of setup that will get hacked pretty easily.

>its for the internal staff
Is this a system that will be connected to the internet?
Will there role based data access restrictions?
Will you have only one person managing the database, or is it something that can be freely accessed and modified by anyone?

You might need to take a long look at how you're going to secure this thing if you say yes to any of the above.
>>
>>57547532

even if this is only for the internal staff. you still have a FILE DATABASE. WHICH CAN BE FUCKING DELETED WITH A DELETE BUTTON. try MariaDB on LAN.
>>
just got my first VPS.
wut now?
>>
>>57547627

purpose for buying VPS? Make a portfolio website. Do shit. Make blog. Link social media activity. Do SEO. still code on Github. Post on said blog. Adsense. Rinse. Repeat.
>>
>>57547627
whatever the fuck u want bruv
>>
Company forced me to write their first tiny web app in ASP.NET. Now I'm making something else for them and they don't care what backend it's in. What's the best PHP framework? I also want it to scaffold.
>>
File: 2016-11-16.png (5KB, 144x103px) Image search: [Google]
2016-11-16.png
5KB, 144x103px
who /made it/ here
>>
>>57547909
*raises hand*

Mobile carries me which is OK since way less adblock.
>>
>>57547909
What's this?
>>
>>57548121
Page requests per month.

A million is up there.
>>
>>57548121
Missing subheading: "His mom"
>>
File: why.jpg (23KB, 288x499px) Image search: [Google]
why.jpg
23KB, 288x499px
>acquire O'Reilley Learning Javascript, 3rd Edition

>chapter 1 is a hello worlds of sorts
oh cool this is fine. uses paper.js to draw hello world and other shit on canvas. pretty neat.

>chapter 2 gives instructions on installing git, npm, gulp, eslint

really makes u think...

>chapters 3+ jump back to variables, control flow, loops, etc.

hmmmm...

really glad this had me set up a robust dev environment for the trivial examples that follow.
>>
>>57548259

>kek
>>
File: s205.jpg (32KB, 530x430px) Image search: [Google]
s205.jpg
32KB, 530x430px
I need to replace my netbook.


It can't be over 12" and needs to be able to run Ubuntu 64-bit

Any recommendations?
>>
>>57548768
Xiaomi Airbook knock off
>>
Hey is anyone in that /g/ webdev learning group? Can I get an invite?
>>
>>57548968
>Xiaomi Airbook
Actually...that seems really good.

Do you have one?
>>
File: cd1.png (460KB, 591x618px) Image search: [Google]
cd1.png
460KB, 591x618px
What is the absolute pinnacle a person can achieve in web development without a college degree?

Can you make six figures? What's the highest/most important person you can get with only great work experience/technical skill?
>>
>>57549277
I personally don't but I do have a friend who has bought into the xiomi brand. He seems pretty satisfied and it looks really good. Thing is that its in Chinese so you would have to jump through hoops to make it English.
>>
anyone got good ReactJS resources? tutorials or anything? the whole JS environment seems really over complicated. All I need is a front end application that makes AJAX requests to a server and displays responses. wtf
>>
>>57549374

You have a movie made about you where you get your dick sucked in a bathroom stall.
>>
>>57549374
John Carmack didn't do a college degree - I don't think. Dude has a billion plus. He's not in web dev, but still in tech.

You can do really well without a degree - you just need to learn the stuff somehow.
>>
What's the best is framework for a rails guy?

Ember, angular 2, react?
>>
>>57549528
all of the js frameworks suck about equally.

>literally hundreds of imports
>shit docs
>compressed source files at 5MB by the time you output "Hello World" to the console
>>
>>57549374
>Can you make six figures?
Yes.
>What's the highest/most important person you can get with only great work experience/technical skill?
The same.

>>57549374
>What is the absolute pinnacle a person can achieve in web development without a college degree?
Self-made billionaire.
It's a golden age still. The next self-made is just around the corner; all the time. The golden age isn't dead until all of the domains are taken and only corporations can afford them. That won't be for another 7-10 years.
>>
>>57549585
good answer
>>
>>57549374
>>57549585
Degree might help you get your first job, pretty much useless after that.
>>
>>57549585
To go with this, if you have a book of ideas that you are slowly working through then buy every single domain now or a name you can settle with.

The worst thing you can do is have an awesome idea with a shitty name. The name is critical and can kill your project before it even gets off the ground.
>>
File: 1456050542618.jpg (287KB, 630x581px) Image search: [Google]
1456050542618.jpg
287KB, 630x581px
What are profitable niches that require little startup? I ran a succesful SaaS website but need something with less costs.
>>
>>57550439
Why would anyone tell you?
>>
>>57546731

I'll have to collide with other frameworks in the future, that's just how life is. Although we're still using Laravel 4 and will move to 5 by the end of the year.

OOP isn't hard in my opinion. You can bootcamp itthrough 3 months and become quite decent (you'll lack actual experience but you'll obtain the knowledge). Same for Java, I was maybe a year into it and quickly dropped it. C# was simply more approachable for me. I do know C and C++, but C# was the fastest to set up and make something.
>>
>>57550439

I've been considering a startup that archives rare Pepes. Like a time capsule.
>>
>>57550439
> I ran a succesful SaaS website but need something with less costs.

Translation: You ran out of^W^Wstole currynigger's VC money which kept your shitty openstack vps renting "paas", now looking for more suckers you can defraud with your lazyness and unwilligness to commit to anything.
>>
>>57550702
How about a site where you drag and drop fashion accessories onto pepe to make new pepe images?

A rare pepe generator.

Aren't I just a fantastic idea guy?
>>
>>57549414
Isn't JQuery enough?
>>
>>57544410
No, use vanilla WebSockets. You don't need a framework just for network communication.
>>
I'm making a site that is essentially similar to myanimelist, I'm a backend dev myself and only really have experience with using thymeleaf to hook up the front end and some jquery

I'm using a spring boot backend and wondered if there is even any value for me to look at something like react rather than just using plain HTML and a few things from jquery like data tables

What are your thoughts? You guys seem pretty clued into front end development
>>
>>57551233
Don't learn React, unless you are looking for a job maintaining some hipster's over-engineered meme code. HTML + jQ is perfectly fine. If you don't care about IE, then you don't need jQ either.
>>
>>57550734
Next facebook and google right there
>>
>>57551138
>He uses JQuery
Ayylmao
>>
So I'm building a web-facing system program, but I figure I'd ask here anyway:

Is there a simple binary/script I can run to be simple HTTP/1.1 server on my local machine for testing purposes?

I just need it to serve up requests for simple files, and preferably support things like the Range header. Nothing like cookies or the sort needed. I don't want to slap a VM with a server just for this (especially since webdev isn't by jam so it likely be a pain in the ass).
>>
>>57551349
What else do you use?
>>
>>57551371
raw JS ofc, like a proper autist.
>>
File: gallery-56d20f6252b84.png (288KB, 1518x1272px) Image search: [Google]
gallery-56d20f6252b84.png
288KB, 1518x1272px
>>57551371
>>
File: 1476662960243.jpg (72KB, 540x405px) Image search: [Google]
1476662960243.jpg
72KB, 540x405px
>>57551384
>6 libraries reimplementing a feature present in JS
>a feature that have been supported by browsers as early as Firefox 1.0 and IE5.5
>fucking IE5.5
jQuery might be excused, since its implementation is closer to querySelector(), which have only appeared in Firefox 3.5 and IE8. But the other 5?
>>
>>57551376
>>57551384
Stupid question, i'm new to JS: Vanilla isn't asynchronous, right? So what's the best way to implement AJAX?
>>
>>57551436
memes anon, memes.
>>
>>57551460
AJAX is always asynchronous.
Additionally, all callbacks are waiting asynchronously to be called. I.e. if you wait for AJAX to trigger callback, other code can be run in this time – callbacks, event handlers, timers, etc.
Otherwise JS is single-threaded and synchronous. If you force AJAX to be synchronous, by using
async: false
option, you will prevent other code from running – event handlers, timers and other callbacks won't trigger unless AJAX returns. But it's not default behaviour, so you have nothing to worry about during normal use.
>>
>>57551300
I don't have any interest in front end as a career, I'm only in backend because I couldn't get a job with desktop dev so I'll just stick with vanilla/some jquery then, thanks
>>
File: VFqhQfr.jpg (89KB, 605x454px) Image search: [Google]
VFqhQfr.jpg
89KB, 605x454px
Anybody run into a bug using flexbox in Chrome?

I have a div centered on the page using justify-content:center. Looks just fine in Firefox, in Chrome it still centers horizontally but winds up at the top of the page. Why?
>>
>>57551356
python3 -m http.server
>>
>>57551502
Thanks but for asynchronous JS, what's the "best practice"? During my class we were told that JQuery is "the best way", but i don't trust those people since they told us to preferentally make the backend in plain Java/Java2EE.
Forgive me if this is a stupid thig, but i'm new to this. I've only experience in standard Java, some perl & python and HTML/CSS which are both no programming languages.
>>
>>57551524
Perfect. Thanks!
>>
>>57551502
When i tested ajax performance, calling 2 ajaxes in the same time they tend to slow down x10;
EG
calling 2 chained ajax pings they each do 60ms RTT total of 120 ms.
when you call both "asynchronously" first responds in 60ms and the second one at around ~500ms.

Serverside: public JsonResult(bool asd){ return Json(asd)};
>>
Are databases essential for back end development?
>>
>>57551652
Obviously
>>
>>57551529
I don't see how jQuery helps with that. There are no stupid questions, don't worry. Sadly many people don't care to learn how to do things nicely.

Most of the time, you will want to use callbacks, instead of waiting for functions to return. Even more important, if function is asynchronous.

Try to avoid anonymous functions. Name your functions, defining them at the top level, then assign them by name.
function myHandler() { … }
element.onclick = myHandler
// not
element.onclick = function() { … }

This way you avoid callback hell and your code is easier to read. It's purely aesthetic.
But if you reuse function, you will only have it defined once. If you used anonymous function, being assigned to many things in a 'for' loop, you would create N distinct anonymous functions – even if they are all the same.

Whenever you need to do something later, use timers. JavaScript intentionally doesn't provide functions like sleep or wait. You are supposed to create asynchronous call using a timer.
https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Timers

You won't often write asynchronous code.
For events – they are already handled automatically, so you don't have to do much on your own.
For AJAX, httpRequest.onreadystatechange is already an event, so it's also asynchronous on its own.
All you have to do, is assign some function as a callback.

>>57551585
Sounds like session blocking. A server side problem. You need to configure your server serving AJAX, to allow starting multiple connections per session, w/o waiting for them to end – otherwise they are executing synchronously on the server.
>>
>>57551894
Thanks m8
>>
>>57551894
>For AJAX, httpRequest.onreadystatechange is already an event, so it's also asynchronous on its own.
I should really learn how to do this. I've been using jQuery for AJAX since day one.
>>
>>57547234
yes
I'm just learning it for work, I previously used PHP+MySQL and Django+PostgreSQL is WAY better combo.

PHP is a mess. Don't get into it if your job doesn't require it for maintenance purposes (because I assume no self-respecting company is developing anything new in PHP these days)
>>
Has anyone used the Web Audio API for anything?

How can I save the output of an oscillator > effect node chain to an audioBuffer?
I can't tell if it's impossible or if I'm retarded.
>>
>>57552152
Really? Is something with Symfony/Laravel a mess, too?
>>
Making /g/ study group.

We'll do a srs study and learn web dev. Goal is jorbs.

Hit us up at mauser91 protonmail.com
>>
test
>>
File: Screenshot (670).png (1MB, 1920x1080px) Image search: [Google]
Screenshot (670).png
1MB, 1920x1080px
Hope I'm not bothering you guys, I'll just make a little update for the people that helped me the last time. I don't have much trouble with backend and frontend functions at this point, so I'm focused on UI and UX. I didn't have much luck on /gd/ since they either don't really know much about web design or focus on details like icons and such, which are obviously the temporary stock ones.

Here's the current state of my front page, I'll also post a few more article pages. One of the troubling things for some people were that the sidebar couldn't be hidden and so the text in the articles wasn't centered. I figured out how to make it centered while keeping the sidebar and am quite satisfied with that solution.

At this point I'm not even sure if it is necessary to hide the sidebar since I want it to be the key part in the UI of this site.

I'm shifting between loving this to being worried that the hierarchy of the content is still not the best. Not sure how well I am following all those UI rules, like Gutenberg, F and Z-patterns and such. I just REALLY want to make it work with the sidebar.

Do you think the navigation should be moved to the top, though? This is one of the things that trouble me the most.

The second thing I'm worried about is that the layout of the front page still doesn't show the content the best way. I admit I probably designed it more to be pleasing than for it to be successful. I guess I should put larger images on the top left of the every category section. Am I right, or is this also good?

Would appreciate the feedback. I might even link you the site for some testing soon, if you wouldn't mind. I'm doing this for my college project so I need to make it good.
>>
File: firefox_2016-11-17_09-07-05.png (35KB, 1220x430px) Image search: [Google]
firefox_2016-11-17_09-07-05.png
35KB, 1220x430px
>>57547909
Got 700 upvotes on le eddit and then the fucking asshole mods woke up and deleted it. God I was so fucking close. I don't know what to do now.
>>
File: Screenshot (672).png (932KB, 1920x1080px) Image search: [Google]
Screenshot (672).png
932KB, 1920x1080px
Ok, so I didn't implement the whole grid yet, but this is the beginning of the separate category sections. Tags in the top left. Bottom right is the menu when it is opened, a bit ugly atm though.

Not sure if the thumbnails should be bigger and more eye-catching in the beginning.
>>
File: Screenshot (674).png (898KB, 1920x1080px) Image search: [Google]
Screenshot (674).png
898KB, 1920x1080px
This is the review page, and now the text is centered. Will add sharing buttons and tags on the right, under the author's name.
>>
File: Screenshot (673).png (872KB, 1920x1080px) Image search: [Google]
Screenshot (673).png
872KB, 1920x1080px
And the last one for now is the news section. Something seems to be missing here.

Would appreciate the feedback, guys. Especially if there is some UI/UX/frontend guy who could help me, that would be great.
>>
>>57552476
tl;dr
>Do you think the navigation should be moved to the top
Only for narrow screens
>I probably designed it more to be pleasing than for it to be successful
Easy and pleasant to use = successful.
>>
>>57552546
Lol, yeah sorry for the essay, as usual in my case.

Thanks for the feedback. I hope this will be easy enough to use, hard to tell until I finish it and make some testing, but I think I made it pretty straightforward. And yeah, on mobile (and possibly tablets), I will hide the sidebar and move the navigation to the top, as is the norm anyway. I'm just reading a lot of the articles and don't know who to believe anymore.
>>
>>57552576
>on mobile (and possibly tablets), I will hide the sidebar and move the navigation to the top
Why not do a slide-out navigation? You could keep the same design but have it slide out when the user clicks the nav button.
Something like this https://mango.github.io/slideout/
>>
>>57552610
Oh shit, good call, that's what I actually meant, yeah. I guess it crossed my mind once to move it to top while there is still enough space (tablets), but that wouldn't make sense, I'll hide it behind the hamburger at that point already.
>>
>>57552517
>>57552534
>hamburger menu
>>
https://www.udemy.com/the-complete-web-developer-course-2/
This worth the ÂŁ11 as an introduction? It seems really comprehensive.
>>
>>57552705
Calm your autistic tits.
>>
>>57552705
It's not functional anymore, I'm thinking about removing it from the big screens, but there is not many options for small ones.

Btw, I've been reading some articles from this year that say the hamburger icon became a standard and well-recognized thing, so there is no point anymore to change the icon to something like "Menu" to make it better for the "UX". On the other hand, some UI and UX books I've been reading which are not that old either, are saying the research shows that many people still don't recognize the hamburger icon.

I didn't know what I was getting myself into when I chose UI design as my final project topic. It's making me crazy, I don't know who and what to believe anymore. Some older, well recieved books, or newer blogs from who knows who.

I mean, at the end, I don't think it matters that much, I'm seeing different solutions all the time. Some websites don't hide their navigations at all, some hide it even when there is a plenty of space, sometimes a hamburger icon is being used, sometimes the "MENU". I feel I'm overthinking this t b h.
>>
>>57551233
Vue 2 is easier to learn.
>>
>>57542647
In my country there are so many vandals. I can post, at last.

- install nvm and you won't run into file permission issues.
- add the bootstrap cdn to your html files.
- Did you download a custom package instead of the official version?
>>
Code School is 100% free this weekend. Anybody have any exp with it? I think I went through some of their courses but I don't remember anymore.

https://www.codeschool.com/free-weekend

I might go through some Angular 2 or React courses, idk.
>>
>>57547909
>Not linking to his masterpiece.

I don't like you very much.
>>
File: depression.jpg (45KB, 535x225px) Image search: [Google]
depression.jpg
45KB, 535x225px
Guys, I'm having a lot of trouble. I'm trying to make a square div fill the page. If the screen is wider than it is tall, then it should be 100% tall and square and centered horizontally. If it's taller than it is wide (like on mobile) it should be 100% wide and square and centered vertically. How do I achieve this with CSS?
>>
>>57552728
What is there to calm, it's just a reaction image you sperg lmao

>>57552867
No reason to use it on big screens really.
On mobile, if you don't want to waste any effort on actually creating a solution or altered design, might as well just add "menu" as a label to the hamburger menu. Still accessible and understandable, minimal effort.
>>
>>57553039
It's not at all that I don't want to waste any effort, I'm just not sure how would that work any other way. I never saw anybody doing it much differently. Of course, I can e.g. put links at the top, one after the other with the full width, but then they wouldn't be accessible from anywhere else. The space on mobile is limited, it simply has to be hidden one way or the other. And the users are used to it anyway, which is even more important. Correct me if I'm wrong.
>>
Is it safe to only use your own domain for email?

The stories about domain hijackers are too spooky. But I'm not sure how often that happens.
>>
>>57553069
Domains always seem to get stolen at GoDaddy. They probably have an insider who steals domains.
>>
>>57553009
Use javascript.
>>
So.. this is the deal: I have a group project/assignment to develop a web application for basic text-mining in a team of unexperienced people (myself included), non of us has ever developed a web app before.
We are thinking about what language to use for the backend and frontend and such, it should be fairly easy to use and guarantee a quick deployment of a first prototype.
We were told to use Java or PHP (fuck Java btw) but we are allowed to use something else. Imho the options are PHP + Symfony, RAILS or Python + Django. What would you recommend and why?
For the text-mining we'll use a library, i was thinking of php-nlp-tools for PHP and scikit-learn for Python, for Ruby... well, no idea, i'd hope it has a port of either.
For the frontend we'll probably just use Bootstrap with some JQuery and maybe some shit like Angular.js or Vue.js if we have enough time left, we probably won't.
Thank's for any help/tips in advance!
>>
>>57545603
>Oh and yeah, https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f
After this stops being funny it just gets depressing.
>>
>>57546756
>cant php and css and html do anything javascript can?
No
>>
>>57553009
#square {
width: 100vmin;
height: 100vmin;
}

Check out vh, vw, vmin, and vmax units.
https://developer.mozilla.org/en-US/docs/Web/CSS/length
>>
File: bell_curve_2.png (27KB, 2083x1291px) Image search: [Google]
bell_curve_2.png
27KB, 2083x1291px
>>57545344
React.js solves problems none of us will ever have in our lifetimes but it looks cool
>>
>>57551384
I've never heard of Dojo before. I've finished learning the basics of vanilla JS and the next step seems to be "learn jQuery". Are there any downsides to using Dojo? I'm not bound by anything yet, really.
>>
>>57553185
use Node
>>
>>57546721
What the fuck kind of 1995 tier web development are you doing that doesn't involve js?
>>
>>57553780
Is that image true?
>>
>>57553845
Yeah, I always wondered how can people go by without it. I even read here once that the site looks cool with CSS so you should use it. How do you even do anything without it??
>>
>>57553852
If we count all the botnet javascripts, shit they release as mainstream libraries, the number of webpages they have… Yeah, Google definitely fits there.
>>
>>57545344

This is sad, but true.

The problem is, even with HTML, CSS and JS and some backend framework of your choice you still don't know jack shit.

If you haven't read a single RFCs and didn't programm a socket (even if it was only for fun), if you don't know telnet and the difference between ASCII and UTF-8, if you don't know how to parse XML or JSON, if you don't know how to use salted hashes, if you can't make a hand-made AJAX call..

..you are a BLOODY PAJEET and should 301 yourself.
>>
>>57553852
Yes its true: nobody here will ever work for Amazon, Google or Facebook.
>>
>>57553945
Thank god for that, t b h.
>>
>>57553945
wanna bet?
>>
>>57553932
>tfw parse JSON is literally JSON.parse() in js
>>
So anons, how would you build draggable chat like VK.com's chat?
When you log out/log in it remembers where its position was.

Would you use html5?
>>
>>57554064
>tfw Ajax call is literally ajax.call() in js
>>
>>57554104

var chatWindow = {
name: anonchat,
pos: [x, y],
}
//placing it
position(chatWindow.pos);
>>
any recommendations on where i can get someone to build the following web crawler? I want to keep track of developments for a couple of technologies e.g. Data Visualisation software

I was thinking of these 2 steps:
1a) Create a shortlist of new software packages
1b) I add the new ones i like to the backlog

2) For each item on the backlog get latest information e.g. feature updates, new partners, new clients, etc

3) Perform analysis on new developments
???
Profit

Most crawlers allow me to do step1 if i find a website which is somewhat stable. Steps2 seems harder to automate, but the info could come from tech news sites, and vendor's own blog and changelog.

I want this to scale; so i can keep track of 10 technology types or more. Any help much appreciated, have money in place to get this going.
>>
>>57552247
Hey, I emailed you and never got a reply. It's [email protected] right?
>>
>>57554209
>your Mail is now known to a horde of spam bots
Enjoy.
>>
File: 1478014711855.png (167KB, 636x426px) Image search: [Google]
1478014711855.png
167KB, 636x426px
What backend language / framework should I learn in the year 2016 if I want to work as a backend developer?
>>
>>57554378
if you like to put stuff in your ass, you should learn JS.

If you are normal person, you should learn php/ruby/python
>>
>>57554378
Ruby(rails) and ember
>>
anyone have some awesome front end work they saw?
>>
>>57554427
let me rephrase,

If you are an intelligent open minded person, you should learn JS.
If youre too dumb to learn new technologies (good look with getting a job), and want to work with pajeets, then learn php/ruby/python
>>
>>57554209
It's a meme I'll make a discord for something like this tonight or just ask the wdg to make study channels
>>
Should I be using a virtual machine for all my projects?
>>
If I want to use a mdb access database with SQLite it looks like I would have to export each table from the mdb file into CSV and then import that into the SQLite database? Pls halp
>>
>>57554850
Not the guy you replied to, but I would be interested. Ideally, we get a channel in /wdg/ discord.
>>
>>57554682
The question– and answer – were explicitly about backend. Only a hipster faggot would use JS for backend.
>>
This isn't exactly /wdg/ territory, but it's the closest I can think of. Here's the question:

With modern web browsers, is there any way to communicate with local serial ports from inside the browser?

I see there's a node-serialport package, which maybe I could use if I was doing an Electron app. Also, I could, of course, distribute my own C/C++ software that acts as an HTTP intermediary between the local browser and serial ports.

I'm just wondering if there's anything in the modern browser that would allow this directly.
>>
Obviously a real degree and experience/projects is best but is it worth it even a little bit to have random online web related certifications on a resume? Like for example the ones from FreeCodeCamp? Or would it actually be a detriment to include stuff like that on a resume if the HR thinks you're scamming them?

I've got a diploma from a decent Uni and a few years of work experience (sales/tech related but not web-dev related). I'm going to work on some things to put on Github and I'm just trying to figure out what else I can milk as much as possible to put on a resume. (Looking for front end or maybe full stack jobs here)
>>
>>57555029
> JS
> hipster

by your logic suggesting anything other than Java Spring should be considered hipster.

Evolve.
>>
>>57555130
suck some dick. It beats any degree/work experience/portfolio etc
>>
Why do JavaScript libraries like React exist? What purpose does it serve? I don't get it
>>
>>57555191
What do you think about this one anon?
Would you use it?
http://alexjs.com/

Also i would like to hear other anons opinion
>>
>>57555191
React is fast because it only updates elements that need to be updated.
>>
Should I install bootstrap via npn or the aur?
>>
>>57555213
>swj.js
lets not not talk about that
>>
>>57555213

Fuck off with your bait. There's already an entire thread for that bullshit. Go there and don't come back.

>>57553173
>>
Is anyone here familiar with how the flags work on 4chan boards like int and sp?
>>
>>57542617
Sup /wdg/, I've been looking for a job for the last couple of months, but I can't seem to get my foot in the door. I've trimmed my resume down to one page, I've taken the time to learn Python and PHP (along with Laravel) as well as Angular and all the basic front end tech. After about 250 applications, I've gotten two responses and both led to dead ends. Is there any other way to consider jump starting my career like more portfolio boosting, learning popular frameworks, doing open source stuff, or blatantly lying? I'm about to say fuck it and go back to doing electrical work/low voltage soon.
>>
>>57555328
Go back to doing electrical. Programming industry is shit.
>>
>>57555299
my guess would be a geo-IP database
generally: an ISP from country X, region Y owns a set of IPs
so if you see someone connecting from that IP, you can assume - proxies and other stuff aside - that it's a person currently residing in Y, X
a geo-IP database basically aims to map all IPs into geolocations
you can find both commercial and free geo-IP databases on the interwebz
>>
>>57555163
Actually you are right, no technology is bad. Only communities around them are. My image of node.js will forever stay skewed by people who use it.
>>
>>57555461
I still don't know who uses node.js please redpill me.
>>
>>57555328

No degree? You're going to have to network. Or do a "boot camp" and hope that employers are still being duped by it.
>>
>>57555471
paypal
>>
>>57555488
huh didn't know thanks.
>>
>>57555461
more money for me when roughly 90% of the developer community hates learning
>>
>>57555191
it serves a few purposes and youre probably better off reading about it rather than getting a condensed shitpost sized version of the story
>>
>>57555471
Flat learning curve is both a blessing and curse.
To give you example, >>57555213 >>57555269
>$ npm install alex --global

>>57555509
Fault of non-tech people that want to use buzz technologies, instead of finding professional and let him chose the best solution.
>>
>>57555213
Interesting approach for use of word correction, but there are possibly better solutions.
I could even consider using something similar for text boxes, to point out users their use of slang and incorrect use of "their" vs. "they're", etc. A nice possibility to increase community quality.
A little like with Tay.Ai, who learned better writing style thanks to 4chan's influence.
>>
>>57553852
I made a JS game with over 90k lines of code when I was 13 and cracked out on Concerta.

So no...anyone can copy and paste empty conditionals 10k times over.
>>
File: 5657467653_7ec97725c7_b.jpg (459KB, 1024x768px) Image search: [Google]
5657467653_7ec97725c7_b.jpg
459KB, 1024x768px
>>57554378
golang
>>
>>57555328
post portfolio
>>
Honestly if 100% of web devs without a design sense just suddenly died, nothing of value would be lost.
I mean I would probably go on to say even 90% of all web devs can be euthanised and the industry wouldn't feel a thing.

No edge intended, but an overwhelming majority of web devs are the most expendable beings who for some reason love to believe that they aren't. Like especially most of you who get so "overwhelmed" by the fact react, angular, and vue exist LOL
>>
>>57555952
just look at google you fag
>>
>>57555864
I'm probably going to regret this, but here's my github:

https://github.com/Yeasayer

Please be gentle... ;_;
>>
I wrote web apps in C (kore.io), PHP, Node, and Python before, and I'm looking for a decent language that has good multithreading and performance while not being ASM or C, what do you guys suggest?
>>
>>57556051
imFuckingConfused(ypos);
ypos -= 5;
>>
>>57556051
1. you don't github enough, a lot of HM just tend to glance at that shit and go "not enough green"
2. you should have a github pages, I mean for fucks sake it's web development you're after and pages is the best way to directly show it

start there desu, no wonder you've been having trouble

>>57556021
>triggered over reality
>>
>>57556089
Given these constraints, Golang. It got concurrency, not multithreading, though.
>>
>>57553932
I agree, I took an internship this summer, but apparently I was "wasting time" trying to learn the ins and outs of networking. baka. That company was a pajeet zoo.
>>
>>57556114
I actually have a personal website/blog/portfolio, but yeah, I can see what you're on about. Thanks!
>>
>>57556122
>GC
nah, I'll stick to writing webgl games in fortran i guess
any other ones?
>>
Migrated my organisations intranet from a physical server to a VM, site is now back up and no users noticed a change (thx dns). Only thing is now when a user is in IE and clicks "edit with front page " they don't have the folder/directory view anymore, everything else works flawlessly.
>iis5
>win2k
>front page extensions 2000 enabled on the site

Why do people choose fucking FP so many better CMS out there!
>>
>>57556432
fear of failure / fear of change
>>
So I'm following a tutorial on php (unit conversion), I'm not very good at php so I'm hoping I can learn from this.

The php is honestly above my skill level. I don't want to be dishonest on my resume, but I need some stuff on my portfolio.

What do I do? Is it acceptable to put something from a tutorial on your portfolio? Sometimes I feel like I am literally copy/pasting some of this code. I'm trying to learn from it and I don't want to copy/paste but I need portfolio content. what do?
>>
>>57556735
Do you know java or c++?
>>
>>57556797
PHP is my first server side language.
>>
.navList-li:hover #secondLevelOfLinks li{visibility:visible;} /* i dont understand how i got this to work, what did i do here?????? */
>>
>>57556846
Not him but i want to do my first server side project and i chose PHP and Symfony framework for it. Do you have some good learning sources and maybe some youtube guides? I only found those for older versions.
>>
>>57556846
Hm, i don't know what to say.
I already knew c/c++/java when i started with php.
Never read any book about it, i just made all kinds of scripts.
I think that is best way to learn it, just think what you want to build and then search for tutorial about that. But dont look at tutorials that only have source code, look those one that have explained why are they doing it in that way.

If you want to learn Laravel, check this dude -> https://www.youtube.com/watch?v=R8B4og-BeCk&list=PLwAKR305CRO-Q90J---jXVzbOd4CDRbVx
It is very detailed, 10/10 tutorial
>>
>>57556926
you can think of the space as >
>>
>>57556051
do you have a degree at all? Even an unrelated one?
>>
>>57556926
Is this a question?
You seem to have some top level links with children links normally hidden. If top level li is hovered over, you find element with ID 'secondLevelOfLinks' (do you have only one such element? shouldn't be class?) and make all underlying list elements visible.

Also, don't do it this way. It most often will work like shit (UX-wise) on touch screens. You shouldn't rely on hovering cursor for element visibility.
>>
>>57556931
I'm going off of a lynda.com video. But to be honest the site isn't that great all the good videos (introduction to X language) can be found on torrent sites or whatever.
>>
>>57556963
thanks for the link anon.
>>
I'd like to have a few pages to make simultaneous searches on different websites.
For example, have a page to search amazon and ebay, and other specific sites for different things (like asia import sites for weebshits).
Basically, there would be a header on top for the unified search, and a flexbox layout to put the results in.

Naively, I think it would just put iframes into flexboxes, but how to sends the requests to the different sites? Any pointers to help me start this?
>>
>>57557135
https://www.youtube.com/results?search_query=<?php echo $_GET['form-input']; ?>
>>
>>57557222 (checked)
So, basically just the naive solution is enough?
>>
>>57557294
Well i dont know if there is some API that you can use.
But if you want to use iframes, why complicating, just edit url
>>
Hey /wdg/, is php worth learning or should I stick with nodejs?

Don't know any scripting languages apart from JS so started learning Node about a month or two ago, also a total newbie at networking in general.

Job wise php/Java/C# beat Node hands down in my area. But I feel as though if I one day master Node the benefits are greater.

Or am I totally wrong?

>>inb4 lol php kys pajeet
>>
>>57557526

There are a billion PHP jobs, but they're more often maintenance on shitty, old projects and don't pay great.

I'm sure you can become a really accomplished and respected consultant, going around cleaning up shit in PHP, but who wants to do that?

The modern web area is where a lot of the most interesting developments in software have been happening. If I were you, I'd focus on modern web stacks.
>>
>>57557526
I jumped from Node.JS back to PHP 7 and Apache prefork. I just can't tolerate the threading system of node
>>
>>57557707
Node doesn't have threads.
>>
>>57557777
exactly anon
>>
>>57557684
>If I were you, I'd focus on modern web stacks
What would you suggest?
>>
>>57557828
I've overcome this with SocketCluster
>>
>>57557928
still not as light apache's threads though
>>
>>57557902
LISP && Angular 1
:)
>>
>>57558006
Probably not. But I can't go back to PHP. Also, websockets kick ass.
>>
>>57558045
Yes you can, and websockets are available for PHP too, most hilarious thing would be that a websocket server library PHP responds faster than ws in my ecperience
>>
File: 1459022728730.jpg (46KB, 640x480px) Image search: [Google]
1459022728730.jpg
46KB, 640x480px
>>57558042 (You)
>>
>>57557902
>What would you suggest?

Dunno. I'm not a web developer.

If I were you, I would go to indeed.com/jobtrends and plug in a bunch of keywords. Pursue whatever has the best balance of job numbers and pay.
>>
>>57545206
Yes desu. If you can math then backend is easy. Frontend you have to deal with UGH designers UGH and user criticism.
>>
I'm currently fooling around with the w3c css (bootstrap like) responsive webdesign yadda yadda.

Am I just missing something or is this whole stuff really unfriendly if you want to have the contents of your site centered.

All I want is there to be a white empty border on each side of the middle content for big devices which then becomes smaller on medium ones and is gone on smartphones.
>>
>>57551460
Yes you can AJAX with vanilla.
>>
>>57557004
No...

Sorry about the delay. I'm running around the place ATM.
>>
>>57557526
You should start by learning how everything works.

The best way is to learn HTML5/CSS3 and JS (jQuery included).

This will be your core and is enough to get you a job.

The next thing you do is learn a backend stack like LAMP or .NET

The most important thing you need to do learn a stack and STICK WITH IT.

LAMP is easy mode with stuff like WAMP or MAMP. .NET MVC is easy as well due to visual studio and sql server being free now.
>>
>>57558242
Thats a really bad place to start. Go here: http://learnlayout.com/
>>
>>57556931
Use Laravel, it's what everyone who knows what they are doing uses: https://laravel.com/
>>
>>57558497
>using the slowest framework in benchmarks
you got alot more to learn about web dev kid
>>
>>57558414
>jQuery included
Don't learn this piece of shit. You won't learn anything besides being pajeet.
If anything, read its source and ask yourself why the fuck would you need to use it over vanilla JS. But I recommend doing that only if you can't come up with solution in JS on your own, that already is done in jQuery.
>>
>>57555952
99% of all actual improvements we have had in website development have been via Design and Usability.

Everything else can be tossed like you said. I think something 40% of all websites are wordpress now because theres zero reason to reinvent the wheel.
>>
>>57557485
just trying out, and I just get “Display forbidden by X-Frame-Options”.
So naive solution is out of the question then.
Any other idea?
>>
>>57558537
You know how I know you are an amateur?

Cross browser compatibility is still a MASSIVE fucking headache.
>>
>put together an internal company site for managing client requests in angular
>blazing fast in chrome
>several seconds of initial load in internet explorer

fucking watchers, how do they work
>>
>>57558581
>writing for IE
lmao pleb
>>
>>57558537
>If anything, read its source and ask yourself why the fuck would you need to use it over vanilla JS.

I'm thinking you don't know jack shit about web development history.

Web browsers used to be *profoundly* incompatible. So much fucking retarded code was hand-crafted by each and every web developer to get some semblance of consistency across browsers. And the amount of repetition to grab DOM objects... What a shitshow it used to be.
>>
>client uses IE, can't switch

The pain. IE is such a fucking piece of garbage.
>>
>>57558414
thanks for the advice
>>
>>57558532
Not using the most developed framework with the largest ecosystem and high chance for employment because it's not the fastest.

One day you'll make it to my level. In the meantime keep studying and graduate. I used to be an edgelord fag like you too.

We're all gonna make it.
>>
>>57558581
Yeah, that's why all browsers support JS.
Do you think that jQuery implements it in some fucking web assembly?

Well, maybe you still have to support IE6 and Windows 98, I don't know.
IE8 is supported on XP already, it implements JS very well, I'm not aware of many features lacking from it. You can't have anything older than IE10 on Windows 7.
>>
>>57558703
>being this butthurt and insecure
kek
>>57558660
tell him to switch if he wants you to work for him
>>
You shouldn't develop for anything older than IE11 anyway.
>>
>>57558645
Ha ha, not him but I'm so old that I remember rolling my own AJAX framework and having to use fucking square bracket notation in JS because firefox 1 had some weird bug in it.
>>
>>57558711
You literally have no idea what you are talking about.
>>
>>57558757
ie11 is still slow like shit, it's barely better than 9.
>>
>>57558581
>>57558711
Oh, wait, correction.
You can't support IE8 with jQuery, because jQuery doesn't support anything older than IE9 itself.

>>57558645
Hey traveller, how is time travelling? Got any other things relevant only before 2010?

>>57558800
And your remarks' importance is equal to your arguments. Non-existent.
Do you have any knowledge of your own or are you just parroting what you have learned from outdated blog posts?
>>
>>57558835
Slower yes, but it's decent when it comes to following standards.

If users want to stay on slow browsers then that's up to them, it's not my problem, I just make sure it works in the officially supported browsers.
>>
>>57558847
Go I hate children.

>You can't support IE8 with jQuery, because jQuery doesn't support anything older than IE9 itself.

Fucking wrong, the 1.X branch exists for a reason.

>Hey traveller, how is time travelling? Got any other things relevant only before 2010?

If you had a job you would know that most corporate software still supports IE8+

>Do you have any knowledge of your own or are you just parroting what you have learned from outdated blog posts?

I have 15 years of experience. I was doing this shit before sessions existed and long before your mother missed you with that coat hanger.
>>
>
>>
>>57558847
>You can't support IE8 with jQuery
But it does anon, JQuery supports IE down to IE6.
>>
>>57549585
7-10 years seems like a super short amount of time for "all" of the domains to be taken.
>>
>>57559449
All of the good domains.

Good luck trying to launch a business with the domain socialmediawebsitesimilartofacebookbutalsoliketwitteratthesametime2025.me
>>
>>57558847
>Got any other things relevant only before 2010?

Implying that the standardization and elimination of redundant DOM lookup isn't still a significant benefit.

Stay young and pissy, kiddo.

There's a reason that web development exploded after jQuery came along. Abstraction layers that provide standardization are a GOOD thing. Just because you're so used to them that you can't explain the value doesn't mean they don't have any.
>>
File: ccW10gthwCdk6rTWw3l9pw==.png (385KB, 500x415px) Image search: [Google]
ccW10gthwCdk6rTWw3l9pw==.png
385KB, 500x415px
>>57559023
You still failed to list features not supported by these browsers, that you need to use.
>most corporate software still supports IE8+
Supporting IE8 and IE9 with 0.74% global use… Really makes you think. Good I haven't counted IE10, because we would run over 1%.

Speaking of corporations, Google somehow manages to not support IE8 since November 2012. And IE9 since November 2013.
G Suite (formerly Google Apps) supports only IE11 and Edge. It includes GMail.
Even Microsoft dropped support completely for every IE version before 11.

>1.X branch
msn.com uses jQuery 2.1.1.
Yandex.ru uses jQuery 2.1.4.

>>57559095
I would like to disagree.
https://jquery.com/browser-support/

>>57559606
And jQuery turned 10 years old not so long ago. Can you believe?
I remember using jQuery 1.6, it was godsend back in the day, but even this version is 5 years old already!
Good that we got HTML5 and some serious standardization – a real one, with actual support from browsers. Compatibility libraries are no longer needed, you can move on.
>>
>>57559745
>While jQuery might run without major issues in older browser versions, we do not actively test jQuery in them and generally do not fix bugs that may appear in them.
>If you need to support older browsers like Internet Explorer 6-8, Opera 12.1x or Safari 5.1+, use jQuery 1.12.
JQuery runs perfectly fine on even IE6.
>>
>>57559745

I'm posting here with my IE7 and basically you can suck my dick.
>>
have my site root set to the public/index.php of my laravel folder.
but when I load the page my images wont load beaucse the site root is set to that index.php file
I have it set like this so laravels routes work if i change this it ends up just 404 when i go to any other page thats not the index
all my images are in /public/img
>>
Why does googles front page have such a wacky source code?
>>
File: 1467760450833.jpg (68KB, 450x424px) Image search: [Google]
1467760450833.jpg
68KB, 450x424px
Sup /wdg/, I need a js library that's not a framework and not gayquery. I want something that provides a simple abstraction for doing XHR, DOM manipulation with data binding and possibly routing for lazy loading content, but as bare bones as possible.

I've used angular 1 and it was ok, but I don't use 98% of the features it provides.
>>
>>57561043
Put this and only this in your index.php file, it will redirect you to your desired/main page.
<?php
header("Location: path_to_your_page/your_main_page");
?>

If you want to display images on your main page or any other you have to address them with proper path.
>>
>>57561142
botnet
>>
>>57561151
Knockout.js
>>
>>57555471
Walmart and Netflix
>>
>want to add new feature
>can't find a good icon for it
>decide not to add new feature
>>
I was curious, has any /g/entooman actually done any of the jobs listed in the op copypasta?

has anyone actually taken that road?
>>
File: 500x1000px-LL-ee806c5b_DEAD3.gif (831KB, 350x262px) Image search: [Google]
500x1000px-LL-ee806c5b_DEAD3.gif
831KB, 350x262px
Welp, I'm at a crossroads. 2nd full time job as a FED and recently I've been feeling like I don't know shit because I am not exposed enough to the backend. I made some shit with Node to learn general server side shit/terminology, found it no nonsense and easy, planning on moving onto something more mature (Laravel) for my next job.

But the kicker is, I'm starting to think I might be paid more in another JS role, full stack or not with the way people jerk off these days. I've got more leverage with JS just because I'm well versed, and don't want to take a junior Laravel role or anything.. wut do
>>
>>57561151
I use Kefir. Any other reactive streams library would work, though. Quite a few of them are unbloated.

Basically it lets you create properties that change over time. If you combine or transform one property into another, changes will ripple through them.

    // A value that is false at first and then toggles between true and false
// whenever button1 or button 2 are pressed
const isToggled =
Kefir.merge([
Kefir.fromEvents("click", button1),
Kefir.fromEvents("click", button2),
])
.scan((x, _) => !x, false)

// Convert the toggled state into a message.
const toggleMessage =
isToggled.map(x => x ? "it's toggled" : "it's not toggled");

// Bind to the DOM.
toggleMessage.onValue(x => textField.value = x);
isToggled.onValue(x => checkbox.checked = x);
>>
>>57558543
I hope we never go back to a web purely designed by programmers. Those were dark AF days.
>>
>>57558616
He might have a massive government contract and be getting paid more than you will in your life. OK probably not but that shit does happen.
>>
I'm having a strange problem with a React app I'm building. It's a simple quote generator - it issues a GET request to an API and receives JSON containing a quote.

componentDidMount calls a method upon page load. This method ('foo') issues the request to the API and then updates the state with the quote information. This works fine.

The issue arises when I press a button to generate a new, different quote. The button is wired to call a method which sets the component state to say the app is loading a new quote, and then calls the method that compnentDidMount also called ('foo'). The method requests a new random quote from the API and updates the state with the new quote.

The weird part is, I'm getting the same quote data every time. This shouldn't happen, the request I'm sending specifies the quote should be random (as it is when I first load the page). It's definitely making an AJAX request, I've placed logging statements within the AJAX function.

Any ideas on why this is happening?
>>
>>57563116
These subsequent calls to the API appear in the developer console. Where the first API call took ~700ms to complete, subsequent calls resolve in 0ms.
>>
What does /g/ think of Gumby? Current assignment for uni requires that I use the Gumby framework for my final site and was curious to what the general opinion of it was compared to something like Bootstrap
>>
File: Screenshot (476).png (1MB, 1920x1080px) Image search: [Google]
Screenshot (476).png
1MB, 1920x1080px
Who has enough balls to post their personal webpage?
thoughts?
improvements?
>>
File: Screenshot (478).png (904KB, 1920x1080px) Image search: [Google]
Screenshot (478).png
904KB, 1920x1080px
>>57563630
>>
>>57555065
No. In fact, doing that is completely forbidden. Browsers are sandboxed. You could try building a browser plugin though. That may work. I've never tried it.
>>
>>57563630
I have. Like 5 times in the past 3 days.
>>
>>57563116 here.

The issue is that the AJAX requests are caching based on the first AJAX request made upon component mounting.

Anyone know how or if I can disable caching within the application code?
>>
how long does it take to git gud? hireable?
>>
>>57564030
A month and a half/2 months if you go at least 2 hours a day. That's how it was for me anyways
>>
>>57564126
Wait, so for just 2 hours a day, with no other qualifications, you got hired?
>>
>>57564030
Depends.

6 months of hard studying while building a nice portfolio will get you hired. I'm talking working at it full-time while having a plan of what to learn and portfolio website idea at the ready.

You can learn to theme wordpress and get a shit job after a month if you want, but you said you want to git gud.
>>
>>57564157
>Wait, so for just 2 hours a day, with no other qualifications, you got hired?
Of course I had a portfolio
>>
>>57563630
>>57563692

Are these in fucking Comic Sans ??
>>
>>57564574
mv boli
>>
>>57563630
That modal and those images make me almost want to recommend Mistral. Almost.
>>
>>57563728

*Yawn*. Look, if you're going to post the obvious, stop and ask yourself if you should bother posting.

Chrome supports serial communications for their "apps", which is something:

https://developer.chrome.com/apps/serial
>>
>>57565483
I don't know if you're the guy I responded to, but there was a question asked and I answered.

If you're going to be an asshat to someone who is simply trying to help someone else out, stop and ask yourself if YOU should bother posting.
>>
What's the consensus on React?
>>
>>57564602

still look like Comic Sans to me , or I still have to typography.
>>
>>57547909
The company I work for get's 2.2mil/month. fuck I hate this job.
>>
>>57558660
Charge your client an additional X percentage for IE < 11 support.
>>
>>57561513
Laravel is literally trash.
>>
long time lurker here.

finally have to time to devote learning something now. I know there are plenty of resources out there, but what about material for offline?
I work a night shift security job and there is no internet sometimes. Should I just get a book and start?
>>
>>57563630

terrible font. where did you get that? just look at google's most popular fonts and pick one of those. not lobster tho.
>>
>>57566586

yeah if you won't have internet you should just use a book. you should be able to work through a lot of beginner stuff without an internet connection. use your phones to search for stuff, which might be kinda annoying since you can't copy/paste.
>>
>>57552247
We are still active -- now on gitter! All welcome! Hit me up at the email and receive invite ASAP.
>>
>>57566122

That's the key. IE11 is actually tolerable, and Edge is pretty good.

Every time someone says "needs to support IE", you need to clarify the version before you decide how upset you are.
>>
File: coerce.jpg (84KB, 890x717px) Image search: [Google]
coerce.jpg
84KB, 890x717px
>>57565621

Good, but adds a lot of overhead to getting going quickly. Putting a build system in place on basic sites is a PITA>
>>
File: 20161118_012032.png (198KB, 719x889px) Image search: [Google]
20161118_012032.png
198KB, 719x889px
Do I suck at design?
>>
>>57566586

just download a book and read through those. Its my tactic to hoard on tutorials so that when I hate my job anymore and will go back to being NEET, then I have something to productively occupy my time.
>>
>>57566751
Yes
>>
>>57566751
Needs little polishing. Don't put all in the container (if you have one).
>>
>>57566772
And why?
>>
>>57566784
Just started learning JS and React. What should I improve on specifically?
>>
>>57566784

You said on design, not development. Just wilder on website for inspirations. That design look likes pre-css framework era.
>>
damnit

>>57566820
look >>57566865
>>
>>57566751
Upper side, code section and black text are fine and nicely placed, but these circles are bad.

The text is almost unreadable - put it on black, half-transparent div instead of inner-shadowing it. Also get rid of circle shadows, or at least put them only at the bottom and make them sharper.

Overall it's pretty neat, just fix those circles.
>>
>>57566865
Depends on whether he's applying for a designer or an engineer position. If engineer, I'd prefer this kind of website, with clear navigation and focused on content instead of looks.
>>
>>57566973

don't you think if it is really that clear for a navigation then either engineer or designer position, he would be accepted ?
>>
>>57567013
why not?
>>
>>57567046
>>57567046
>>57567046
>>57567046

NEW THREAD
Thread posts: 321
Thread images: 38


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