[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: 56
Thread images: 9
File: 1450593314193-g.jpg (170 KB, 1920x1080) Image search: [Google]
1450593314193-g.jpg
170 KB, 1920x1080
/wdg/ Web Development General
Didn't see a thread, so here it is.

>Learning material
https://www.codecademy.com/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
http://code.tutsplus.com/categories/web-development

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

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
[Gist] backendDevelopmentBookmarks.md (embed)

>Useful tools
https://pastebin.com/q5nB1Npt (embed)
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
http://devdocs.io/ - Documentation for popular packages in your browser, with offline support.

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT (embed)
https://blog.remoteworknewsletter.com/2015/03/23/best-sources-to-find-a-remote-job-as-a-software-developer/

>IRC channel(s)
#/g/wdg @ irc.rizon.net
#wdg @ irc.freenode.net
>>
File: 1428464260328.jpg (68 KB, 1280x720) Image search: [Google]
1428464260328.jpg
68 KB, 1280x720
second for anime
>>
File: node.jpg (5 KB, 300x168) Image search: [Google]
node.jpg
5 KB, 300x168
Anyone have a good node.js tutorial that they would recommend?
>>
Hello, /wdg/. I have been asked by a friend to help him in creating a web-based game. The game is intended to be multiplayer, and one of the features he wants is to have a chat that can receive commands to take certain player actions (and this would then of course be updated in browser). What I'm considering is to embed an IRC client into the page and having an IRC bot listen around for commands. This should seem like the easiest solution, although I'm curious as to best way to embed IRC into the page. Do you guys know of any JS libraries/frameworks for this?
>>
Trying out Sketch; here's a 4chan tablet mockup
>>
>>51970587 (Me)
(Don't know what happened to the second post's shadow. Must have accidentally got rid of it. Whatever)
>>
>>51970438
the freenode channel anymore active than the rizon channel?
>>
File: 1432068061124.gif (2 MB, 320x240) Image search: [Google]
1432068061124.gif
2 MB, 320x240
>>51970604
I rly like this. Go on, anon.
>>
Still contemplating my header parsing loop, the trick is that I might only get enough data up to the first line or halfway through a header label or halfway through some header content of even with a bit of the message body.

This could easily turn out slower rather than faster if I'm not careful.

>>51970583
You might want to do all that from the backend instead.
>>
>>51970727

You cannot put a chat that is required to be embedded into the page onto the backend, anon. The choice of using IRC for the protocol is mine, but having a chat on the page itself is a hard requirement.
>>
Do (unexpired) domains often get stolen?
>>
hey how do i work with links if the files are in different folders. Like i have a /public and
/public/admin and they share the same navbar tepmplate. in a different folder. I tried using absolute path but that doesn't work
>>
>>51970587
Have you decided to use a fast language?

>>51970841
I was thinking just using an irc program to process the messages, not as a transport protocol. There is a very real possibility you're not going to get a JavaScript library that does irc for you for free.

>>51970881
That's your domain registrars issue.
>>
>>51970671
Thanks

>>51970938
>Have you decided to use a fast language?
To be clear, this is just a visual mockup. I don't intend to implement an actual 4chan app; there are enough of those.
>>
>>51970938

If I'm not using it as a transport protocol, there's no point to using IRC for anything. The reason I was considering IRC is because it's a very widespread protocol, and I know I've seen countless sites embed it.
>>
>>51970990
Mistaken identity bro.

Some guy in the last thread wants to write his own imageboard.
>>
Who the fuck deleted the other thread?
>>
I'm working with a team of Java programmers on a web project. Sometimes they write JavaScript, but nobody actually takes the time to learn JavaScript so the code is terrible.

Any good JavaScript resources for this situation? It's easy to find JavaScript tutorials for absolute beginners, but there's no way they'll slog through explanations of what variables are before actually getting to the real stuff.
>>
>>51971184

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide
>>
>>51970438
>(embed)
Ya blew it
>>
>>51971184

You know, if you can't get them to learn JavaScript properly, you can always get them to write Java and compile it to JavaScript...

http://www.gwtproject.org/overview.html
>>
Hello, I dont understand why in javascript a class is called a class, when all it is is defining a function so that when it is ran it turns it into an object.
Example the following.

var Person = function (firstName) {
this.firstName = firstName;
console.log('Person instantiated');
};

var person1 = new Person('Alice');
var person2 = new Person('Bob');

// Show the firstName properties of the objects
console.log('person1 is ' + person1.firstName); // logs "person1 is Alice"
console.log('person2 is ' + person2.firstName); // logs "person2 is Bob"
>>
File: iiu.png (274 KB, 639x361) Image search: [Google]
iiu.png
274 KB, 639x361
Stop splitting discussion and get in the /dpt/ thread.

The last thread archived without even reaching the bump limit as will this thread.

>>51970377
>>51970377
>>51970377
>>51970377

We're going to make /dpt/ great again.
>>
>>51971546

/wdg/ has been around for quite a while. The last thread archived because someone deleted it (which is probably you). Now fuck off and stop trying to get us to join the circlejerk that is /dpt/.
>>
>>51971583
Deleted threads don't appear in the archive.

/wdg/ shouldn't have existed in the first place.

Reminder to anyone that may post a programming question ITT, you will get way more replies in /dpt/.

>>51970377
>>51970377
>>51970377
>>51970377
>>
>>51971669
You will get x4 troll responses instead.
>>
>>51971669
with a heading like traps gtfo lgbt fuck u japan anime etc its not a very inviting thread. and i dont even like any of that stuff.
>>
>>51971698
There is an ongoing feud in /dpt/ between the 'anime OP image' and 'non-anime OP image' groups. The current victor is the non-anime, but the battle flows back and forth regularly. I believe the last two were anime.
>>
>>51971669
Why the sudden need for us to join /dpt/? I've been the OP of these threads for the past 3 or 4 times before you started posting in here with your bullshit. And you beat me to creating this one again. None of the threads I created got archived, not even once, because there were always replies.

Discussions in these threads have always been centered around web dev, and people have come and go when they need help, they have comments, or questions. Stop trying to reel us in to save your shitshow /dpt/, just fuck off and leave us be.
>>
>>51971546
>>51971669

Naaaaaah.
>>
File: huhy.png (8 KB, 473x500) Image search: [Google]
huhy.png
8 KB, 473x500
>>51971691 (You)
>>51971698 (You)
>>51971729 (You)
>>51971747 (You)

Just behave yourself and get in /dpt/.
>>
File: fgt.png (35 KB, 501x181) Image search: [Google]
fgt.png
35 KB, 501x181
>>51971781
Stop trying so hard bro.
>>
File: c.png (32 KB, 426x176) Image search: [Google]
c.png
32 KB, 426x176
>>51971781
You're wrong. 1 of them wasn't me.
>>
>>51970551
Google is your friend.
>>
>>51970551
http://nodeschool.io/
>>
>>51970551
http://nodeguide.com/
>>
>>51971420
found the answer, what i wrote is referred to as a constructor function, not a class
>>
How come when I use float: right; the 'footer' div rides up the page instead of staying at the bottom of it?

How do I make a div stick to the right without using float?
>>
>>51972577
Because the footer div isn't
position: fixed;
to the
bottom: 0px;
of the page.
>>
Hello. I've spent probably a good week learning HTML and all of the in's and out's of CSS. I'm looking to begin either learning JS or Ruby on Rails. Which one should I look at first? I'm not too sure what I want to work on yet. Mainly just getting my foot in the door of web dev. If I do go with the JS route, should I look into Angular or Node?

If I'm asking all of the wrong questions altogether, feel free to correct me.

Thanks :)
>>
>>51972812
I'd say go with Ruby on Rails. JS is a bit tedious, Ruby is better for someone just starting out.

>If I do go with the JS route, should I look into Angular or Node?
Node. Long story short, Angular doesn't have it's shit together right now.
>>
>>51972865
Node is run by SJWs.

Avoid Node at all costs.
>>
>>51972899
Then think of it this way; Node is the lesser of the two evils.
Node is still great for single page applications. The circlejerking on this site will have you believing otherwise.
>>
>>51970583
You can't get irc in the browser directly, sites like mibbit work by having their servers act as a bridge to IRC. You could do something sneaky like trying to use mibbit to avoid needing a server but that's kinda shitty to them (they're basically paying your server costs for you) and you need to design your whole program in a way that doesn't trust its connection (because anyone could join your channel and send whatever message they want). The right way is to run your own server, use something like web sockets, and communicate that way.
>>
>>51971546
I post in dpt all the time but as soon as I mention my dayjob is web development I jumped by dipshits who think implementing fizzbuzz in assembly is what "real programmers" do. dpt is fine but I for one am glad to have a place to talk about webdev without someone always flipping out about "muh real programming"
>>
>>51972577
>>51972793
I think he's talking about this phenomenon:

https://jsfiddle.net/sddcv8f6/

when what you usually want is this:

https://jsfiddle.net/sddcv8f6/

It's like the floated element is removed from flow. This article explains why this happens: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context

and the fix is usually to set `clear:both` on the next element.
>>
>>51973110
I meant https://jsfiddle.net/sddcv8f6/1/ for the second link
>>
>>51970587
What anime is that?
>>
inb4 404
>>
>>51972577
Because float displaces the element in the space. Think of it like playing Jenga. Either explicitly define the size of the element you moved, or fix it's position. You can search how to do that, I'm on mobile so I can't do much right now.
>>
Are there any good articles/tutorials about aesthetics? I know how to code, but I simply can't produce anything that looks even remotely good.
>>
>C U R R E N T Y E A R
>HTML5 doesn't allow self- closing script tags

why
>>
Anyone on here got their own VPS?

I want something powerful, reliable and decently priced, but at the same time I really don't want to deal with managing security all by myself. I'm comfortable with setup, and there's documentation for it everywhere anyway (fail2ban, iptables, bind, configuring apache/nginx/mysql/php/etc), but I don't want to be left paranoid about vulnerabilities, and staying on top of any severe vulnerabilities which become public.

wat do?
>>
>>51974933
openshift is free, offered by redhat, uses redhat and amazon, you only have to worry about the security of your app.
>>
>>51974886
Because it isn't xhtml. And BTW, HTML5 doesn't actually have any concept of 'self closing tags' (not just script). There are some tags which are considered void (self containing, and not needing an end tag). The standard recommends that browsers handle /> in a compatible manner since it has often seen (incorrectly), but it is not required.
>>
>>51975054
Interesting, I've never heard of this.

>The OpenShift Online Bronze and Silver plans are available in: North America (U.S. and Canada) Europe (EU member states, Iceland, Israel, Norway, Switzerland, and Russia)
Fuck. I live in Australia.
Thread replies: 56
Thread images: 9

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.