[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: 35
File: INBvStO.png (312 KB, 506x662) Image search: [Google]
INBvStO.png
312 KB, 506x662
Last thread >>55125538
Searched for wdg to find the last thread long dead and buried so I guess I'll make a new one edition.

> 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/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/
https://www.youtube.com/watch?v=JxAXlJEmNMg&feature=youtu.be&list=PL7664379246A246CB lecture series.

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

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
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
https://www.youtube.com/watch?v=pB0WvcxTbCA - "WATCH THIS IF YOU WANT TO BECOME A WEB DEVELOPER! - Web Development Career advice"
https://www.youtube.com/watch?v=zf_cb_Nw5zY) - "JavaScript is Easy" - If you can't into programming, you probably won't find a simpler introduction to JavaScript than this.


>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>NEW!
https://www.openshift.com/
>>
File: 1462551780370.gif (252 KB, 838x650) Image search: [Google]
1462551780370.gif
252 KB, 838x650
What are you working on /wdg/?
>>
>>55163904
What's the least shit canvas library?
>>
>>55163904
Can we add http://learnlayout.com/ to that list?
>>
Is there a reason why you guys don't have treehouse on the learning section of the post?
>>
Need a good SASS compiler, Compass is slow as shit.
>>
>>55165270
Use LESS.
>>
>>55165332
Why? Sass is better. Even Bootstrap is dropping support for LESS in the upcoming version.
>>
>upgrade main PC to Windows 10
>You have to wait a few seconds before typing in your password

What is this shit?

My 5 year old laptop on Ubuntu doesn't have you wait even a single ms from wake to typing.

Why is microsoft such shit?

Any of you even know what I'm talking about?

When the computer is in hibernate or whatever and you ctrl+alt+delete to login, you have to wait before typing the password. Bugs me to no end.
>>
File: windows code quality.png (1 MB, 1300x4704) Image search: [Google]
windows code quality.png
1 MB, 1300x4704
>>55165553
Windows is probably the greatest incarnation of code debt on the planet. And they aren't allowed to fix it.
>>
>>55165553
I think you're in the wrong thread, but fuck Windows anyway.
>>
>>55165270
>>55165332
Never mind, I found a great plugin for Sublime that builds it instantly. It's called Sass Build.
>>
>company's entire infrastructure, including their websites, is COBOL
>web applications that have been in production for so long they've lost the source code
>rebuilding all web applications from scratch

I'm not a web developer. I wasn't hired as a web developer. I know precious little about web development.

I was thinking PHP, just because that's all I know for web development. Any suggestions?
Note: it can't be the latest hip language with the latest hip libraries.
>>
>>55165664
Every novice web developer uses windows and some form of linux. I'm in the right thread. UX/UI with their Mac need not pls respond.
>>
>>55165759
quit that job
>>
>>55165856
No kidding, the guy before me quit because of how fucked up this place is.
Their websites being COBOL are just the tip of the iceberg for the shit I've seen, and I've only been here a month and a half.
>>
Do you guys use normalize? If not, what do you do? Custom resets? An alternative?
>>
>>55164001
i just sold my first website to a hypnotist, so im pretty happy he didn't hypnotize me into doing it for free
>>
File: I6CPeLm.jpg (80 KB, 540x720) Image search: [Google]
I6CPeLm.jpg
80 KB, 540x720
how do i develop php and test scripts outside of /var/www/html? its a major pain to use that directory?
>>
>>55164001

1. An app in cordova for sharing certain pictures for likes and social media shares. Gamified with points. Untapped market.
2. A simple link redirect with a TWIST™ for my portfolio. Really a relinking service for people who don't want to let leddit turn their links into affiliate links.

3. Another app, but in swift, that is similar to a ton of other apps but in an actual xbox huge market that is untapped.
4. A free dating website with my haversine shit.
5. A free roommate website with my haversine shit.
6. I won a bid on a cool pirate-related domain that I'm going to load with VPN affiliate links and anonymizing how-to tutorials like tor. I want to make it an invite-only club.
7. Updating my current leader site with bootstrap and non-shit PHP practices.

I'm also half-way through 3 different ebooks. One on generating money online, another on weightloss, and one that consists of copy/pastes of user-created content that is on my website (It's going to be a hardcover)

ADD, everyone.

God help the world if the doctor prescribes me medicine again here in August.
>>
>>55166330
Change the default directory.
>>
>>55166330
>its a major pain to use that directory?
No. No it isn't.

Bookmark it.
>>
What's your proudest projects?
>>
File: fuckingkyle.png (502 KB, 495x421) Image search: [Google]
fuckingkyle.png
502 KB, 495x421
Workin on a simple Blackjack program for the last 3 days and gonna finish it tomorrow. Gonna finish my first book on js, Jon Duckett's Javascript&Jquery so im excited for it. Only 125 pages out. Its really motivating that i can finally make pages that dont look like absolute shit (still look like shit tho). I could have made the blackjack game easy af with JQuery but I wanna get gud at js.

Anybody know any textbooks that will help me out with making a website look better? Ive heard of some HTML5 templates that I might check out. Also a book on Photoshop and a novice PHP book came today.

Also does anybody know a way I can send JSON files locally since I dont have server or should I just make a virtual one and stop being a lazy fuck?

Im on a farm with nothing but time. Its comfy as fuck out here. How's everyone else doin?

pic unrelated: a guy i used to work with whose having a mid life crisis and has literally tattood his whole body in the past year
>>
>>55166409
>Untapped market
>huge market that is untapped

Look out guys, we have an entrepreneur here
>>
>>55166550
No. Just an idea guy that can dev.
>>
>>55166550

Bro this shit is gonna be huge. Honestly, WE COULD BE THE NEXT STEVE JOBS!!!
>>
>>55166409
>>55166550
This guy is just the cutest thing I've ever seen on /g/. I wanna pinch his cheeks.
>>
>>55166619
Post your website and /wdg/ will tell you how shit it is.
>>
>>55167703
/wdg/ opinion is useless compared to /gd/.
>>
>>55167944
game development?
>>
>>55167953
>>>/gd/
>>
>>55167971
Web development is more than graphic design. If you want to reach such lofty goals, you're going to need more than a shiny photoshop mockup.
>>
>>55167995
>>55167944
>>55166409
I mean, don't get me wrong, ambition is good, but those are all very time-intensive goals with more backend than frontend. The graphic design isn't going to be the hardest part.
>>
>>55167995
Are you telling me I can't slice photoshop templates and iframe the content anymore?

Ouch.
>>
>>55168105
So you did catch my point.

How are they going to judge the back-end by looking at the front-end? That's a job for /gd/.

I watch motivation clips on youtube; I'll be alright. Zyzz says we're all gonna make it, brah.

https://www.youtube.com/watch?v=KxGRhd_iWuE
>>
>>55168124
It's okay, Pajeet, you can still do that. I'm sure that's how the ~ENTERPRISE~ companies do it.

>>55168167
Because if your site looks dumb and is poorly made, you're probably just another dime-a-dozen idiot full of hot air that we can laugh at. That's what everyone is assuming anyway.
>>
File: amazonclicks.png (9 KB, 308x509) Image search: [Google]
amazonclicks.png
9 KB, 308x509
>>55168193
>That's what everyone is assuming anyway.
Everyone is stupid.
:^)
>>
>>55168229
This means nothing without context.
>>
>>55168229
>>55168241
Also, it really doesn't look that good. That's a steep decline over a short period that was over a year ago, like your site was posted on a backwater subreddit or something.
>>
>>55168276
those are amazon affiliate link clicks, not traffic.

You're either the ruby guy or the image hosting guy. Which?
>>
>>55168304
Neither, I just made the thread and I've been lurking. And you sound like every other kid who thinks they're hot shit.
>>
>>55168335
I know. Was just answering the question.
>>
>>55165759
>COBOL
What does their web services even do?
>>
>>55164001
Filling in the gaps my school's shitty program left me with. So I'm watching some lynda videos to tighten up my knowledge before looking for my first job. Is it OK to ask a few questions?

I feel under qualified and overwhelmed, shit feels bad. My js is shit because my school's program was awful. /venting

What kind of stuff can I expect for an interview for a front end position? Do I have to build a site on the spot or answer terms? Obviously it varies but I would like a general idea please.

How many projects should be in my portfolio before I start sending it out to employers?

Seems like WordPress is still super big out there but I don't want to work on WordPress because I'm worried that might affect future jobs because WordPress isn't your standard front end stuff. Are my fears correct?

Any advice on what to look for in an employer /wdg/?
>>
>>55169081
>I feel under qualified and overwhelmed, shit feels bad. My js is shit because my school's program was awful. /venting
If you can fizzbuzz then you're better than a lot of CS graduates.

>What kind of stuff can I expect for an interview for a front end position? Do I have to build a site on the spot or answer terms? Obviously it varies but I would like a general idea please.
Who the fuck knows? Some of them might as well just get you to dance for them. Learn about algorithms and data structures, interviewers aeem to have a hard-on for making applicants sort arrays.

>How many projects should be in my portfolio before I start sending it out to employers?
I got a job with 2 but I do backend.

>Seems like WordPress is still super big out there but I don't want to work on WordPress because I'm worried that might affect future jobs because WordPress isn't your standard front end stuff. Are my fears correct?

Experience with WordPress is still experience, which is better than no experience. But you will be a Pajeet.

>Any advice on what to look for in an employer /wdg/?
Work-life balance, keen to train and retain employees rater than just burning them out and replacing them with pajeets.

In general don't confuse "front-end" with "entry level". Front end is hard to do right. Watch the video in the OP titled WATCH THIS IF YOU WANT TO BECOME A WEB DEVELOPER as it should give you an idea for some stuff you might be missing

Also apply for jobs, don't not apply because you think you aren't qualified. Job descriptions are retardedly inaccurate since they're written by non-technical recruiters. Stuff your resume full of buzzwords, languages and libraries to get past these gargoyles since they're the main thing standing between you and an interview.
>>
Any recommendations for notable lightweight requests libraries to replace jQuery's? Slowly dropping it in favor of React and the only missing component is something to handle json API requests nicely
>>
Everywhere I go I see jokes about """web developers""".

I can't stand this anymore, I don't want to get into a field where I would be considered a meme. :(

Pajeets made this.
Pajeets and Karlie Kloss gurrrls, together with their shitty sjw kodecamps which made the whole field seem like a big fucking joke. You too, with your NEET TO JOB guides. There are a shitton of websites that teach webplebelopment and everybody constantly markets housewives who started their freelancing career by learning webdev "from 0 to an hero" by themselves. Clearly, you don't need to know any CS fundamentals to get some job in this field.

It feels VERY bad and I'm not joking.
If everybody can do it, why should I make a career in it? I'm tipping my fedora hard if you like, but I care about status, I won't let myself be called a code monkey and eat up shit jokes about my field every day.
>>
>>55170253

I'm at this point right now. Just finished a 3 year web dev contract. Was fun, but looking is fucking aids right now.

I just bought a c++ book and I'm going to learn my way out of this garbage career.
>>
>>55170126
window.fetch, or a polyfill library for it
>>
>>55170253
>>55170284
>letting /g/ memes affect your life choices.

smhtbhfam
>>
>>55170371
I'm not talking about /g/, I'm talking about real world. Just yesterday, I heard web developers being compared to housewives.
>>
I have thumbnail images that I want to make as background images of a div, instead of using img tag, (because I found it easier to make it work, using background: cover for a header too, etc., but maybe it'a a really bad idea actually, enlighten me). Anyway, the problem is that I use Wordpress and so if I want to return my images, I use a certain PHP function inside of an HTML. Because I want to show them as a background cover, I can't call that function inside my CSS file like:

.div {background: url(<?php lalala ?>);}

Etc.

Instead, I'm stuck with using inline styles for that, because ofc, it works in HTML file no problem.

And now I have that small part of CSS inline (which sucks for SEO and everything else) and I don't know if I need to bother with it. If the only fix is using img tags I'll have to redo a lot of shit but oh well.
>>
>>55170939
lel, by who?
>>
Is learning Web Development one of the most reliable, clearest paths from NEET to JOB?

Interested in programming and learning more about it
>>
>>55171269

/v/
>>
File: sQve7ET.png (71 KB, 1248x1504) Image search: [Google]
sQve7ET.png
71 KB, 1248x1504
>>55163904
What are some cheap methods to increase the publicity of my website?

And please don't say SEO, because I already tried that and it was completely worthless.
>>
Do I have to be on Windows to be able to Web dev properly?

I just erased my Windows to be on Ubuntu just because it has superior terminal and package manager but it seems like bower and npm can already do all those work on Windows.

Not to mention that most users who will visit the web are on Windows anyway.
>>
>>55172598
Have interesting content and a catchy name, use a .io domain.
>>
function addMargin() {
window.scrollTo(0, window.pageYOffset - 70);
}
window.addEventListener("hashchange", addMargin);


Hey guys need some help pls, the above javascript code works great in Chrome and Edge but fucks up in Firefox.

Why is that? How to fix? Thanks /g/
>>
HELP ME GUYS HELP ME HELP ME!!!

I can't control myself anymore. I keep redesigning my website and can't stop until I make it perfect.

Yesterday I spent a few hours just perfecting my hero header and the rest of the day trying to find an inspiration for the perfect content layout (content heavy btw).

I have a few days to finish my design and I constantly reiterate it. What to do???

How do I tell myself to fuck off and actually add new functions before tweaking the design? I didn't even code a hamburger sidebar yet, but I spend hours making it perfectly responsive for every device.
>>
How do you know how good of a web dev you are? I'm still in highschool, but i've made a few websites in the past. my most recent one i decided to go all out for, bought a vps, installed nginx, php, and mysql, and made a cool blog system with an account system and stuff completely from scratch. Knowing that lots of CS graduates can't even do fizzbuzz makes me feel better, but I still don't think of myself as a programmer in any sense. Do any of you guys feel this way?
>>
>>55173454
>with an account system and stuff completely from scratch.

Oh boy! How are you doing that exactly?

Also watch this
https://youtu.be/8ZtInClXe1Q
>>
>Go to /wdg/
>no one talking about progressive web app dev summit
>>
>>55173161
Do I have to be on *Linux to be able to Web dev properly?
>>
>>55173577
Using PDO with prepared statements, base64 before entering shit into the database, using bcrypt to hash and verify passwords. I think I'm doing it all pretty well. I do take security very seriously.
>>
>>55170314
>This is an experimental technology
hrm

but thanks, I looked at the other libs available on npm hoping to find a nice clean wrapper around xmlhttprequest for rest but they're all designed for serverside and have over a megabyte of includes
>>
>>55173577
>>55173824
Also have a disclaimer telling people not to reuse passwords on the signup form, just in case something does somehow go wrong. :^)
>>
>>55169243
Thank you very much for the info anon. Sorry I fell asleep shortly after making that post I definitely appreciate it.
>>
>>55173742
Do I have to be in *Drugs to be able to Web dev properly?
>>
>>55173655
No like usual everyone is trying to undermine how hard it is to be a front end developer and compare people who actually have years of experience to fucking pajeet.
>>
>>55170253
Everybody can't do it.

Hence the good pay and plenty of jobs.

It's best to hop on this train while it's hot.
>>
learned php in the last few days
what should I do for practice
>>
>>55173742
Yes, or whatever the fuck mac os is called.

Your VPS is going to be command line, not windows.
>>
>>55174488
making a sign up form
>>
>>55174488
learn best security practises like PDO and prepared statements.
>>
>>55174488
An image relinking service like a basic bitly

>>55174505
this with email verification
>>
>>55174589
I think running a mail server would be a bit much for someone just wanting to test out some PHP.
>>
thanks guys
>>
I'm retarded.

I'm trying to create a list with bullets using html, but I want the bullets to be some unicode character. I have to change the <ul> code, right? I cna't figure it out.
>>
>>55173877
>disclaimer
Oh boy, lawyer-driven-development. It may be complete shit, but at least if you lose the database full of passwords you can wring your hands and say it was your users' fault.

You're shit, use oAuth and let professionals handle password security.
>>
>>55174855
https://developer.mozilla.org/en/docs/Web/CSS/list-style

I am sure you can use css ::before pseudo-selectors to implement them with the content attribute to implement unicode characters
>>
>>55173849
Experimental usually just means you need a polyfill
>>
>>55174885
I mean it's just a little meme site that only my friends use, where's the fun in using oauth when my system is PROBABLY secure? :^)

But really, I think I'm doing everything correctly when it comes to storing passwords. Only problem might be not hashing them clientside, but I can't exactly do that with PHP. At least my site has HTTPS enforced I guess.
>>
>>55174890
I can't use CSS in this case though. I thought you could do it with html only.
>>
>>55174933
>I can't use CSS in this case
explain
>>
>>55174933
From what I've read I don't think you can. Guess you'll have to do with the preset disc / square / circle shit or try to remake lists using a ton of spans.
>>
>>55174933

&copy; - Item 1<br>
&copy; - Item 2<br>
&copy; - Item 3<br>
>>
>>55174933
HTML should only *ever ever ever* be used to describe the actual layout of your content; what is a list, what is a container, what is content, etc. If you are using HTML to describe styles in any way you're doing it wrong.
>>
Question:

I need to make a website using AT LEAST java and mysql, what framework is the easiest to work with?
>>
>>55175042
>>55174982
>>55174975
>>55174971
>tfw did it like a retard by inserting an image for each icon

;_;
>>
Amigos, I'm about to launch a django project onto the beautiful world wide web.

Do you fellows recommend DigitalOcean as a cloud provider? Are there better options?

Also, whats a good webserver for django? Currently I'm in-between either Gunicorn or Nginx. Does anyone have any recommendations for these/other webservs?
>>
>>55174971
but why
>>
>>55166330
either do a symbolic link to it, or point a virtualdomain to another directory

>>55175358
Nginx on Linode
>>
>>55174526
THIS
It will actually get you more zeroes and you can provide "eye" evidence of stuff

https://www.owasp.org/index.php/WebGoatPHP
>>
>>55175358
DO is pretty good; modern approach to server infra.

If you want to do things properly you'll be wanting to run both gunicorn and nginx. Use nginx to proxy pass requests to gunicorn.
>>
>Professional designers start with their designs on paper.

>Mediocre designers start with their designs in Photoshop

>I start in a fucking code editor and recode every version

Autistic or god-tier?

You decide.
>>
>>55175909
Autistic
>>
>>55175909
>designs on paper

Maybe a million years ago.
>>
How do you guys find inspiration of a content layout, and ultimately, how do you choose the right one? After how many versions? I am struggling with it literally for weeks. I don't even know where to look and who to believe. Dribble/Behance and other shitty sites have a lot of pretty designs but a lot of them don't work in a real world.

I was thinking numerous times about just straight up copying someone I like the most but I don't feel that's the right choice.

Also, I'm doing it from scratch, but I've realized that it still does not look very experimental (which is a good thing though), so I could have probably just used some generic template and edited it instead of spending hours upon hours on it, and still not being close to finish. Because, after a lot of trying, many stuff turned to look just like you would see on other sites - they just didn't work as good the other way. I see that as a defeat, but what can you do. I learned stuff during the process.
>>
>>55169243
I know this post is super old but I want to ask someone who might know, what qualifies as a "project" in your opinion?

Is a little javascript app that does image manipulations a project, or does "project" entail a significant size, like a frontend and backend?

I guess what I'm asking is how big does something need to be to qualify as a "project?" Define size however you want, time spent, lines of code, whatever.
>>
File: 1425848628447.jpg (334 KB, 850x797) Image search: [Google]
1425848628447.jpg
334 KB, 850x797
What templating languages do you guys use?

I've been using Jade, but only for composing together chunks I wrote in HTML. Not really the way it's intended to be used.
>>
What is your opinion on this?

https://geospace.webflow.com/

It's beautiful but could this, given a time and improvements, ever work? What do you think will be the next big step in organizing content?
>>
>>55176592
I like how changing the window size breaks it immediately
>>
>>55176261
A project is anything completed that has a purpose.

A URL shortener is a project and very easy. A social media website is also a project but very hard.
>>
had my first interview today, just a phone one but it went pretty well. was for a rails job
>>
>>55176660
So my little js app that does just some canvas morphs and spits out a gif qualifies as a project for my portfolio?
>>
>>55176859
Spruce it up with a user interface and give it some insufferable normie name like "Glorphy" and yes
>>
Do you think qz.com has a good design? Yes, the content is huge, but I think that those big headlines really capture your attention. It is kind of weird not to see the usual 120 articles in a viewport, but now I actually pay attention to every post they feed me with, while I usually just scan through stuff on other news sites.

Fuck, why can't I speak passionately about this anywhere on 4chan?
>>
>>55176945
One of those sites that might win a Webby for "outstanding innovation XD" but that I would never use on a regular basis for any reason
>>
>>55176945
When I scroll their top menu acts wonky. I also think their site is hard to read, skim and browse. In all honesty, I'd click away if I landed there.

But it does look pretty.
>>
>>55176982
>>55176993
What do you guys think is the best example of a good UI on a news site?

I need help with this and I've been going through SHITTONS of design articles and projects on Le Dribble and such. I lost my orientation completely, but I need to finish some design until the end of the week.
>>
>>55177065
nu.nl
tweakers.net
>>
So I've been at a new position as a back-end dev for about 2 months now, however I'm a full-stack guy so I get free reign to work on whatever I please.

Anyway, I've been working with a front-end dev and it soon became apparent that I know much more than he does. Him and I have been butting heads because he only wants to write his CSS completely from scratch every time and not use any libraries at all (I've been suggesting BassCSS), which I find to be bad practice because it's so redundant.

His CSS is mediocre and all over the place with inconsistent padding, margins, whitespace, etc. He insists he wants to do everything from scratch for the sake of having everything "pixel-perfect" no matter how much I try to vouch for adopting even a small library.

Furthermore, every time I take over some front-end work I get it done much faster than he does.

What do?
>>
>>55177156
Thanks for these.

It's pretty interesting, I would never design something like that, because personally, a good design and a clear layout is what captivates me. Here, there are too many single-line links I can't be bothered to read, and nothing really captures my attention. And because I'm probably in a minority, I like to see what others find the best.

Can you guys just tell me what do you think about this too?

http://www.wired.com/category/culture/

There is more content to skim, and at the moment it looks like the best from both worlds for me. Attractive headlines, good hierarchy and it doesn't feel static, there's enough variety of sizes for it be captivating.

I'm just wondering, because I'm currently stuck and don't know which way to go. I've tried different approaches but can't feel which one is right. I have to keep in mind that I don't have that much content and categories to fill all of it up, so I can't go NY Times style either. But I still want it to look like there is a lot of stuff to read.
>>
>>55177317
Well, those sites I linked are the most popular news site and most popular tech site in the Netherlands. I think people just want to reach their destination without too many distractions.
>>
>>55177395
4chan, Google and Reddit also look like shit. But they get the job done.
>>
>>55177417
4chan looks great you faggot.
>>
Form follows function.
>>
>>55176261
I made that post this morning. I gave a todo list MVC app written in the MEAN (MEME) stack, and a jQuery widget.

If you do a tutorial that walks you through building something then stuff it up on github so people can at least see that you can string some code together.
>>
>>55176924
This one knows.
>>
>>55177417
4chan isn't trying to look good. 4chan was made for people who are technical or like to think they're technical, who both prefer to use things that normies find strange and frightening. Just the fact that you needed a plugin for basic functions made all the /b/ children feel like hacker savants.

Reddit looks like complete shit for no good reason at all.
>>
File: 1394584093304.jpg (44 KB, 250x250) Image search: [Google]
1394584093304.jpg
44 KB, 250x250
>so tell me anon, have you ever worked with an outsourcing team?
>no... ?
>would you be comfortable directing and teaching an outsourcing team over the course of your employment here?
>>
>>55174915
>But really, I think I'm doing everything correctly
Everyone who gets hacked and loses passwords thinks they're doing it correctly. It's called the Dunning-Kruger effect, wiki it. tl;dr: you're too shit to even know how shit you are because you can't recognise your own mistakes, meaning your opinion on how correctly you think you're doing things means nothing.

Also the "fun" of doing it with oAuth is that you learn how to integrate your web app with third party services, which is a huge part of modern web development.

Stop trying to store passwords, it doesn't matter if you only have one user, you, you're not qualified to store sensitive information.
>>
File: layouts.jpg (3 MB, 4292x3051) Image search: [Google]
layouts.jpg
3 MB, 4292x3051
Can you guys help me choose the best from these to work on?

It's a little all over the place, sorry for that. Basically, The one with gray cards and a Stalker header is the oldest (pretty shitty), the ones with Mirror's Edge were the next big version which I dropped, and the rest of them with black header are the newest version, just different iterations.

I'm satisfied with a header (but you could tell me your opinion since nobody gave it yet), but I don't know how to approach the content layout design.
>>
>>55177790
middle one is most professional and in style imo
>>
Some asshole domainer wants thousands of dollars for a domain I want. He's hasn't been able to sell it for a decade.
>>
>>55177785
The other anon, but I think the only thing I suffer from Dunning-Kruger with is a development. I don't know if I'm made for this, but in all the fields I've seen the improvement really fast and I always see how I sucked back then. But with web, and programming in general, I have never seen any improvement whatsoever. The only thing I'm bad at, that I'm aware of, is that I write spaghetti code when I write my small occasional projects.

What do?
>>
>>55177828
Yeah, it's because it's the most usual one. I still like it, but when I asked in /gd/, the problem was that it was too different from the other pages. I like the ones with a black header more at the moment, but I'm looking at it constantly so I can't be realistic anymore.

The headers aside, what would be the best solution for the layout of the articles? Also from the middle one? This is what I was considering, it fits the amount of daily content, but then again, I don't know...
>>
>>55177830
I usually pretend to be young girl
>>
File: 12455563858522.jpg (14 KB, 251x251) Image search: [Google]
12455563858522.jpg
14 KB, 251x251
>tfw have to start at the very beginning because havent done any coding in months and forget everything
>>
>>55177635
>>55176924
>>55176660
Thanks guys, this is a big help.
>>
>>55177707
Really?
I'm fine using vanilla 4chan.
>>
>>55177840
>The only thing I'm bad at, that I'm aware of, is that I write spaghetti code when I write my small occasional projects.
>What do?

I dunno. Find a way to enjoy programming so that you do it more and get better?
>>
>>55177957
Are you a total newfag? Because most of the functions you get right now in the in-line extension didn't exist several years ago and you needed 4chanX to make things bearable.

If you were around back then and still didn't feel like you need 4chanX I'm lmaoing@your life friend
>>
File: 1433007641437.png (64 KB, 250x234) Image search: [Google]
1433007641437.png
64 KB, 250x234
>>55178006
Yea I actually manually clicked to every respond when quote preview didn't exist.
>>
>>55177282
g-guys?
>>
File: py.png (6 KB, 400x65) Image search: [Google]
py.png
6 KB, 400x65
>>55163904
>https://programming-motherfucker.com/

why do you keep linking to this when it doesn't work at all

Also, is someone here doing ruby? Rails? I just started learning, is Learning Ruby The Hard Way good start? also I have few udemy courses torrented
>>
>>55178091
You're dealing with an incompetent person. I prefer to code everything myself as well, but when you work in teams you have to ensure others can continue your work easily, which is where those frameworks come in.

But that's not your concern yet. Just focus on not getting fired for the time being.
>>
>>55178159
Ruby is piss easy and if you can fizzbuzz in any language you'll learn it in a flash. It's admittedly really nice to work with, lots of syntactic sugar.

Learning Ruby by itself will not prepare you for Rails at all, unless you have previous experience with an MVC framework.
>>
>>55178091
Who cares? You get paid either way don't you?

Or just find a new job if you don't like that one.
>>
>>55178159
Michael Hartl's tutorial for Rails is the most popular (and probably the best) one. Also, check out the similar tutorial but which focuses on creating Instagram clone (instead of Twitter). Just google Reddit Instagram Rails, there was some guy that made a post not so long ago.
>>
How long does it take to learn decent design? My work is ugly af, but I don't want to waste time learning design if it takes too long.
>>
Guise, how to code the hamburger sidebar navigation properly? I mean, I could do it, but maybe there is some tutorial for making it perfect.

I was thinking about creating that container under the top bar and making it hidden. Then when I press the hamburger, it would animate and show on top of everything. Idk.
>>
File: ruby.png (52 KB, 529x843) Image search: [Google]
ruby.png
52 KB, 529x843
>>55178206
yeah, I tried python and Ruby but ruby feels better

but people say to not even learn ruby because they teach just enough in Rails tutorials, just what you need to make web apps. Implication being everywhere literally that Rails is even easier to learn and make something in no time

>>55178223

does Michael Hearl's tutorial require any Ruby knowledge?

I have the other book.
>>
>>55178182
>you have to ensure others can continue your work easily
Well yes, that's why I care so much and why it's bugging me that he doesn't want to use any frameworks. Hell, even right now he's working on a couple of pages I had completed and is basically ripping out the classes/css from BassCSS.

>just focus on not getting fired for the time being
Yeah, I guess I shouldn't try to rock to boat yet, huh? However, I am doing really well at this job from what my supervisor says and am essentially the most senior dev on the team.

>>55178213
>Who cares?
I do, letting shit like this slide is how technical debt happens and how shitty websites launch. Also, I love this job so I'd prefer to fix the issue.
>>
>>55178298
Not really, it actually goes through Ruby basics in one of the first chapters before diving into Rails.
>>
>>55178298
Depends what you're focused on.

If you want to learn Rails, just look at resources that teach Rails and you'll get enough Ruby to get by, you need practically no Ruby at all to work with Rails. As long as you can define methods on an object you're good.

That said Rails is a huge pain in the ass to learn so get ready.
>>
>>55178351
There are usually two ways to convince people:
1. Hint something and let them come up with your idea.
2. Go over their head to the one in charge.
>>
>>55178351
just curious, how much is this dude getting paid?
>>
>>55178448
I may go with the latter, honestly. Unfortunately, I have no supervisor who is a dev so it may be a little difficult to explain this.

>>55178584
Idk, we're both salaried but he's probably in the $50 - $55k range.
>>
Do you prefer:

filename_25px.jpg
or
filename_small.jpg

?
>>
>>55166546
>Jon Duckett's Javascript&Jquery so im excited

dont read it in the bath - pages'll come straight out.
>>
File: 404.jpg (233 KB, 800x706) Image search: [Google]
404.jpg
233 KB, 800x706
How is web development?
How do you compare it with normal programming?
Should I get into it?
>>
>>55178630
>making $50k as incompetent front end dev
i think i found my calling family
>>
>>55178675
First one

>>55178722
Imagine writing a thesis in a single language on a topic you're familiar with.

Now imagine writing a series of persuasive essays in twelve different languages, some of which you'd never heard of before the first day of the job.

Decide for yourself.
>>
>>55178848
but that's not true lol, you need like JavaScript, Ruby, that's about it for the languages. HTML and CSS and what else?
>>
>>55178848
which one is getting paid more?
>>
>>55178848
>Now imagine writing a series of persuasive essays in twelve different languages, some of which you'd never heard of before the first day of the job.

This is pretty much what is driving me away form webdev, the fact that there are so fucking many languages and frameworks around it.
>>
>>55178926
Guess how i know you've never had a real job in the industry?

>>55178938
Depends on a dozen different factors

>>55178946
It's not for everyone. You can see why /dpt/ hates it because the sheer number of technologies operating on a single major website (20+ on average) drives their autism up the wall. But webdev and mobile dev are arguably the most visible facets of modern programming and there's more money to be made in it every day. So it's up to you.
>>
>>55175129
http://sparkjava.com/
>>
Is true parallel programming available for JS or Node yet?
>>
File: 1464482424820.gif (930 KB, 200x133) Image search: [Google]
1464482424820.gif
930 KB, 200x133
>>55178848
>Imagine writing a thesis in a single language on a topic you're familiar with.

I do that.

Because I'm good at Javascript, and I can use it on the frontend and the backend with Node, and write noSQL map/reduce functions in CouchDB.

Javascript is the only truly full-stack language. A powerful and expressive multi-paradigm programming language.

If you are shit at Javascript, or you don't like it for whatever irrational reason, you should get over it and come over to the light.
>>
>>55179082
Then consider yourself lucky that you don't work at a place that requires you to work seamlessly across a dozen technologies running concurrently on a single site. I agree that this is the way things should be done, but don't delude anyone into thinking this will be a commonplace professional work environment.
>>
File: BypEiuDIEAAOPR5.jpg (26 KB, 600x337) Image search: [Google]
BypEiuDIEAAOPR5.jpg
26 KB, 600x337
>>55178993
>he's actually proud of being a code monkey

can't make this shit up
>>
>>55179158
I work for a small company and they adopted node quite early. I guess its harder if you have dozens/hundreds of developers who are all good at different things, you're going to end up with a product that is made from many different components.
>>
whats a day at work like for employed web devs? sit in an office all day and type code?
>>
Any good books to read? What are you guys reading?
>>
>>55179074
you can run a node instance on each core of your cpu
>>
File: pBE5sWt.jpg (601 KB, 2000x3000) Image search: [Google]
pBE5sWt.jpg
601 KB, 2000x3000
>>55179280
sure:

-Learn Ruby The Hard Way
-Learn to PRogram
-Computer science: Programming Basics in Ruby
-Programming Ruby

you can find them all here http://it-ebooks.info/
>>
did anyone here go through FreeCodeCamp or TheOdinProject? I'm leaning toward TOP
>>
While making a catalog of items in different languages, is it best for me to just create a mew table with the translation of the posta?
>>
>>55179375
I dunno I've never done i18n stuff, but it sounds like a ballache.

https://www.youtube.com/watch?v=0j74jcxSunY
>>
>>55179189
Are you happy being an unpaid NEET weeaboo?
>>
i love web dev but hate working in teams, am i fucked

its probably due to these retards thinking theybare gonna be all set if they just study to get As instead of treating college as an intro and you should self study stuff

sigh
>>
>>55177790
I think I'm gonna get a mental breakdown soon because of this.
>>
>>55178946
Yeah.

Finding a job with my skillset is like trying to find a piece for puzzle B to fit the last spot in puzzle A.
>>
>>55179687
So you don't like working in groups in an education setting. Why do you think that would matter in work?

Nothing else you do in school has any bearing on the real world, so why should this?
>>
>>55179855
Nobody
cares
about
your
stupid
font.
You
autist

You're bikeshedding right now.
https://en.wikipedia.org/wiki/Law_of_triviality

You're faffing around with irrelevant cosmetic details that don't matter instead of actually building something that fucking works.

When you've got a working application, you can fuck around with the presentation layer to your hearts content.

Just fucking make it work. That's the important part, that's the part that's hard, and difficult to change. The font you can change every day if you want to.

Or fuck off to >>>/gd/ and ask some designcucks about your stupid fonts, and carry on going around in circles and never accomplish anything because you burned yourself out on stupid shit that doesn't matter instead of actually solving some real problems.
>>
Security questions here:

I have a function that triggers on click to delete a message, I pass an ID to it like so:
<button class="delete_btn" onclick="deleteMessage(30)">Remove</button>

But this is no good.

So I've tried this:
<input type="hidden" value="<?= $message_id ?>">

This too is problematic. Even inside the form with a hidden input the value can still be changed.

How? Once you inspect the page you can easily get the ID of the message and change it then click the button or submit the form, thus causing the script to delete the message.

My workaround: Before deleting the message run a check to ensure that the person deleting it is actually the owner of the message. If they aren't throw an error message.
My question is this, is there a way to secure this all without revealing the ID to the user?
>>
>>55180060
First, I didn't even ask about fonts. I was asking about content layout, and that is relevant to this thread.

Second, I already have a thread on /gd/ too.

Third, the website is working. Now I need to make it presentable. This is not made in Le Photoshop
>>
>>55180150
>>55180060
But other than that, I'll admit that was probably what I needed to hear, since I am still killing myself over it too much. So thanks for that I guess.
>>
File: CYBERHACKING.png (430 KB, 1024x540) Image search: [Google]
CYBERHACKING.png
430 KB, 1024x540
So I'm trying to work something out, wonder if you guys could help.

I have enough knowledge of HTML and CSS to make a pretty nice looking site, however I'm no designer.

I have very little JavaScript knowledge, however know a lot of programming concepts from Python/C.

I'm currently learning C for the purpose of knowing a more advanced/hands-on language, and am hoping to end up in game development.

Here's the thing: there's a shitload more web jobs than C and game jobs in my area. My school is doing web shit this yeah, but we're doing HTML/CSS/PHP not JS/node/rails or whatever.

Would I be wise to spend more of my free time learning JavaScript and other web languages, along with solidifying my HTML/CSS knowledge, rather than focusing on learning C? Reckon it's possible for me to learn both at once without getting overwhelmed?

End goal if possible: Have a stable and enjoyable job that I'm qualified for before I finish school/gap year so that I don't have to shell out for Uni to do something with my life.
>>
>>55180124
One of the principals of security are that if your security depends on secrecy, then its not really secure.

You should be able to expose the the message ID to the user, and have it not matter, because your authentication an authorisation won't let a user fuck around with stuff they're not supposed to be fucking around with.

So yeah, you do it on the server side by checking the user's permissions before letting them do something to your database. Don't do anything important on the client side, since that is effectively in enemy hands.
>>
>>55180193
> I don't have to shell out for Uni to do something with my life

wew lad, how you expect to get a job without a Bachelors...especially in an impacted industry such as web development.

Get your shit together and go to school, BS is the new Highschool diploma

That said, do webdev with a Java stack. You heard me. Non-pajeet java please. HTML/CSS for frontend, Java with hibernate/spring for backend.

Java will teach you the OOP concepts that you need for game development
>>
>>55179082
>or you don't like it for whatever irrational reason
I use it, but there are a shitload of rational reasons to not like javascript. It's unrealistic to expect a language thrown together in a few weeks to not be lacking.
>>
>>55180268
This guy is trolling, don't listen to him.
>>
>>55180432
Yeah I wasn't too sure, thanks.

I'm not saying I'm going to abandon my future and not consider university, just I want to have some of these skills anyway. At the very least, would help with getting part time work.
>>
>>55180449
University is for poor people who like debt.
>>
>>55180681
Oh, you're a clever one
>>
>>55180449
>>55180432
To be honest, I'm not sure if he knew he was trolling, but I've never heard anyone say anything like that about web development.
>>
>>55180218
Yeah, thanks. I figured that much because I send everything to the back end for validation. I was just fishing for potentially better ways of doing it.
>>
File: 912931923812.png (83 KB, 214x225) Image search: [Google]
912931923812.png
83 KB, 214x225
>>55163904
I just implemented the history API for the first time on a website along with jQuery ajax. Does this look retarded?

 
var History = {
main: $('main'),

initData: {
dir: document.body.className,
href: window.location.href,
title: document.title
},

init: function() {
History.cache();
history.replaceState(History.initData, null, null);

window.addEventListener('popstate', function(e) {
History.ajax(e.state.dir, e.state.href, e.state.title);
});
},

cache: function() {
var links = document.querySelectorAll('.nav');

for (var i = 0; i < links.length; i++) {
links[i].addEventListener('click', History.click );
}
},

click: function(e) {
var self = this;
var data = {
dir: self.getAttribute('data-dir'),
href: self.getAttribute('href'),
title: self.getAttribute('title')
};

if (data.dir !== document.body.className) {
history.pushState(data, null, data.href);
History.ajax(data.dir, data.href, data.title);
}

e.preventDefault();
e.stopPropagation();
},

ajax: function(dir, href, title) {
document.body.className = dir;
document.title = title;

History.main.load(href + ' #content', null, function() {
History.cache();
});
}
};
>>
File: 1466466434325.jpg (30 KB, 398x398) Image search: [Google]
1466466434325.jpg
30 KB, 398x398
I've got a client I'm making a new wordpress site for. It has a membership system. The client is a group of old men who are incredibly paranoid about evil hackers stealing personal info, and want next to no member information stored in the database.

This would be understandable if they weren't also saying I couldn't store member EMAIL ADDRESSES in the db. How do I convince them that's a bad idea? I tried to tell them it would leave us without an automated way to change passwords but I'm not sure they fully understood/cared
>>
>>55180998
Encrypt everything in the db.

2EZ
>>
>>55181046
I already told them we were doing that. They didn't think it was good enough.

Which is funny because currently they have all their membership info sitting in an unencrypted excel file on one of their hard drives.
>>
>>55181071
Did you explain "if they have access to the db to unencrypt even a single username then they already own the ENTIRE server"
>>
I have just spent like 30+ minutes (maybe even an hour, who knows) trying to figure out why my dropdown menu wont show up when I click the checkbox.

Turned out that I was using "~" the wrong way, so I just repositioned the navigation before the checkbox in html and it worked.

WHY THE FUCK AM I SO RETARDED AND ALWAYS THINK THE PROBLEM IS WITH SOMETHING ELSE INSTEAD OF PROPERLY GOOGLING SHIT.

FML, this field is not for me.
>>
>>55181106
I'm not sure they care about or understand that part. They're just extremely focused about not storing any personal info.

At this point I've given up on trying to get them to move their entire membership table to a database instead of an excel file, I just want to store emails for people who create accounts.
>>
>>55181155
>FML, this field is not for me.

Correct, I'm happy you've thought rationally about this situation. If you're having trouble with basic HTML, you'll get fucked if you ever decide to learn some backend shit.
>>
>>55181275
I don't know, CSS for some reason always fucked me more t b h. I know PHP and some Rails and Node. Pretty weird.
>>
>>55179321
these are shitty Ruby books that will not prepare you for how Ruby is used in web development. The pick axe book is way overrated and convoluted, Zed Shaw's hard way series are mind dumbing and dumbed down to retard level, made popular only because Zed spammed the internet with it.

The two Ruby books that will prepare you for anything are 'Eloquent Javascript' and 'The Well Grounded Rubyist'
>>
File: nPY6Pzh.gif (3 MB, 600x337) Image search: [Google]
nPY6Pzh.gif
3 MB, 600x337
>>55166619
I respect that but this sounds more like a post to put on reddit.

>>55166409
focus up or lose a project. you will drown.

>>55167189
This fucking guy.
>>
Hey what do you guys think of this project I'm working on? Its a simple utility meant to cycle through fonts for elements on a page (to find the best looking font)
http://codepen.io/mattConn/pen/KMgQZG
>>
>>55181328
I have to agree, css always kicked my ass and I'm constantly learning. Basically, you play by the rules of the dom or not at all; I think its very rigid.
>>
Got an interview tomorrow. Why do they want to parade me in front of half the fucking engineering team? Who does this shit?
>>
>>55181652
They're doing it to make sure you're 1) competent and 2) you're not an autist.
>>
-- static/
---- css/
---- js/
---- img/
-- resources/
---- model/
------ User.php
------ etc...
---- dao.php
index.php
etc..


Does this way to structure a framework-less php project make sense to you? Basically I want to have all the views in the root folder and the backend code in the resources folder.
>>
>>55181652
because the only valid metric is going to be wether you are pleseant to work with or not
>>
>>55181775
Three interviewers in each interview is too many. Just my opinion though.
>>
>>55181778
Why so many files and folder for a personal home page circa 1995?
>>
>>55181828
It's for my PHP class in college. I'm simply more-or-less rewriting this (https://github.com/Nicci00/flask-vids) I did a while ago in plain PHP. I'd rather work with python but it's for the class assgiment after all.
>>
>>55181852
>PHP class
is it a community college
>>
>>55181864
"community college" would be the closest name, I'm not american.
>>
>>55181821
I know. I had a phone interview a few days ago and it was 2 women from the IT department (yeah, their head of IT is a woman) at a bank and I was nervous as fuck. Here's the kicker, it was over the phone and I was still nervous.
- Turns out they were only offering a 2 year internship. Fuck that.

I have social anxiety tho, so you'll most likely do better in front of a panel than I did over the phone. I don't know how the fuck I'm going to get a job with social anxiety, I graduate college in a matter of weeks and I'm basically fucked.
>>
>>55181922
I'm mostly worried about whiteboarding in front of three people. I'll kill the other interviews.

It's a senior position and everyone interviewing me has at least twice my experience, if not 4 or 5 times as much. Should be fun.
>>
>>55181922
Same.

>>55181883
Maaan, I had 2 PHP classes. The first one was about all the basic syntax and OOP and the second one just added databases on top of it (the rest was copy paste from the first one). The hardest thing we had to do was select and show people info in db in a table, and process input data by some basic function.

There is no way it can be worse than this. I actually got a hardcore depression because of this shitty uni. I'm finishing bachelors and I probably don't even know how little I know. I am probably way too behind to succeed in this industry.
>>
>>55166546
>send JSON files since i dont have a server
node.js
>>
>>55182020
Mine is the same but more compressed into a single semester. I'm not depressed because it's easy and I never had high hopes on this "professional institutes" anyways.
>>
>>55181491
>this sounds more like a post to put on reddit.
I was responding to a question.
>>
>>55177282
>using frameworks

hi pajeet
>>
how do you have a toolbar start half-way down the page then when you scroll down stay fixed at the top of the page
>>
>>55182747
post an example of whatever you're trying to explain.
>>
>>55182747
Try this: https://codepen.io/adammacias/pen/WvxVRP
>>
>>55182815
what the other guy posted, yeah
>>55182826
thanks
>>
hi /wdg/, I was wondering if I could have some quick help. I am wondering how you would make an browser extension that modifies a certain element on a page based on its id?
>>
What do you guys think about functional programming?
>>
>>55183247
Absolutely love it.
>>
>>55174504
But with Bash coming to Windows, would it still matter on my case that I still keep to Ubuntu?
>>
>>55182929
Make a userscript, get the element by its ID, modify it?

>>55183247
Pretty great. I want to start using elm (basically monad-free haskell that compiles to js and uses functional-reactive programming for user interfaces).
>>
>>55180432
>>55180449
>>55180712

>I've never heard of any java web frameworks so this guy must be wrong

wew lad....you some stupid mofos

He's not wrong...although I would've just said "don't do web dev if you want to do game development", completely different fields although both are coding
>>
>>55174504
>>55183263
Also I could just use a Virtual Machine right?
>>
How do I reset a constructor in JS?
data = new FormData();

I have that in my code, but it's causing problems if I don't reset it by removing all the data.
>>
>>55183270
sorry I'm fucking retarded. What I meant was how do I use the value of the href to open a new tab (its stupid why I have to do this don't ask).
>>
>>55183675

add an attribute target="_blank" ?
>>
>>55183750
I need to store the variable for later use. Let me give you the rundown and why I am confused. I am making an extension that automatically gathers the href value for a download button and then when an event is triggered it opens a tab with the href value. I'm kinda new to JS so I am just trying to figure out how to make a button that triggers the event. (this is an extension).
>>
I detest frontend stuff so much, but need a job so badly, I think I'll just sell wordpress sites.
>>
>>55176394
ES6 template strings a few simple tag/utility functions. The main part:
// Template string tag function for HTML. Strips indentation and trailing
// newlines. Based on https://gist.github.com/zenparsing/5dffde82d9acef19e43c
export function parseHTML(callSite: string[], ...args: string[]): string {
let output = callSite[0]
for (let i = 1; i <= args.length; i++) {
output += args[i - 1] + callSite[i]
}

// Strip indentation and remove empty lines from HTML string
return output.replace(/\s*\n\s*/g, '')
}

export type ElementAttributes = {[key: string]: string}

// Generate an HTML element attribute list. If a key has an empty string, it's
// value will be considered "true"
export function parseAttributes(attrs: ElementAttributes): string {
let html = ''
for (let key in attrs) {
html += ' ' + key
const val = attrs[key]
if (val) {
html += `="${val}"`
}
}
return html
}
>>
What's a quick and dirty way to get into designing a website FAST?
Lots of things changed since I last tried to do something of this sort, but I've had decent experience in the mid 00's and would like to learn the ropes asap.
>>
>>55175358
Nginx
>>
>>55183358
Oh no, the Java part wasn't totally wrong, the industry still uses a shitload of Java. It might still be the most-used language for server backends. I was mostly talking about the "BS is the new Highschool diploma" thing.
>>
Where can I start looking for clients as a freelance?
(Just the general idea will suffice)
>>
I'm a front-end developer at a small company and our designer always sends me these designs with inconsistent margins and paddings for seemingly same elements (page header, search box, etc). Almost everything there is inconsistent across pages.

But tester always says to make page look pixel-perfect, they even check if everything matches, So I end up with fuckton of useless styles like .about-page .page-title { margin-bottom: 34px; } and .contact-page .page-title { margin-bottom: 37px; }

Is it my or designers fault? What do?
>>
Anyone know an answer to this:
>>55185747
>>
>>55185780

In our company, we don't even follow the designer's mockup pixel by pixel as long as we get the concept of the designer. The user wouldn't even know the margin-left and margin-right is off by 3px unless the user is the QA (or it would affect the responsiveness).
>>
>>55185780
are you honestly expected to follow the designers mockup to a tee?
>>
>>55185905
Yeah, I've been trying to tell them that making page pixel perfect leads to way more unnecessary work / classes / ghettofixes and I get the usual answer "designer will try harder next time... but pixel-perfect has to stay"

Surprise, surprise - the next design is even more inconsistent than the previous one
>>
>>55185949
Not him but most places I know of expect you to because of the "pixel-perfect" meme and I've heard of designers that measure the site with tools and throw massive babbyfits if something is 1px off.
>>
>>55185977
>designer will try harder next time

How fucking hard can it be to line up two elements in a templating program
>>
File: css.png (5 KB, 202x202) Image search: [Google]
css.png
5 KB, 202x202
>>55178159

>Also, is someone here doing ruby? Rails?

You could use Rails with little knowledge of Ruby, but it would be a shame..

Learning Ruby is a good idea, because it's an intriguing, well designed language and has a lot of interesting concepts (stuff from LISP, Python, Perl and Smalltalk).
Also it's a pretty cool language for scripting!
For example the I/O is pretty neat..

Good resources for Ruby are:
-Ruby Monks (a pretty nice online course, inspired by "Perl monks")
-Ruby Koans (the source is on github, but you have to search a little bit because some repositories are broken)


Now to the second part of your question:

Yes, Rails is the "Killer App" that made Ruby famous. It is very versatile, complex on the inside and you can devellop VERY fast if you mastered it. But be aware that while it's easy to "get things done" in Rails, it's a long way to really master it. IMHO longer than learning the LAMP stack or getting decent at PHP.

Rails makes strong use of many of Ruby's features and there's a lot of "Ruby Magic" happening behind the scenes.

Also there are many Ruby Frameworks that might be a better Option in some scenarios and are definately worth a look, let alone for speed reasons. If you want a "big" Rails site, caching and maybe a load balancing server are often madatory..


So what I would suggest is:
-Learn Ruby for at least two weeks
-Start with a small Ruby framework like "NanoC", it's tiny and easy to handle
-Learn the Rack Webserver interface
-Maybe look at Sinatra
-Rails

This will definately be no waste of time, since Rack is "used by" Rails and you could use Rails to control the NanoC framework. Sinatra and Rails are not used together but it's probably good to know both (at least a littel bit). But you can add Sinatra later.

Additional stuff you will need to learn:
-Rake (it's similar to "make" for C)
-RSpec and/or Cucumber (similar to JUnit for Java)

As you see, the journey is long!

But Ruby and Rails are cool..
>>
File: 129282377231.png (93 KB, 250x236) Image search: [Google]
129282377231.png
93 KB, 250x236
Has anyone any experience doing multilingual sites in Wordpress, or in general?
>>
>>55186430
Yeah, I've heard WPML plugin is great but it's premium, so never really used it.

Now I tend to use Polylang for most of my projects
>>
>>55186428

>longer than learning the LAMP stack or getting decent at PHP

Hah, stupid me..

I meant: "it will probably take longer than learning the LAMP stack or getting decent at Python/Django."

What I wanted to say is many people see that you can devellop fast with Rails and that Rails is in demand.

But if you're only in it for the quick buck, other languages are definately a better option.
Going through a tutorial and putting up a example social network site is one thing. But eventually you will face problems if you didn't take the time to really understand Rails as well as the Ruby language.

I'm not saying you shouldn't learn Ruby/Rails, but don't have wrong expectations: Ruby looks easy but it really isn't.

Personally I have enjoyed learning it and wouldn't want to miss it. But many people prefer the explicitness of Python or the simplicity of PHP and I can't blame them. Ruby is not for everyone, but for some people it's a fantastic language.
>>
File: oop.png (152 KB, 1948x858) Image search: [Google]
oop.png
152 KB, 1948x858
>>55180268
>wew lad, how you expect to get a job without a Bachelors...especially in an impacted industry such as web development.

I got one without a degree, so do plenty of other people. Because CS degrees don't actually teach you any practical skills that are applicable to the real world. If you can fizzbuzz (and many CS graduates can't) then you can get through a technical interview and get a job ez.

Someone who has been programming games in their bedroom for the same amount of time as you've been doing your degree amassing debt will be able to get a job just fine. Nobody gives a shit if you have a degree, only that you have the skills they need.

The only thing university might give you access to is networking and corporate recruiters trying to scoop up some keyboard monkeys who know Java. If that's your thing then have fun, I prefer working for smaller companies. But after you've gotten your first job, you can easily get another and nobody gives a shit about your education, you just have to be able to fizzbuzz your way through an interview.

Also lmao java, OOP, the college memes keep rolling. OOP is the most pajeet programming paradigm available, even Java themselves are trying to integrate more functional elements like lambda expressions.
>>
Best way to compare a css file against a html file to check for unused styles?
>>
>>55187213
http://lmgtfy.com/?q=Best+way+to+compare+a+css+file+against+a+html+file+to+check+for+unused+styles%3F
Thread replies: 255
Thread images: 35

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.