[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: 331
Thread images: 28

File: 5.png (868KB, 822x552px) Image search: [Google]
5.png
868KB, 822x552px
Previous thread >>58868490
>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.wikipedia.org/wiki/Comparison_of_web_application_frameworks
https://gist.github.com/dypsilon/5819528

>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
http://pastebin.com/AL6j7GEE

>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
>>
I just can't get it done folks, I can't get my jQuery to load into my HTML code. I've tried everything and I am at my wit's end.
>>
>>58934044
>I'm the anon from last night (we both had interviews) let us know how it goes for you dude.


It went GOOD. Their CTO was out sick, so I talked to him over the phone. He asked me what a class was, then asked "If I gave you a normal sentence, how would you print it out backwards?"

I said without a second of thought "I'd explode by the space, put it into an array and print out the reversed array"

He said "Alright, I think that's all I need, I got enough info"

The CEO said the interview went really well and that he would discuss wages with the CTO once I left and call me in a few hours.
>>
>>58934803
I'm worried the CTO didn't like my answer for class though. I couldn't think of what to say and said "It's like a block of code that you reference elsewhere."

He said "Like a function?" I said "It has functions, or methods"

I probably sounded retarded on that question, but I said I mainly use objects only in javascript because I use procedural for PHP since I mainly use it for APIs.

I'm nervous. It all rests with the CTO now.
>>
>>58934782
Try putting your jquery and other js script above the closing </body> tag, your scripts are probably being run before DOM gets rendered so you're getting undefined all over the place...
>>
>>58934935
That was actually it, holy shit anon I have been at it for more than an hour. Cheers lad, I owe you a beer.
>>
>>58935095
np
>>
>>58935095
That problem fucks everyone up the first time they use jquery.

I never write script in the head anymore because of the paranoia.
>>
File: crying on the inside.jpg (66KB, 960x638px) Image search: [Google]
crying on the inside.jpg
66KB, 960x638px
>>58935294
>mfw I completed my first rite of passa
>>
File: 1*nEqOfQzwmVXIVdNmCS-B7g.gif (3MB, 1000x746px) Image search: [Google]
1*nEqOfQzwmVXIVdNmCS-B7g.gif
3MB, 1000x746px
For people interested in Angular 2 and Ruby on Rails

> https://medium.com/@avatsaev/angular-2-and-ruby-on-rails-user-authentication-fde230ddaed8#.bbeq7fn3e
>>
I got the job!!! I got the job!
>>
>>58935759
Next time make a webm for fuck's sake.
>>
>>58934842
Dang I didn't get ANY technical questions. The three interviewers weren't technical at all. had a woman from HR there, a guy from IT (I don't know why he was there honestly), and a guy that was shadowing the HR woman?

We talked about standard interview stuff and I think really nailed it.

They either already found the guy they want or I think I got a good shot.

I hope we both get it man. I'm pulling for you.
>>
I'm building my first MEAN application. Any good recs on a middleware module to get json objects from the mongo database into my app?
>>
>>58935964
model the data with mongoose and make an API with express. at least that's how I did it when last I touched that stack.
>>
>>58935851
congrats !

>>58935964
I agree with >>58936031
>>
>>58935851
Congrats anon We knew you could do it!
>>
spent a good share of my free time in the last week writing a homepage / startpage as a chrome extension mostly in javascript / reactjs and bootstrap because fuck writing my own css

I... don't really like javascript
>>
>>58937297
99% of webdev when you start off is hating what you do.
>>
Is there any good online cloud based IDEs? I plan on starting to learn some front end shit and I only really use a chromebook for my every day needs.

Also, anybody ever tried team treehouse? I love the aspect of them using videos to teach, as I have a short attention span and like learning through videos. inb4 just use youtube
>>
>>58937447
i liked cloud9 from my experience.

It's free tier seems good for most 1 person projects.
>>
>>58937447
cloud9 is pretty nice
>>
Help. I'm doing a freelance gig for $1600 and the project's killing me. It' all handcoded and the guy wants to add new shit all the fucking time, throwing days, sometimes weeks of hard work out the door. He doesn't understand that adding something theoretically simple piles up more fucking work that causes other shit to be barely functional. Since it's my first one and I needed a job, I really can't budge on payment and if I drop him, I look incredibly bad and my abysmally low chances of getting employed to a real job go down to nothing. I've been looking for the last week or so, but I'm assuming that it's going to be like last time.

How do you manage freelance gigs, because this project's going to be a smoldering wreck once it crosses the finish line.
>>
>>58937953
You should've made a document/contract with all the things you will implement, make him sign it and then when he asks for extra stuff you charge him (if you judge necessary) extra because that was not on the contract. This is how things work in the firm I work at. Is there any way you can adopt something like this with this client somehow? You could try to wrap everything in a big document, ask him if it's okay and anything added after that will be charged extra.

A contract is one of the most important things you should get. You might think that since you're doing amateur work you don't need one, but that's when you most need one.
>>
>>58937953
I'm not even a dev, but I've read that freelancers set up a system to where you only allow the client to request up to so many changes, like five or so.
>>
>>58935851
congratulations! what degree do you have? or did they get you only on the merit of experience?
>>
File: maxresdefault.jpg (39KB, 1280x720px) Image search: [Google]
maxresdefault.jpg
39KB, 1280x720px
>>58938794
I have no degree.

I got very lucky. The CEO said "My best programmers never have a CS degree" and he's been in the business for 30 years.

The coding test was a joke too. 2 questions any one of you could answer.

1 year of searching? Done.

Thanks guys
>>
>>58938794
Also I had no work experience. I came in from retail.

So no degree and no work experience.
>>
>>58935487
I think derailed interviews are a good sign. It means they like you.

I was probably a shoe-in. They barely tested me at all. Knowing how to reverse an array is hardly web development. My interview was not as professional as yours. It was the CEO and his daughter in the room. I did the thing listeners do where they ask a question that will get the other person talking for about 30 minutes straight so I could just nod and smile.

Good luck! Let us know when you hear back, but it sounds like you had a good interview.
>>
>>58939095
What were the questions anon? And congratulations too!
>>
>>58939095
what are those 2 questions senpai ?
>>
>>58939581
>>58939582

>What is a class?
>If I give you a sentence like "Bob goes to the store", how would you take it and print out the sentence in reverse?

He also asked what my favorite languages were.

and thanks, man.
>>
>>58939734

>What is a class?
a block of students ?

>If I give you a sentence like "Bob goes to the store", how would you take it and print out the sentence in reverse?
how in reverse ? reverse as in 1 2 3 4 then becomes 4 3 2 1 ? or per character like 12 23 34 becomes 43 32 21 ?
>>
>>58939734

That's all he asked you? What kind of job did you apply for. Any guy off the street can answer those questions. No offense.
>>
File: thumb.png (234KB, 341x341px) Image search: [Google]
thumb.png
234KB, 341x341px
>>58939859
>a block of students
>web dev question

kek
>>
>>58939901
Well he said they were easy and anyone could answer them.

I honestly couldn't answer the favorite language to be honest. I don't have enough experience with any of them to have a favorite. I'd say php though to sound like a good boy.
>>
>>58939901
It's a web developer job. I add client requests to the already developed framework.

>>58939859
:^) If serious I can answer.
>>
>>58939949
I was the same way. I said I loved javascript but I can't love javascript without PHP as the backend so I love them both.
>>
>>58940607
you traitor. how could you love both when you only have 1 heart to fill ?
>>
What are your thoughts on CoffeeScript, /wdg/?
>>
>>58940852
>CoffeeScript
dang coffescript is so 2015 anon. just learn es6 + babel transpiler webpack
>>
>>58937953
Fuck that client and his "build-as-you-go-along" mentality. Idiot is just too stupid to understand that he needs to plan the things he "EXACTLY" wanted before you do the rest. Fuck 'em
>>
>>58941254
It's even worse when you do web design. I prefer webdev, but I do some designing on the side and sometimes clients drive me nuts. Yesterday they called to ask for the logo to be "a bit more to the left". 3 days ago they wanted it "a bit more to the right" (so now it's back to where it originally was). Site owners should AT LEAST know HTML, and then add some simple custom CSS.
>>
>>58941340
I've had my fair share of "drill-bit clients" too.

>They:Make the button a little bit smaller
>Me: Here ya go
>They:Pls make it a little bit more smaller
>Me: Here ya go...
>They: Just make it "EVEN MOAR LITTLE BIT!"

See? All that bullshit misleading bullshit...
>More
>little
>even more
>even more little

Castrate em! If I could only charge them everytime they make a goddamn stupid revision I'm probably richer than Zuck the Cuck....

But I'm an employee under contract... shit!
Time for greener pastures!
>>
Back when /wdg/ started we tried to figure out some cool project we could work on for giggles, I had to go away for a few months but did the idea end up sitting next to lo/g/os?
>>
>>58935851
>>
>>58937392
i just started and im just making shitpost sites for the keks
>>
>>58941623
lo/g/os ? I think that's the project for /g/eneral or /dpt/, idk.
>>
>>58940852
They fixed it, added a bit of Haskell and called it LiveScript.
http://livescript.net/
>>
>>58940701
Haven't you heard? Open relationships are all the rage.
>>
>>58941623
No. Literally no one wanted the same backend.
>>
>>58943368
>>>/slatestarcodex/
>>
File: 1478834581245.gif (1MB, 785x757px) Image search: [Google]
1478834581245.gif
1MB, 785x757px
why are cunts all over the internet recommend "learnyounode" for learning node.js? it is the most useless retarded shit i have ever seen. even the name is retarded, as it should be 'teachyounode'. are all node users this autistic?
>>
>>58942805
>still using for loops for iterating thru arrays
.map() is still THE fastest method to iterate thru arrays in JavaScript
no thanks, shit transpiler
>>
>>58943951
>.map() is still THE fastest method to iterate thru arrays in JavaScript
Depends on what you want to do. For example, you can't break out of a map function early.
>>
>>58943951
>.map() is still THE fastest
That's surprising, but then again, every method's performance is of the same order of magnitude.

https://jsperf.com/native-map-versus-array-looping
>>
Everyone always memes about how the constant churning of new frameworks in cancerous, but as a complete novice I wonder..

How long should it take someone with a 120ish i.q. to learn a new framework, assuming that they are already familiar with full stack web dev?
>>
>>58943951
>>58944920
Just tested it. The for loop is faster in IE, Edge and iOS Safari/Chrome. In fact it's 10x faster on iOS.
>>
FRIENDSHIP HAS ENDED WITH REACT

NOW VUE IS BEST FRIEND
>>
File: ff51.png (16KB, 960x422px) Image search: [Google]
ff51.png
16KB, 960x422px
>>58945045
>my whole life has been a lie

>>58944846
Obviously, but I said 'iterating thru arrays' specifically for that reason
>>
>>58945288
Yeah, I get roughly the same proportions in FF.
>>
>>58945045
how many times did you run it?
>>
If you aren't using lodash in your json intensive apps, you're doing it wrong
>>
Lads, can anyone please help me.
How is this kind of gallery called?
I know the grid is masonry, but the function where after clicking on the post, it shows up on top, rather than on a lightbox.

Example: http://strautniekas.com/
>>
>>58945632
I ran it in IE and Edge three times and in Safari and iOS Chrome twice. The benchmark itself averages the result over many iterations, though.
>>
https://vuematerial.github.io/#/components/avatar
or
https://vuetifyjs.com/components/alerts

/g/?
>>
>>58945658
I prefer to use http://ramdajs.com/ or http://www.preludels.com/.
>>
>>58945698
Don't think there's a name for it but it's basically just a div at the top with changing content based on what's clicked, not that hard to implement man.
>>
>>58944963
Learning to the point of "Hey! I could be employed with this...", about a month or two. Learning the absolute basics will take much less time.
>>
>>58945940
website im working on is a fled theme. i can probably so that in like 2-3 but am looking for a plugin or smth that will takw me 10mins
>>
>>58945715
Honestly I'd stay away from anything that has material in its name because of prior experience.

On an off note, I dont get the whole vue fad. As an Angular dev I see this as the same old shit just like everything else. Also, the difficult non typescript configuration. What is this even
>>
>>58945840
More memes.
I wish I could just write haskell instead of meme libraries
>>
File: 1486080518871.jpg (52KB, 350x443px) Image search: [Google]
1486080518871.jpg
52KB, 350x443px
>>58946053

Thanks, was wondering how professionals deal with this constantly increasing learning curve.

How long would it take to learn enough development skills to start charging for freelance web pages/apps?

How long would it take to get employed at an agency?

I would like to create a career as a web dev, with the goal of being a competent full-stack developer. Long term goal I would like to be involved mostly with the design/UI/UX aspects and have my own business. I'll be finishing a degree in design over the next few years.
>>
>>58946213
1) Around 3 finished projects, could be two. I mean finished and when I say projects I don't mean code exercises but stuff someone actually paid for.

2) What kind of a fucking difference should there be. Do you think freelance shit is somehow more lax?
>>
>>58946196
You can, or will soon be able to, write PureScript, which is pretty much Haskell.
>>
>>58935294
Can't you just make the script run when everything has loaded? Can't remember the syntax off the top of my head.
>>
>>58946171
Ease of use. I've been pulling my hear with react, but vue just fucking works.
>>
>>58945840
probably the same thing I'm guessing. The basic principle being that you can avoid writing loops
>>
Hey guys, I'm having trouble creating a method for getting an object from an Observable array in Angular 2 by ID.

I can do it directly from the list:

ngOnInit(): void {
this.routeSubscription = this.activatedRoute.params.subscribe(
(param: any) => {
this.gymServiceSubscription = this.gymService.getGyms().subscribe(
(gyms: Gym[]) => {
let id = parseInt(param['id']);
this.gym = gyms.find((gym: Gym) => gym.id === id);
}
)
}
);
}


But how can I implement a getGym(id) method in the service and include it in the above code? My service looks like this:

export class GymService extends BaseService {

private gyms = new ReplaySubject<Gym[]>(1);

constructor(protected http: Http, protected httpConstants: HttpConstants) {
super(http, httpConstants);
this.getAllGymsFromBackEnd();
}

getAllGymsFromBackEnd() {
super.get(this.httpConstants.gymsUrl).subscribe(
(data: Response) => {
let tmp: Gym[] = [];

for (let gymObject of data['gyms']) {
tmp.push(<Gym>gymObject);
}

this.gyms.next(tmp);
}
);
}

getGyms(): Observable<Gym[]> {
return this.gyms.asObservable();
}

getGym(id: number) {
return this.getGyms().subscribe(
gyms => {
return gyms.find(gym => gym.id === id);
}
)
}
}


the getGym method is just some random code I tinkered with.

Any help would be appreciated.
>>
holy shit people actually use react. I'm fucking done.
>>
>>58946706
Now you just have to get things smart.
>>
>>58946706

What's the matter, too hard for you, JQuery cuccboi?
>>
>>58946612

Nevermind, fixed it:

getGym(id: number): Observable<Gym> {
return this.getGyms().map(
gyms => gyms.find(gym => gym.id === id)
)
}
>>
>>58946612
You couldn't pay me to write in that Garbo framework

*Shudder*
>>
>>58947102

m8, pretty much everything related to JS is just one huge steaming pile of shit.

Even JQ has its fuckups.
>>
File: H10VvAG.jpg (17KB, 512x342px) Image search: [Google]
H10VvAG.jpg
17KB, 512x342px
>>58947102
>>average react programmer
>>
How popular is RoR these days?
Would it be a bad idea to learn it as a back end language/framework or should I learn node instead?

Right now I've got the basics down (html, css and javascript at a basic oop level).
>>
just remember: if you're not using {{JavaScript Flavor of the Month}} - you might as well kill your self.
>>
>>58943500
>Back to your hugbox.

We want you to keep your gay hands off our sons asses, Milo

>Back to your hugbox.

We want you to keep your gay hands off our sons asses, Milo

>Back to your hugbox.

We want you to keep your gay hands off our sons asses, Milo

>Back to your hugbox.

We want you to keep your gay hands off our sons asses, Milo

>Back to your hugbox.


We want you to keep your gay hands off our sons asses, Milo
>>
>>58947412
Just a reminder if you hate to learn new things you're a shit developer.
>>
>>58945288
I have read articles on this subject containing conclusions that disagree with your own findings but I dont thnk anybody in the professional world took Fireshit into consideration so touche, sir.
>>
>>58947372
depends on the job offerings in your area, but learning more js is never a bad idea
>>
>>58934750
Hey guys, posting this HTML code I put in dpt by mistake. Any and all criticisms are welcome.

http://pastebin.com/DvUK9BXk
>>
>>58947611
this is something that ill never understand about these threads. why would anyone follow a link from 4chan?
>>
>>58947647
It's a pastebin. What, are you afraid that it's going to be an offensive ASCII art image?
>>
>>58947611
Homework?

I don't see anything obviously wrong with it.

I'd separate the CSS into its own file if i was deploying it. (same with the javascript if there was any).

Maybe look up what the "real/correct" way to use the <br> is, I've seen it as </ br> <br> </br>, etc.
>>
>>58947611
#myName {
text-align: center;
font-size: 2.5em; /* 2.5em = 40px */
color: #FF00FF;
}
#myNumber {
text-align: center;
font-size: 40px; /* 40px = 2.5em */
color: #FF00FF;


Do you know what classes are? You could make a class called secondaryFontColor and then assign that class to the elements you assigned IDs: MyName and MyNumber

The key idea behind this is:
1) you arent supposed to re use IDs but you can re use classes
2) you can change the color from magenta to something else in one place and then its changed in many places. If you wanted to change from Magenta to Cyan now you would have to update both of those IDs
>>
>>58947719
br is an empty element

empty elements do not have an end tag
>>
>>58947611
Close your blocks in that CSS and never link to w3schools, it's a garbage site. Use MDN instead.

>>58947719
HTML5 way is just <br>
XHTML is <br />
>>
>>58947748
>>58947766

thanks
>>
>>58947719
Just use <br> for HTML. It's not valid XML (valid XML would be <br />), but it's the tag most likely to be supported because it's the one everyone used.
>>
>>58947766
Thanks a bunch for the tip - it's garbage but guess what? Instructor wants us to use it and link it at the end.

I'm a first semester nitwit - what do you mean by closing the blocks?
>>
>>58945698
>How is this kind of gallery called?
It's called a retarded gallery, because the user experience is dogshit. Want to change pic? Scroll down like a fucking idiot. What makes it even worse is the fact that it's not even obvious it's a gallery at first, since the images get pushed below the bottom of the page, so I could be on an entirely different page for all I know.
>>
>>58947863
That a closer look at #bottomToTop

and you could try being a cheeky cunt and pull a <a href="https://developer.mozilla.org/en-US/docs/Web">http://www.w3schools.com/</a>
>>
>>58947863
he's saying you need a curly brace to close off #bottomToTop

everything inside of the braces is considered a block.

Let me just say I think you are doing really well thus far. There's infinity things we could've told you to add to this basic html and you dont seem overwhelmed which is impressive and a good start.
>>
>>58947938
>you could try being a cheeky cunt and pull a <a href="https://developer.mozilla.org/en-US/docs/Web">http://www.w3schools.com/</a>
he should use a link with some javascript that starts playing some cuck porn and alert "only cucks use w3schools" a million times when clicked.
>>
>>58948021
>>58947938
>missed a curly brace
FUCK
lmao thanks guys
>>
>>58948085
Now it looks error-free.
http://pastebin.com/k7KetYHD
>>
>>58948290
If you are in doubt you can just use a HTML validator, but be aware that they only check the html content not JS and CSS
w3 validator, jshint and csslint are your friend for these
>>
>>58948456
On the real .html file I have:
<script src=http://my.gblearn.com/js/loadscript.js></script>


This is an HTML validator linked from the page.
>>
Any reason to use vue over react? I'm leaning towards react because of react native being a thing
>>
I just started my Front-End dev internship for my education, i'm just used to vanilla JS, CSS and HTML.

what the fuck is this React shit
why can't I just use vanilla code
why the fuck do I have to style in javascript
why does everything require scss, vanilla css isn't so bad

sorry for sounding like a whiny bitch but doing front-end feels so bloated

i need help guys, how do i embrace our javascript overlords
>>
what should I make for practice / resume padding

t. backend
>>
>>58947611
why you have th css in the same shit? make a separate css file
>>
>>58949530

spend 2 months learning react
>>
Imagine you are a RH person and you get a resume made in html

Do you hire that person?
>>
>>58951097
sure, why not

>>58949530
Consider it a gift that they aren't making you use old tech. It's a gift that they're giving you the time and resources to learn a new tech. Embrace it because you may not get it again.
That being said..
JS and CSS frameworks were designed to make common patterns easier, and do a lot of wiring up for you.
For example, this is a little angular fiddle, but same concept.
http://jsfiddle.net/ADukg/10119/
Type in the box. So little code to do something that would take a while in jquery or vanilla. It's just baked in, I didn't write a line of javascript. Now imagine that scaled up. For a big complex app, you're dealing with 1/10th the lines of code at least.
>>
>>58948628
never hear of vue. React is going to have the support you need on Stack Overflow though along with all the big programming teaching websites offering tutorials to get you started. I don't think the same can be said for vue. Also looks better on a resume right now
>>
>>58947102
mfw people on wdg actually think they have anything on google
go backto peddling out shitty wordpress sites for small restaurants pajeet
>>
Guys I'm making a chart automaker in JS.

With several options, planning to upload it for free, is there any one around? I'd like to see if mine is better so I upload it or if you guys recommmend me a good one that is also free I would then better keep my trash for myself tee-hee

But a couple of months ago when I was a js noobie I was looking for the tool and I only found paid options (I didn't look a lot tho)
>>
File: 1486587047916.jpg (16KB, 190x188px) Image search: [Google]
1486587047916.jpg
16KB, 190x188px
I just learned transition on css desu
>>
>>58953652
d3 is pretty much the best from what I've seen
>>
>>58943951
not even close. map will also use more memory
    var array = new Array(10000000)
var start = Date.now()
for (var i = 0; i < array.length; i++) {}
console.log('loop:', Date.now() - start)
start = Date.now()
array.map(function () {})
console.log('map: ', Date.now() - start)
>>
I finished the javascript course on codecademy, what do I do now? It doesn't really teach you how to implement any JS on a website. I already know HTML/CSS, whats a good first project?
>>
>>58954843
Make a weather application that shows the current weather in a couple of different cities.
>>
>>58954843
https://enlight.ml/
theoldsystem.mooo.com
>>
If this guy -- https://techspecs.blog/blog/2017/2/14/googles-not-so-secret-new-os -- is right, now is a good time to invest in learning Dart.
>>
>>58954843
A UserScript. E.g., write one that replaces "desu" with "to be honest" on 4chan.
>>
File: yay.png (134KB, 1223x821px) Image search: [Google]
yay.png
134KB, 1223x821px
guys i just managed to make a simple message board in node.js
it basically just adds objects to an array with name and message

in the process i had to use ejs, express, and body-parser...
but im still proud of myself! my goal is to slowly make a forum.
>>
>>58955767
Now store that shit in SQLite.
>>
>>58947863
As a professional dev, W3 is my favorite reference. I find Mozilla hard to read and overly complicated. There's nothing wrong with W3
>>
>>58955890
>As a professional dev
PHP?
>>
>>58943368
just because you normalized, doesn't mean you can have one-to-many relationships..
>>
>>58946264
>Around 3 finished projects, could be two. I mean finished and when I say projects I don't mean code exercises but stuff someone actually paid for.
So you need to be paid for stuff before you can charge for freelancing ?

>>58955767
nice ! now you just need a little bit of colour css in here and there.
>>
>>58955913
Javascript. I use W3 usually for syntax on native js functions
>>
>>58955767
Rewrite it in Ember.
>>
>>58934750
i just finish read PHP and MySQLĀ®
Web Development Fourth Edition , what i need do next create a website or learn more?
>>
>>58956054
>ember
https://www.indeed.com/jobtrends/q-ember-q-angular-q-backbone.html
Why
>>
>>58955847
i'm hesitating between SQLite and mongodb. i already know SQL and i read that SQLite is more for local use of apps, while mongodb and MySQL are used for large databases that can be accessed by many users.

i think i will go along with node meme and try mongodb

>>58955948
thanks. yeah even for testing/learning it is hard on the eyes.
>>
>>58956103
MongoDB is bad and pretty much never worth using. Read https://news.ycombinator.com/item?id=9912842, etc. If you want experience with a properly designed NoSQL database, go look at CouchDB. It has its flaws, but they are nowhere near Mongo's, and the API is just beautiful. http://docs.couchdb.org/en/2.0.0/intro/tour.html
>>
>>58956103
>i already know SQL and i read that SQLite is more for local use of apps
Yes, keep them light and gay

> mongodb and MySQL are used for large databases
Yes, for different types of data. MySQL is great for a relational database where records relate to one another. Works itself out when you update a record by updating anything else in the database associated with it.
Mongo is for document storage. Things that don't necessarily relate, they're just in collections or groups.
So choose based off of what kind of data you're storing
>>
Anybody got any angular or js questions?
>>
>>58956273
>MySQL is great...
https://grimoire.ca/mysql/choose-something-else
>>
>>58956207
>>58956307
so what should i use?

>>58956273
i think i will go with MySQL... i read that in php you can serialize an array so you can easily store it in a database table. is this the best method or should i be making a relations table? for example if my forum has users and each user can "befriend" other users. i will also have to look up for a similar function in javascript or some library
>>
>>58956498
For SQL, Postgres.
For NoSQL, Postgres JSONB.
>>
>>58956516
>NoSQL
Or CouchDB, or RethinkDB.
>>
>>58956498
What you should do, by the looks of it, is learn the fundamentals better. Learn about relational databases and normalization.
>>
>>58956498
Idk whether >>58956516 is exaggerating about how bad MySql is, but just go with something SQL based.
To answer your question, the standard pattern is that your js is going to call your PHP controller for something like, "getAllUsers". Your PHP controller is going to query your database for a users table and serialize it to JSON and return it. So in the database you won't be storing json, you'll store normal records.
>>
File: 1486748238321.jpg (106KB, 1920x1080px) Image search: [Google]
1486748238321.jpg
106KB, 1920x1080px
For a simple website doesn't it make more sense to have the css and js embedded in the document instead of externally linked to reduce the number of server requests?
>>
>>58956685
Yes it will reduce the number of server requests. However when you go to edit your js/css, you're going to have to be in an HTML file and your IDE isn't going to be able to help you much there. What you could do is have a task runner create your index.html and toss your css and js in there. Does that make sense? Idk where you are in your journey
>>
Is there anyone here who actually has some sort of related degree?

This whole thread is always full of questions about CSS positioning and people talking about how they finally got a job.
>>
>>58957137
I have an info systems degree and a job as a front end JS developer. I didn't really need the degree though. No one I work with has a CS degree and maybe half have a computer related degree
>>
What's the tool to ORDER your cluttered HTML + js?
>>
>>58957859
To catch redundant stuff would be nice as well.
>>
I don't know where to ask this. I've recently passed a course for Java EE: Hibernate, JPA, REST, Spring, Angular, JSP etc.

However the course was an introductory one and the material was shallowed. I would love to continue. Can anybody recommend a learning resource?
>>
What are Udacity best courses?
Also edX, Coursera, if you want
>>
>>58957899
Step one: ditch JSP, that's a dying technology. Swap it for .NET/C#
Step two: Develop skills in Angular and .NET on Codeschool.com or some other site
>>
>>58957859
Use a JS framework. You have no choice but to organize them in the manner the framework demands
>>
>>58956753
that's a funny answer. i doubt many people's "IDE" cant deal with script and style tags.
>>58956685
Although having 50 server requests is bad my research shows no benefit to forcing everything down to a single request. For the sake of SEO google actually wants one html one js and one css file on the server and you can load as much stuff async as you want from CDNs.

Is your goal to have a successful website or is your goal to win a medal in the Sperg Olympics?
>>
>>58958034
I think it would be more accurate to say that a framework often comes with a paradigm to help bring sanity and ease of updating to your project
>>
> I'd really like to know how to deal with users input, forms and other stuff without JS. Every tutorial we see today is like "throw tons of JS to this problem and it shall work".

is this what modern """web""" """developers""" are?
>>
Guys any advice for my website?
http://soundswell.byethost3.com/

Tell me what you think about it, you need to register but you can erase the accounts after.
>>
>>58958144
>form input and other stuff
Huh?
>>
>>58958161
makes me want to kill myself
>>
>>58958018
Thanks I'll give it a try. Is Java a no-go for web applications then?
>>
>>58957859
>order your html
why would you want html elements reordered? did you write the head below the body?
>>
>>58958193
I think he's not aware of POST/GET data being transmitted to the server.
>>
>>58958213
In a good or a bad way?
>>
>>58958249
Spring is way more popular than .NET, it's just that JSP is an old piece of shit that you should avoid. You just build APIs for websites with Spring and consume it with Angular or React
>>
>>58956207
all that link says is that you need to configure the admin login or its wide open

is this too hard for you? literally every anonymous scumbag in that blogchat is recommending a different type of SQL database. what if you want nosql?
>>
>>58958302
A stupid question: how does then .NET/C# fall into this if I develop the whole thing in Java?

So Java + Hibernate + Spring + Angular is a good place to start.
>>
>>58958332
ASP .NET is just a Microsoft equivalent for Java/Spring stuff, It may be comfier and more thought through but it isnt as popular
>>
>>58958087
>that's a funny answer. i doubt many people's "IDE" cant deal with script and style tags.
I mean I've never tried it, it might work. But you're also limiting yourself to just one file unless you implement the task runner solution. You probably wouldn't want a 10,000 line file to work in, it would slow down your machine to have that much sitting in your workspace
>>
http://bigocheatsheet.com/

If I apply for a job are they going to expect me to have memorised the sorting algorithms?
>>
>>58958116
Agreed, I guess he could also just apply the paradigm to his project. But idk why anyone would do even the simplest project without a framework. Asking for trouble
>>
>>58958249
Java != JSP. JSP is a framework that includes java. You could have a Java back-end within a .net framework. But yeah, don't use JSP, that's literally from 1999
>>
>>58958329
>too hard
Speaking of which, is clicking the link to the article at the top too hard? All right, I'll post it a direct link just for you.
http://cryto.net/~joepie91/blog/2015/07/19/why-you-should-never-ever-ever-use-mongodb/
>what if you want nosql?
You if "want it", not need it because of the kind of data you deal with, but "want it", you're clueless and should head more experienced developers' advice.
>>
ITT: Drama queens who don't want anyone using anything they don't like
>>
As a pleb just looking to build simple apps and websites, which languages are most pragmatic and desired on the market/in the (public) work life?
>>
>>58958999
Elixir/Phoenix backend
Svelte frontend
Cassandra db

guaranteed job!!
>>
>>58958721
>links some gay blog
>mad nobody likes gay blogs
>>
>>58959030
Elaborate
>>
>>58958999
the market doesnt desire a simple app and website builder
>>
>>58959030
Thanks anon I will take a look at these, why did you recommend these?
>>58959110
Hence the public work life part, the government here has no clue what it is doing with regards to the digital sphere.
>>
>>58953925
muh IE9
>>
>>58958413
what IDE do you write your html in, anon?
>>
>>58959200
Visual studio 2015
>>
Hey /wdg/ I was putting together my portfolio and I got a few projects right now. I need a javascript project though. I was thinking snake, I know it's probably done to death and all but I can't really think of anything else.

Is Snake a reasonable project for a portfolio? If not what is?
>>
>>58959448
no it's not, if i saw snake on your portfolio i'd fucking laugh and close it

write a social network with live chatting / voice chat and live updates in some meme framework
>>
>>58959473
Why? Live updates or websocket chat are much less complex than snake.
>>
>>58955923
It's all about balance, if you can load balance properly then you can handle many late night visitors.
>>
>>58959473
Well I'm not very good yet so I'm looking for a beginner project that isn't too shit to put on a portfolio.
>>
File: kame senin watcher.jpg (34KB, 640x480px) Image search: [Google]
kame senin watcher.jpg
34KB, 640x480px
Learning REACT from codecdemy.

This is horrible.

Anyone got a different LEARNING RESOUCRE? Because codecedemy is horrible and slow,
and React seems really cool as hell.
>>
>>58956094
How could you finish that book when you are clearly unable to speak English?
>>
File: 1.png (7KB, 510x550px) Image search: [Google]
1.png
7KB, 510x550px
I want to host a little .html so that i can access it from whatever device I want to try it on. Is there anything that lets you do something like this? It's just for me, so anything would do (don't care about fancy url and all that).
I know i can host it myself but that'd require one PC on all the time, etc. There must be something like the first other option.
Pic related is an example. It's just pure html, css and some javascript.
>>
>>58958721
Hey man, be fair, hackernews is quite confusing at first. There is nothing beside "cryto.net" in parentheses that would indicate that the first comment is in fact a link to something.
>>
>>58960093
not him but reading is way easier than writing
>>
File: 1485889119752.gif (8KB, 645x773px) Image search: [Google]
1485889119752.gif
8KB, 645x773px
>>58959858

>falling for the .js framework meme
>>
>>58960143
Yes, I know, I was just being snarky and edgy. Although it is actually a bit strange that someone with his writing ability is able to read and comprehend a book on some specific field, while many people I know IRL, who are far better at speaking & writing English, are afraid of reading shit like math textbooks in English.
>>
>>58960158
>falling for falling meme
>>
File: Project.png (66KB, 1050x689px) Image search: [Google]
Project.png
66KB, 1050x689px
Poorfag here. What do I need to learn to be able to make something like this for a website? Someone who wrote a similar program said it was a mix of html, javascript, and adobe air. Unless one of you can do a good job on it for around 250 dollars....
>>
>>58960254
i know what you mean. to be fair he probably didn't understand much anyway but what do i know
>>
>>58959030
Is this a meme? I barely see any of those things mentioned. In fact, I have never heard about svelte frontend. And if it's not popular then the job is definitely not guaranteed.
>>
>>58960116
Use some shitty free host like 000webhost or whatever, search for top free webhosts in google if you want to actually use your site. If you only want to develop it then you can just run a webserver on your machine and then connect to it from any device on your local network.
>>
File: 35ave49.jpg (37KB, 413x501px) Image search: [Google]
35ave49.jpg
37KB, 413x501px
>>58956094
Fucking hell Pajeet, that book was published in 2008. Please don't go creating more sql injection vulnerable web sites with your new found mysql_query($_POST['sql']) know-how.
>>
>>58960116
https://ngrok.com/
>>
>>58960330
A live editor? You're looking at least 10x that price for a barebones implementation.
>>
>>58960458
ballpark estimate as to how long it would take me to learn this. For a small business I plan on starting...
>>
what exactly is a web app?
>>
>>58960330
>$250
Nope. Have you tried finding an open source component?
>>
File: 1486586375259.jpg (351KB, 1698x1922px) Image search: [Google]
1486586375259.jpg
351KB, 1698x1922px
I gonna start learning java script how long it will take me if 1): im not retarded 2): im retarded
>>
>>58960593
1) life-time
2) life-time
>>
>>58960438
Thanks man. This looks great. Although isn't it the same as hosting it yourself, in the sense that you have to leave your computer on?

>>58960399
Thanks. Yeah, I'm looking for some shitty free host. I wanted to see what you guys would suggest.
>>
>>58960583
Pls Explain. I know nothing about programming or web dev. Also, could you recommend a company that might be able to do this. Everything for my business is falling in place except for this part of it
>>
>>58960593
1) Assuming you can't program at all, about a year until you have some idea what you're doing. The language doesn't matter.
2) Forever.
>>
Anyone here work with ImageMapster to make maps? What do you guys use for dynamic/clickable maps?
>>
File: hd.jpg (2MB, 5094x5766px) Image search: [Google]
hd.jpg
2MB, 5094x5766px
>>58960593
what's the point in the resolution of that image. gigantic but ultra blurry
[she a cute tho]
>>
>>58960458
>A live editor? You're looking at least 10x that price for a barebones implementation.
Your estimate might be too high, depending. This shit wasn't anything extraordinary back when you called it "DHTML".
>>58960628
>could you recommend a company that might be able to do this
Since you don't have money to spare, your best bet is finding open source software that already does something close to what you want then hiring someone on http://upwork.com to customize it.
>>
>>58960740
Thank you very much. I'm able to pay for a big project in several payments but it seems like companies dig the full payment. Thanks for recommending upwork. In the meantime I'll try to find where he got the similar software
>>
>>58960784
You're welcome, anon.

Come to think of it, I might be able to help you with this if FOSS and/or Upwork can't. My email address is in http://pastebin.com/raw/Wp2R50XV.
>>
>>58960880
(That paste expires in an hour, so save it somewhere if you want to keep it.)
>>
>>58960891
>>58960880

Cool thank you very much, I saved it. Now I know what the heck paste bin is for. I'll contact you in the coming months with a plan gg
>>
>>58960423

no wonder php has a bad rep....people still use old ass methods. They should just remove mysql_query all together
>>
>>58960991
Nah it's a conspiracy to get the up and coming generations of web dev to write it off because they hate working with it.

There's nothing wrong with it and it still runs on 80% of websites (or whatever the number is). Php isn't going anywhere and businesses love web devs that know php. As much as it hurts the whiny fucks feelings, php will get you a job.
>>
>>58961232

ive never used it since im new to php i just started with PDO, but why would i ever use it instead of PDO? Plus the injection issues...
>>
>>58961261
You don't always get to use what you want. You gotta use what the company lets you use. That's php.
>>
>>58961328

lel

if i worked at a company is using old insecure php from 10+ years ago i'm bouncin'!
>>
>>58961261
You'd never use mysql_query in production nowadays.

It's ancient shit that predates more modern approaches like PDO/SQLi and is therefore often used, because Pajeets and hobby coders are too lazy to adapt.

Plus sql_query has been deprecated for ages and is finally removed in PHP7.
>>
>>58961358
If you're that fucking retarded they wouldn't hire you to begin with.

Keep on memeing though. I'm sure companies will halt a 10 year old project to appease some random fuckhead.
>>
>>58961403

>lets not change/update our code to meet modern security and performance standards

i would slap the shit out of you right now if i could
>>
>>58961424
You wouldn't even if you could faggot.
>>
Does anyone know why this isn't working? I am converting my JS to modular and this snippet worked fine in spaghetti code. It is meant highlight table data when clicked on a certain page.

var grid = (function () {

var isMouseDown = false;

$(".startPageWrapper .ranges-grid td")
.mousedown(function () {
isMouseDown = true;
$(this).toggleClass("highlighted");
return false;
})
.mouseover(function () {
if (isMouseDown) {
$(this).toggleClass("highlighted");
}
})

$(document)
.mouseup(function () {
console.log("tion");
isMouseDown = false;
});

})()
>>
How do I do something only after getjson has finished doing its thing?

I put in the function I want to call after the getjson and inside at the end of getjson. Both times it calls the function before getjson has finished.
>>
Okay /wdg/ honest question here. I'm not an actual webdev but a server guy basically.

Now as a side/practice project I'm making a simple wikipedia system using markdown, with some nice tweaks (editing based on system users, file-based db, editing tied to file permissions blahblah)

I got a pretty solid backend and C++/Python API but now I'm confused as to which way to go. I'm kind of torn between the "good-old" way and the "modern" webapp style. Could any of you guys comment on what you prefer and why?

Rendering 99% of content server side using HTML templates and python/rails or whatever
vs
Building a just a JSON API for the rest and do content-DOM binding on the client side

Vanilla JS with own functions to fill in content
vs
Vue.js or something like it (at work they use Vue)

C++/Python micro framework thing
vs
Roll-your-own using sockets library for performance and massive concurrency
>>
>>58961618
https://jsfiddle.net/db3jfkt5/
it works
>>
>>58961908
I'm in the same boat.
>>
New to javascript but not to programming pls help

do you see any error here?

              for(var iter = 0; iter < 5; iter++;){
context.moveTo(x, (y-verLinea)+(verDiv*iter));
context.lineTo(x-verDivLargo, y);
context.stroke();
};
>>
>>58962070
You don't need a semi-colon after iter++

Not sure if it would throw an error as I've never tried adding one there before.
>>
>>58962070
seriously, code in English
But no I don't see an error
>>
>>58962070
also you don't need a semi-colon after the for loop.
>>
>>58962109

I wish I had the liberty, this is work, I'm programming an "easyChart" system for a web, but I'll upload a generic an obviously translated project to... github I guess
>>
>>58962109
Oh and btw you where right this solved the problem ty
>>
I cannot figure out a layout.

This is painful.

I'm so glad I don't have to do styling at work.
>>
>>58961618

Ok with my post here, I have cashed my $(".startPageWrapper .ranges-grid td") search, but using just the variable name doesnt work, is there a way to use variables with chained functions like I have?
>>
>>58960991
>They should just remove mysql_query all together
They did in 7.0,

It really is a shitshow in terms of how much old stuff there is out there though. I guess it's hard for newcomers to know the resource they're learning from is outdated (or even dangerous in a lot of cases). Best thing we can do is guide people towards more modern resources such as http://www.phptherightway.com/
>>
>>58962954
using what variable name? The class selector? Try separating them with a comma.
>>
>>58962992
I think it's important to learn all of mysql including the deprecated parts and then learn the right way. Many jobs still will use mysql or mysqli for queries because their code was written forever ago. They might also run off old versions of php because of incompatibilities they are too lazy to fix.
>>
>>58962070
You need to clear and redraw the entire canvas every frame, just in case you're tripping up on that.
>>
>>58961908
>Rendering 99% of content server side using HTML templates and python/rails or whatever
It is easier to debug, often provides a better user experience in conventional CRUD interfaces and is good for SEO. Throw in PJAX/Turbolinks as needed.
>Vanilla JS with own functions to fill in content
A few small libraries and no frameworks. More isn't necessary when you do most work on the server.
>C++/Python micro framework thing
Use an existing framework. When you try to roll your own, you will at some point find yourself maintaining a half-assed NIH near-clone of the popular stuff. Before that, you will find out the hard way why the popular stuff is designed the way it is. This is also a major reason to learn a non-micro web framework like Django, Rails or Phoenix.
>>
Someone give me a front-end excercise.
I'm a pro front-end dev, and bored af. I'll work my magic on your layouts, just give me a jsfiddle.
>>
>>58963156
Implement the Holy Grail layout without looking at other people's implementations.
>>
Say I have this idea for a site, helping certain people out of hell (no sjw, no /pol or anti-/pol related, no further intentions, just sick of certain situations people have to deal with everyday).
Say those people I'd like to help were resources for bad hombres. Those bad hombres will get angry for loss of profits, and so mentioned site will without doubt be attacked rather sooner than later. What do I have to care about, to deal with all kind of attacks (technical side) and keep this site up and running?
>>
>>58963411
1. Exploitable bugs in the software you're running like WordPress;
2. DDoS (use CloudFlare);
3. Social engineering.
>>
>>58963411
Careful, man. They'll declare you Fair Game.
>>
>>58935736
$(document).ready()
>>
Fucking async ignoring the order of things even when I have the function-to-call inside the async function.
>>
I have buttons that toggle a highlighted class for squares on a grid, some of the buttons highlight squares that overlap so that if you click all three buttons, it will toggle then untoggle some.

Does anyone have an idea of how to say don't untoggle/toggle a square if another button has toggled it?
>>
>>58963447
Thanks for the genuine input my man, I'll do the research.
Social engineering is my biggest thinkpoint. But I'll deal with that. I would like to take care of the technical size, for it is the part of this project to be without flaws. The social side will always provide targets, so I'll try to bring this point of failure to a minimum.

>>58963476
I know and honestly I fucking don't care anymore. I just want to start this thing, let it gain some momentum until others adapt and copy the idea. Failing before that point would crush the idea as a whole, so it's quite important for me to minimize the technical threats.
>>
>>58963669
How about a codepen of this fucking weird ass thing you're trying to convey through a text post?
>>
>>58963176
Wow, how have I not heard of that before. Well, I did it. That was pretty fun! Thanks for letting me know about that.

https://jsfiddle.net/rbxvcyy9/

Kind of did it on easy-mode, because of fixed width/height. But I mean, it's responsive and shit.
>>
>>58963923
>>58963176
Oops, forgot to fix the footer.

https://jsfiddle.net/rbxvcyy9/1/

There.
>>
>>58963923
>>58963948
Pretty cool.
>Thanks for letting me know about that.
You're welcome.
>>
>>58935851
Welcome to hell :)
>>
>>58964014
Thanks. I've been seeking this hell for a year now.
>>
Anyone know of a good way to accept payments with paypal?

Basically I want to have a javascript page the user is on with PayPal that calls a PHP page once order is complete and returns a string of numbers to the javascript page.

Also I would like to attach the string of numbers to the PayPal charge if possible
>>
File: 800px-Stephen_J_Mellor.jpg (114KB, 800x1067px) Image search: [Google]
800px-Stephen_J_Mellor.jpg
114KB, 800x1067px
Django tutorials that don't completely suck?
>>
File: 1318184028455.png (3KB, 279x237px) Image search: [Google]
1318184028455.png
3KB, 279x237px
>Someone asks me to take over their website
>Decide why not since it'll be good experience
>It's wordpress
>Open up the dashboard
>Start looking for data directories, routes, database, source code, .php files, stylesheets, etc.
>Can't find it anywhere
>Mfw I realized it's entirely an arbitrary CMS
>Don't know how to do a single thing

Any good wordpress guides?
>>
Angular2 front-ends with a RESTful API backend built with C, Go or Rust will replace PHP and other server-side scripting languages.

Does /wdg/ agree?
>>
>>58966759
>angular clusterfuck of spaghetti mvvm
more like Angolar, amiritte?
>>
>try to ssh
>enter password

Every password is wrong.

Disabled root login outside of local because you're supposed to. I can only ssh through filezilla. WTF is going on?
>>
I just got a new client since they fired their previous guy for being a lazy useless fuck and it turns out he built the site on some online WYIWYG SaaS. He basically payed $20 a month to drag and drop images and text and was charging $3000 a month for "SEO and website maintenance services"
The site has 0 back-links and almost no SEO.

I'm trying to explain to my client how they got scammed, but they are very computer illiterate. They refer to laptops and desktops as "CPUs"
>>
>>58966791
If you follow the style guidelines it will remain relatively organized.
>>
I'm fairly certain I managed to create a type of layout with CSS, that hasn't been accomplished (without considerable drawbacks) yet. At least I couldn't find a single example of this method being used, despite the many articles that have been written on different ways to create this layout.
My method has very good browser support, works flawlessly (based on my testing), and is very clean and intuitive.
I'd like to share this method with the public, but I'd also like to have even a tiny bit of credit for it. I wonder how/where I should share this code/method. Any ideas?
>>
File: peepeefrogmeme9gag.jpg (14KB, 306x306px) Image search: [Google]
peepeefrogmeme9gag.jpg
14KB, 306x306px
>It may take up to 48 hours to update you Nameservers
>>
>>58967242
GPL 3.0
>>
File: 23532362.jpg (19KB, 547x480px) Image search: [Google]
23532362.jpg
19KB, 547x480px
>>58967294
>>
>>58966874
As someone who just got a web dev job after looking for a year, that's disgusting.
>>
>>58967311
>GPL 3.0
I'm not worried/interested in licensing the method. I'm just wondering what would be the most effective way of showing it to the public, while still maybe getting a tiny bit of publicity.
I'm currently thinking of sending the method to some large CSS "news" website. I could send them a link that displays the method, and then ask them to include my website if/when they cover the subject.
>>
Does anyone know how i can direct a domain name from one company to the addon domain of another?
>>
>>58967357
Put it on your github, give it a goofy meaningless name, stick a logo on it, and create a site with a .io TLD to document it and explain how it works. Guaranteed to become a hit, and it wouldn't hurt to send it to a bunch of webdev blogs.
>>
>>58967332
I really want to find that guy's other clients and poach them now. Small business owners already have a hard enough time, without assholes ripping them off due to their ignorance.
>>
File: 476.png (92KB, 500x366px) Image search: [Google]
476.png
92KB, 500x366px
>>58967385
>tfw don't use Git(hub)
>I get how it's useful and shit, but I find it kind of messy and difficult to understand (because I don't like it)
>mfw literally everyone's using it, and I'm an outsider

Guess it's time to man the fuck up and get on that Git train. ;_;
>>
>>58967419
Learning git is an invaluable skill if you ever plan to work on a team or contribute to open source software.
>>
File: 1351028487369264.jpg (13KB, 470x316px) Image search: [Google]
1351028487369264.jpg
13KB, 470x316px
>>58967424
I know, but I don't like it.
>>
So there was a portfolio-builder challenge posted a few weeks ago.

I made this. I plan to do more things.
http://crowdcookie.com/
>>
>>58967483
Why on earth would you pick chartreuse? Its one of the few colors that actually make me feel ill.
>>
>>58967521
There. That better?
>>
fuck, that change ruined the twitter posting script somehow.
>>
>>58967581
Much better.
Also submissions don't work. But its a neat concept.
>>
>>58967608
How do they not work? I just tested them.
>>
>>58967629
Nevermind recaptcha was being blocked on my end. I didn't notice it on my umatrix
>>
>>58967666
It should pop up an error saying "You did not pass the captcha" or something like that.


I found some awful workaround for the html2canvas bug that is unhiding all of my elements. Reloading.

Up until it reloads though....yuck.
>>
>>58967692
With google blocked on umatrix if you click submit nothing happens. It throws a reference error in the console about grecaptcha not being defined. There is no visible error for users though
>>
>>58967725
Oh, grecaptcha is defined by the google recaptcha js.

I gave grecaptcha a blank declaration. That should fix it.
>>
>>58965871
google wordpress codex.

>>58966874
educate them so that they know what to look for and became their go-to expert on some sort. at least you can build your reputation, and got repeat clients. ftw!
>>
Is Ruby/RoR ded or on life support? Is it still a viable path to make a career out of or is it kind of getting left in the dust?

In basing this on nothing other than job postings I've seen online...there just doesn't seem to be very many.

Just curious as I was kind of eyeballing getting into it but let's not lie and say we all wouldn't like to get paid for our efforts.
>>
>>58956207
or you can just use the json and hstore features of postgres, which is rock solid
>>
File: halp.gif (153KB, 712x506px) Image search: [Google]
halp.gif
153KB, 712x506px
How do I make a heart?
>>
>>58968611
Ruby devs are leaving for more concurrency-minded technologies such as Golang and Elixir. I think these two will be huge in the coming years
>>
>>58961908
do your public-facing site the old way, and the admin system as a SPA with json api. don't use sockets for that.
>>
>>58964558
that's quite involved, dive into paypal's docs
>>
>>58966759
C (and Rust) for webdev is crazy. Angular2 is mediocre. Go is good though.
>>
>>58967419
if you only know the most useful basic parts, it's usually enough. I've been using it for many years and still have no idea about the esoteric parts of it
>>
>>58941231
meme.js
>>
>>58969259
Absolutely. CouchDB's main advantages are client/server sync for "offline first" JS applications (via https://pouchdb.com/) and clustering. I highly recommend CouchDB over Mongo to anyone already familiar with RDBMS who wants to play with a NoSQL database, but in your serious projects if CouchDB's advantages are not crucial to you or you don't know whether you need SQL or NoSQL, you should Just Use Postgresā„¢.
>>
>>58968611
It isn't a hot new thing an mode, but RoR is still widely used and there will be legacy RoR code to maintain for the decade to come. The number of Django vs. RoR vs. Node stuff jobs depends on where you live. Bootcamps are certainly still cranking out RoR devs by the hundred.
>>
>>58966759
No.

There is simply no reason for angular to exist for many years into the future.

EITHER:
> angular provides something truly useful that very, very many people need
it will be absorbed into HTML5 and JS,
OR
> It will be superseded by a new shinier framework three monhts from now
and will thusly be forgotten.

As for backends, why on earth would you want to write a RESTful api like that?

If all you want is to FETCH JSON, then your backend is a very, very small program that authenticates your requests and talks to your JSON storage.

That's not CPU-bound so why bother with SANIC SPEED languages?
>>
>>58961403
Look bud, leaving a company because they don't use your favourite tools and leaving a company because they don't give a shit about security are not the same thing.
>>
I want to create some apps which i could add to my portfolio, what would you suggest me anons?
>>
>>58963923
>>58963948
You should have used the full lorem ipsum text and not just the first sentence copy pasted a million times with no spaces between two sentences tho.
>>
>>58970069
Build a better 4chan.
>>
>>58970225
i dont want people to think that im autistic
i look normal and act normal in public
>>
>>58963411
You should read up on xss, csrf, session fixation, etc attacks if you don't use something pre-made and make your own shit. Also, I don't quite understand how your site would help people, and why you would be targeted, care to elaborate?
>>
>>58970235
>i dont want people to think that im autistic
That isn't how it works. The truth is that if you come off as autistic building normie web apps won't help you and if you don't building weeb web apps won't hurt you.
>>
Is there literally no theme or plugin for a custom wordpress my account page? Default just hurts my eyes
>>
>>58963669
The easiest way of doing it I can think of right now is also giving every cell a unique ID besides the class, storing which buttons were pressed in an array, and re-evaluating which cells should be toggled every time a button is pressed. Like if you press button two, the second value in your array becomes true, if you press it again, it becomes false. If all three buttons are toggled, for example, and then you press button 3 again, your array will contain true true false, so your code calculates which cells should be highlighted when only buttons one and two are active, and unhighlight the remaining ones.
>>
>>58967419
>>58967450
You don't like it because you don't understand it yet, once it clicks, you will be like "gee I wonder why someone can't understand this basic shit". This is how learning something difficult works in general, it's always overwhelming at the beginning.
>>
>>58967450
Any IDE worth its salt has Git integration that will make it a point and shoot process for you. Don't worry about learning how to sync up on a command line
>>
>>58967294
Usually takes 10 minutes
>>
>>58963411
Just make sure you register the site anonymously, check the whois.com on your site to see if your name is there
>>
>>58960653
google maps api
>>
File: 1349231140502.jpg (15KB, 300x400px) Image search: [Google]
1349231140502.jpg
15KB, 300x400px
I want to build something like a desktop gui client/web app. thoughts on Vue.js or Electron?
>>
>>58971146
> desktop gui client/web app
...what?
>>
>>58971213
something like Skype or Discord if you want
>>
>>58971237
That might be a better question for /dpt/
>>
>>58971146

You might want to use Visual Studio and C# for those projects.
>>
>>58970241
Thanks for your input.
Like I said I want to pull people out of situations, where they are abused to generate profit for others. Those other people would get angry for loosing profits, and in return target the site, which will be the starting point for this project.
The 'how'-part is not worked out as of yet, but it will be.
I would like to be less vague, but I've a little trust problem on my side so I tend to keep things to me until the very last minute.

>>58970724
Will do, thank you.
>>
>>58958421
Anybody?
>>
>>58971475
You are not likely to implement a sorting algorithm as part of a webdev job. The only important things you have to tell the interviewers imo is that you know that there are built-in sorting algos in whatever you're using, that they are reasonably efficient, and that if you have to implement your own for whatever reason, you'd use something like mergesort, and not the most naive algorithm possible, since that would be orders of magnitude slower and could fuck up the site.
>>
>>58959858

Look for React for designers in Google.
>>
>>58971475
no, absolutely not. This isn't a college course
Thread posts: 331
Thread images: 28


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