[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: 318
Thread images: 31

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

Previous Thread: >>57316122

> Discord
https://discord.gg/wdg
OR
https://discord.gg/0qLTzz5potDFXfdT
(they're the same)

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/

>Useful Youtube channels
derekbanas
thenewboston
learncodeacademy
funfunfunction
computerphile
codingrainbow

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

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

>Useful tools
https://pastebin.com/q5nB1Npt/ (embed) (embed)
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/ (embed) (embed)

>How to get started
http://pastebin.com/pDT82mQS (embed) (embed)

>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
>>
>>57343109
There's no need to bum bud
>>
anybody know a electron tutorial?
>>
>tfw too scared to post the code of my portfolio projects in /wdg/ in fear of getting roasted
>>
>>57343715
do it
>>
>>57343715

It's a good idea to not post it.
Your future employee can find the thread it in tech archives, so do you really want them to know you're a former l337 anonymouse haxx0r?

>>57343609

I would elect ron. But it's too late.
>>
>>57343973
>Your future employee can find the thread it in tech archives

What's wrong with posting on a board about web dev and technology?
>>
I just saw the (embeds)

Dammit op
>>
>>57343973
There's no way they'd think to specifically search through the /g/ archive, and just googling the code wouldn't bring you here
>>
does someone here have there own custom css for this site?
>>
>>57343973
>do you really want them to know you're a former l337 anonymouse haxx0r?

I wonder how many of us actually did this.
I may or may not have lured pedos to download trojans through AIM thinking it would open my webcam. 13/f/cali
>>
>>57344432

You know nothing about the internet, kid..

Let's google this post here:
>>57343140

You can try it yourself:
>https://www.google.com/search?q=%22There%27s+no+need+to+bum+bud%22

The first (and only) result is here:
>https://archive.rebeccablacktech.com/g/thread/57343056


BOOM, found you.
>>
>>57344555
no lol
i was tempted to take the material css from april fools and change it to not be so bright and shit but wasted effort 2bh
>>
>>57343883
https://github.com/bilwilson487
>>
>>57344563

>13/f/cali

Meh, too old.
>>
File: Screenshot (444).png (278KB, 1920x1080px) Image search: [Google]
Screenshot (444).png
278KB, 1920x1080px
Anyone else trying to build a restful API from scratch?
I'm honestly really confused on how to implement cookies/sessions
>>
>>57344985
Tokens, REST should be stateless.
>>
PHP is a meme language?
>>
>>57345033
Yes, it is a mistake that is on its way out.
>>
>>57345009
Thanks anon!
>>
>>57345033
E V E R Y T H I N G
I S
A
M E M E
>>
>>57345033
everything is a meme, but who cares? its the most used one, if you want more job opportunities you should learn it.
>>
>>57345033
Is PHP a meme Language? Depends on your expectations, desire to learn and improve, other realistic available options, and previous experience with programming.
>>
web dev babby here, if php is so shit then how do I do something like
<?php include navbar.php'; ?>

with something that isn't php?
>>
>>57345242
If you mean including code from another file then every language can do that for example
import navbar

If you mean including html mixed with some backend code then it depends on the templating engine. It's basic. Like
{% include navbar.html' %}
>>
QUICKY

Give me all your website ideas or your waifu is dead
>>
>>57347387

oooh I'm so scared.
>>
>>57347387
okay get this
it's 4chan, but... not
god this will be such a huge hit
>>
>>57345242
> with something that isn't php?

pretty fucking wide scope there anon, what are you using instead
>>
Is this the right place to post if I want feedback on the design and aesthetics of my startpage?
>>
>>57347909
sure, it's an start I guess

wdg is kinda dead now, pajeets are asleep
>>
File: myhomepage-min.png (520KB, 1920x982px) Image search: [Google]
myhomepage-min.png
520KB, 1920x982px
>>57347954
I'll try now and when I wake up tomorrow

also to anyone judging this ignore the links, I already know I'm cancer.
>>
>>57347974

please, dont blend the background with the foreground. I can't see clearly the text and/or the boxes itself . try complementary colors or stick to black and white in texts.
>>
>>57348043
alright thanks, I'll have a google and see what colors work with sky blue and pink
>>
>>57347974
>>57348061
Try throwing some box-shadow on the squares.
>>
>>57347974
Is your background an image or CSS?
>>
>>57348085
will do
>>57348101
an image
>>
https://tkmh.me/ how does he do that. That once you select a menu section he loads the html in while keeping the webgl animation?
>>
>>57348138
XMLHTTPRequest
>>
>>57347974
Is there a way to set something like this as the desktop?
>>
File: active desktop.jpg (160KB, 1280x900px) Image search: [Google]
active desktop.jpg
160KB, 1280x900px
>>57348441
>>
>>57348441
not that I know of, maybe with rainmeter, I just have it as the page that opens when I launch my browser
>>
I want to make my own shitposting forum with 0 JS code is this possible, what do I have to learn?
>>
>>57349754

the hover effect AFAIK in here is javascript . the update button is javascript . and everything else . PL of your fucking choice ( Ruby/Python/PHP/Java/Go )
>>
what is your opinion on Web Assembly /wdg/?
>>
>>57349754
Not hard, forums predate JS. But most tutorials nowadays won't be helpful. I recommend Python with Flask. PHP is godawful but easy to get started with.
>>
>>57349887
>web assembly
>pc assembly
You are a proud shitposter, are you?
>>
>>57345242


<script src="navbar.js">

Then produce navbar.js renders as needed.
>>
File: responsive.png (90KB, 1052x697px) Image search: [Google]
responsive.png
90KB, 1052x697px
Hey gentles,
I building at the moment my own website with the framework bootstrap because responsive aspects. Nevermind, I need help with the navbar by responsive. I have a navbar fixed top "<nav class="navbar navbar-inverse navbar-fixed-top">". The problem is now, when I zoom in until mobile version getting load the navbar is building it up like the pic attached. Am I have any chance to get the navbar in desctop version fixed and in mobile version not fixed?
>>
What is /wdg/s opinion on over-bearing comments. A lot of people will comment like:

//Set the display of the modal to false
this.displayModal = false

It sorta annoys me but when I code review people and ask them to remove them they get triggered.
>>
>>57350793
media queries new guy
>>
>>57350654
>>
>>57344819
c-could someone review my code?
>>
File: paint.png (166KB, 2660x716px) Image search: [Google]
paint.png
166KB, 2660x716px
>>57351010
paint was my friend, overall, horrible, wouldn't host desu
>>
Just a short question, which PHP framework is the best for PHP beginners, Symfony or Laravel?
>>
>>57351275
Well, i think laravel is easier.
>>
>>57351091
I wanted critics for my code, the design and these projects are from TOP and I just Imitated to improve my skills. What didn't you like about the code
>>
>>57351408
Could you elaborate please? I know some Perl but i completely new to PHP.
>>
>>57351010
that sign up page looks like it is from w3school
>>
Learning backend dev, should I just go with an existing webserver or should I write my own using built-in libraries?
>>
>>57351448
its design?
>>
>>57351445
I just liked laravel more because there is more useful tutorials online.
This dude has great tutorial, it is not just about creating blog, he explains everything.

https://www.youtube.com/playlist?list=PLwAKR305CRO-Q90J---jXVzbOd4CDRbVx

Also if you try to fallow that tutorial, there is little folder structure difference in latest laravel.

>>57351607
yes
>>
>>57351645
That's how the original looks like
And I think I looked up [spoiler]and copied[/spoiler] some styling for the button
>>
>>57351645
Thank's i'll look into it.
>>
>>57347974
the uncapitalized chan is triggering my autism
>>
File: tumblr_n4tbeu6ziT1r7kzgyo6_500.jpg (40KB, 500x643px) Image search: [Google]
tumblr_n4tbeu6ziT1r7kzgyo6_500.jpg
40KB, 500x643px
>>57351425
Not previous poster but dood there's no code, it's only html with some jquery and it's not even hosted. You should try to make a functioning project even if it's just another retarded calendar or todo webapp. Bonus points if you host it, this being your portfolio and stuff.
>>
>>57352032
desu I wanted some opinions on my css that's all. I have a project I host on heroku, it's a news site the backend I wrote with rails
https://newssite2.herokuapp.com
yeah yeah that carousel is retarded it's just a place holder for now. and I have a problem with mailer not sending email on production
>>
>>57352080
>https://newssite2.herokuapp.com
It looks really outdated desu.
>>
>>57352138
The design is from a project I did on TOP and I decided to add some backend
>>
>>57352138
And I only cared to add some features and make it responsive just to do it didn't care about making it look good that much I think. maybe I should change the design
>>
File: woot.png (86KB, 376x443px) Image search: [Google]
woot.png
86KB, 376x443px
>>57352080
Looks a bit broken
>>
>>57352169
No another one would go to the left but there is no content
>>
I think throwing them into the trash and starting a project I design from scratch is for the best ...
>>
What should i build to learn laravel, pls no blog
>>
>>57349887
Not ready for me. I'm waiting for support for anything not C or C++.
>>57350654
ES6 is supposed to fix this.
>>57351275
Laravel won't make you a better programmer, make sure you understand PHP 5.6 code perfectly.
>>57352240
Grab a small project from freelancer.com (one of the lowest paying ones) and do it for free, for yourself.
>>
Going to do a big portfolio /wdg/, what should it be?
>>
>>57352340
A web app for systematic catalogization of chinese adult cartoons written in assebmly.
>>
>>57352440
I don't think that's something to show an employer
>>
>>57352481
Well.. desu, i think it entirely depends on where you're going to apply.
A good start should be to make a website with an introduction, who are you, what have you done, where hav you worked, etc...
Inlcude projects you've worked on, maybe if it's something non-critical deploy it. That's how i'd start.
But keep in mind, less is more. It's better to show well done mature projects instead of "spamming" some half-backed shit on your portfolio.
>>
File: 23664459.jpg (57KB, 640x480px) Image search: [Google]
23664459.jpg
57KB, 640x480px
Can someone point me to a good tutorial to make a simple crud web app with asp.net/visual studio?
>>
>>57352558
ASP.NET MVC or WebForms?
>>
>>57352323
Yeah, thought so. From what i've read by now Laravel seems like the "easy & dirty" choice and Symfony like the proper way to do things.
While Laravel should get the job done quickly i'll probably learn next to nothing.
Therefore i shall go with Symfony. Do you have some good guides/tutorials by any chance?
>>
>>57352651
not the original guy but seeing both sides would be good if you can hook me up
>>
>>57347387

OK, here it goes:

A RESTful API that serves JSON and informs you how many prime numbers are in your IPv4 adress.

God, that baby will make me a shitload of money..
>>
>>57347387
a web site for /fit/ so they can compete with each other on their lifts, with links to stickys for all the generals on there and possibly a TDEE calculator.
>>
>>57352558

>asp.net/visual studio

Have you tried kys.net ?
>>
>>57353091
already been done.
youre waifu is dead.
>>
>>57353133
yes :^)
>>
>>57353157
> he thinks kys.net is a website

you got me anon, you've successfully triggered the fuck out of me. thanks for ruining my day.
fuck yuo.
>>
>>57353145

Link or it didn't happen!

OK wait, next idea:
A web shop where you can solve captions for money.

So if you have a bot and want it to shitpost on 4chan, you pay 0.1 ct per caption (PayPal), so 1 dollar = 1000 shitposts.

NEETs can solve those captions all day and get the money - it's not much, but enuogh so someone will do it.


Wanna make a startup with me?
>>
>>57353157

Try it without the "www":
http://kys.net
>>
>>57353186
not bird but I would be interested in this.
my programming skills are average but im really cute and energetic.
>>
>>57353195
nothin
>>
File: kys.png (157KB, 1097x729px) Image search: [Google]
kys.png
157KB, 1097x729px
>>57353228
>>
File: noice.png (55KB, 217x190px) Image search: [Google]
noice.png
55KB, 217x190px
>>57353267
>>
>>57353206

Cool, my programming skills are below average, but I'm fat and sluggish.
>>
>>57352702
What I meant to say is that you need previous experience with pure PHP and basic software design.
Anyway, the latest Symfony tutorial looks fine. Don't forget to check phptherightway.com
>>
>>57353176
i clicked it too, was hopping for a support ticket system or something, well guess i can't even kill myself without hurting someone.
>>
>>57353339
genius we'll make a support ticket system for people who want to kill themselves, anon are you in?
>>
>>57353391
fuck that's actually a pretty gud idea, i can do backend if someone wants to nab kys.io or similar
>>
>>57353422
I'll do front end
>>
>>57353430

I'll make the Logo, UX and UI.

That'll be 3000 $, upfront.
>>
>>57353117
I tried to make this in 2011. They dont care.

I have an idea for /fit/ that might work. Old idea of mine you just made me remember, but it might work.

Anyone know a good image CDN that's cheaper than hosting myself?
>>
>>57353584
whats the idea? if I'm allowed to ask
>>
Any of you guys self taught and working in Brisbane? I've been looking and It's nothing but shit up here. Is anywhere in aus better?
>>
>>57345242
html imports but the real answer is you use js templating like jade
>>
>>57353984
Kek, also in brissy, self taught backend, there is nothing but php pajeets freelance and a few rails positions. It's mostly embedded systems in the CBD if you want a real job, but good luck without a million degrees.
>>
>>57354060
Fuaark. Is there any hope anywhere in australia for IT? I got front end design skills like a mad cunt btw, don't want to have to move to Clintonland for a job.
>>
>>57354263
You should bow down and thank Her like a good little cuck do you know how much the Clintons have done to outsource IT work to the far reaches of the galaxy including your backwater hellhole?
>>
>>57354284
You must be fun at parties
>>
>>57354284
Nigga they brought in the pajeets too, same people doing the same jobs. Is there any brisbane it people who hire without degrees? Getting pretty desperate desu
>>
Working on an HTML5 mp3 manager for my personal server.

Stuff I've done:

1.) Uploading
2.) Playing
3.) Moving to next song after this song is done
4.) Navigating by artist, album, and by all songs
5.) Gets ID3 Info.
6.) Originally, I forgot to get ID3 track info, so the songs were displayed in order of upload, so I wrote a ruby script which went through and get all the track numbers so that albums display in correct order
7.) Volume slider works (I hover over the audio icon in the bottom right for the slider to pop up)

pic related
>>
Is there a way for my web app to access a smart phone's camera for scanning barcodes?
>>
>>57355010
Yes, and it involves web sockets, but that's about as far as I know, sorry. I looked up stuff about websockets before and the example they had involved access to the user's camera in real time, without opening the camera app). Of course, android and apple will request access from the user first, so it's better to tell the user WHY you're asking to access their camera before requesting access
>>
>>57355157
Correction, it uses webrtc. Here's an example:

https://webrtchacks.github.io/WebRTC-Camera-Resolution/
>>
>>57355184
https://webrtc.github.io/samples/src/content/devices/input-output/

another example. Try those two github pages

https://webrtchacks.github.io/
https://webrtc.github.io/
>>
I want to learn a front-end framework, would you guys recommend Angular or Angular 2 or React (or something else)? I already know HTML/CSS/PHP/MySQL but I'm working on learning the MEAN stack with Mingo and Node.
>>
>>57355645
React > Angular 1

Haven't tried Angular 2 yet.
>>
>>57355645
the only notable ones are react, vue, and angular 2
pick your poison, prepare to hate yourself
>>
>>57355645
Ordered by sanity
Elm, Vue 2, React, Angular 2, Angular
Ordered by # of jobs
Angular, React, Angular 2, Vue 2, Elm
>>
>>57354949
Nice work anon !
Now all you need are the album covers, a playlist feature and you are set.
Home made server is comfiest server
>>
>>57354949
Create app with electron, you can create one with ionic too and make them use same server.
>>
>>57355935
Since most MP3s come with a cover image titled "cover.jpg", I guess I'll make something like

ALBUM_NAME + COVER_FILE_PATH

and store that in the database.

And playlists are also something I'm working on; I'm doing mostly backend stuff right now, so playlists are going to take a bit of planning on how I want the UI to work (dragging items to the playlist title, etc.)

Once I'm finished, or pretty close to finish I'll put it on github for others to use on their servers if they want.

Then maybe I'll do something similar for videos/movies later

Main reason I want this is to manage MP3s for songs that aren't on other services like spotify or google play (mostly japanese music and soundtracks; I have all of the pillows on here!)
>>
>>57355876

Hahaha, this.

I'd still recommend Angular2 or React for a beginner, there's no point in learning outdated frameworks and Angular1 is just too different from A2.
>>
>>57355645
If you only want to learn one then learn react.

I'm seeing a lot of local big companies redoing their 4-5 year old sites with react now.
>>
I'm making a tic tac toe game, it's going well but one part is slowing me down

my grid is made up of divs with class 'square'. when you click on the square, I add font awesome class 'fa-times' or 'fa-circle-o' to act as the X or the O. when you hit the clear button, currently it does-

function clearSquares() {
for (i=0; i<squares.length; i++) {
if ($(squares[i]).hasClass('ex') || $(squares[i]).hasClass('oh')) {
$(squares[i]).delay(1000).removeClass('ex oh fa fa-times fa-circle-o');
}
}
}


so the Xs and Os disappear immediately. I want them instead to fade out, but if I do-

function clearSquares() {
for (i=0; i<squares.length; i++) {
if ($(squares[i]).hasClass('ex') || $(squares[i]).hasClass('oh')) {
$('.fa-times').fadeOut(1000);
$('.fa-circle-o').fadeOut(1000);
$(squares[i]).delay(1000).removeClass('ex oh fa fa-times fa-circle-o');
}
}
}


the whole square fades out also, fucking up my game board. Is there a way to selectively fade out the target classes while leaving the other classes associated with the html element intact?
>>
>>57357868

I guess I could just add a "symbol" div within my "square" div and just fade that entirely, but I'm interested to see if there's a workaround with the current setup
>>
>>57357901
Fade font color to background color if you can't add elements inside.
>>
>>57357868
Insted of using .fadeout, use .animate

$('.fa-times').animate({
color: argb(0,0,0,0);}); should work
>>
>>57357922
true enough, another decent option. thanks
>>
/wdg/, I'm developing a Python app and the Twitter API requires me to provide a callback URL in order to retrieve my authentication token. What's the simplest way for me to set this up?
>>
>>57357868

so I'm trying it out like this

function clearSquares() {
$.when($('.gameinprogress').fadeOut(1000)).done(function() {
for (i=0; i<squares.length; i++) {
if ($(squares[i]).hasClass('ex') || $(squares[i]).hasClass('oh')) {
//$('.fa-times').animate({color: "white"});
//$('.fa-circle-o').animate({color:"white"});
$(squares[i]).removeClass('ex oh fa fa-times fa-circle-o');
}
}
});
$('.gameinprogress').fadeIn(1000);
}


but it fades out, fades back in, and then the Xs and Os blank after it's already faded back in. is the logic wrong? I would imagine it would essentially be "when .gameinprogress is done fading out, perform this function (removing the Xs and Os), and then fade back in

.gameinprogress is just a container for my board
>>
>>57359100
If you're having users sign in with twitter to your app, the callback url should be whatever page you want users to see after authenticating with twitter.
>>
>>57359513
It's for personal use only, I only need to use the url once with my own account. However my understanding is that I need to send the authentication token (to my database i.e. a text file on my computer) via the callback url -- how else would I retrieve it?
>>
>>57359749
Then this is the recommended way of getting a token for yourself
https://dev.twitter.com/oauth/overview/application-owner-access-tokens
>>
Are most front end web developers actually more like graphic designers? Or do they get all the pics, designs provided to them?
>>
File: llh05BM.gif (82KB, 720x208px) Image search: [Google]
llh05BM.gif
82KB, 720x208px
EPIN album
http://imgur.com/gallery/qA4Bu
>>
I've been working with the vanilla DOM API in javascript since I've previously exclusively used jQuery.

I can see why jQuery is so popular. This is some truly heinous shit. Even with recently-added helper methods, shit like adding classes to all elements with class 'foo' is a significant amount of typing
>>
>>57359915
kek
>>
I'm trying to make a web app that will control some functions of a microcontroller like power off/on and so on.
So I'm going to use python/django for the app but I don't have much experience using it, what things should I take into consideration here and what should I focus on?
Help very much appreciated.
>>
>>57359494
fuuuuuck I feel like a dummy. handled it with a callback

function clearSquares() {
$('.gameinprogress').fadeOut(1000, function() {
for (i=0; i<squares.length; i++) {
if ($(squares[i]).hasClass('ex') || $(squares[i]).hasClass('oh')) {
$(squares[i]).removeClass('ex oh fa fa-times fa-circle-o');
}
}
});
$('.gameinprogress').fadeIn(1000);
}
>>
File: 1458061661803.jpg (66KB, 800x600px) Image search: [Google]
1458061661803.jpg
66KB, 800x600px
>tfw want to make a js game
>tfw dont want to use js

do people still use coffeescript?
>>
>>57360115
no, coffeescript is deprecated for es6
>>
>>57360115

Definately.

Coffee takes care of a lot of JS crap (of course you could use a Linter, that's not the point). It's also way more concise, readable and pretty smooth.

>inb4 muh ecma
>inb4 muh typescript
>>
File: 50.png (36KB, 300x100px) Image search: [Google]
50.png
36KB, 300x100px
What's the best possible way to build a website that will display information? Such as Apple.com, Microsoft.com, Samsung.com, Toyota.com, and similar. The information is static, but has elements that need updating periodically. Furthermore, it needs a bit of functionality for purchases and more.

I don't need a guide, but rather general advice. What would you use? Performance comes first. That's the most important thing to me. I want it as small and efficient as possible, but also be able to scale if needed in the future.

From what I know the front end has to be HTML/CSS and JavaScript. I don't think there's an alternative to JavaScript.

Back end might be a problem. Do I use Node.js which everyone seems to make fun of. Do I go with the classic PHP which seems to be the only thing about back end anyone knows... Or is willing to teach... Do I go with Python, Ruby, or even C#? Maybe Go? Would a scripting language be enough for this or is something like C# worth it for performance? Is it even worth the hassle for the little performance boost?

And no... I don't want to use one of those prepackaged bullshit things like Wordpress or anything. I want to do it myself.
>>
>>57360479
>performance
>performance
>performance

who the fuck are you, google or some shit?

in all seriousness, php
>>
>>57360479
I seriously don't know why anyone would learn PHP in 2016 if it's not required for a job they already got hired for or will 100% get hired for.
Also don't pick Ruby because only Ruby on Rails is good and it's becoming outdated faster than other language's frameworks.
>>
File: 1413305150620461762.jpg (223KB, 1870x2671px) Image search: [Google]
1413305150620461762.jpg
223KB, 1870x2671px
I have a problem with a div sliding down on hover onto another div. In Chrome and Opera while animating the overflow: hidden property is not working properely and top border radius resets to 0. I've tried using ::before and ::after but it does nothing. It works fine in FF and IE. Here's my code:

https://jsfiddle.net/1npd7dk8/1/
>>
so I need to make a real time file uploading web site.

What language should I use?
>>
>>57360741

I disagree..

There are many cool frameworks for Ruby (Sinatra, Cuba, Volt, ...).

Also Rails is far from "becoming outdated", it's still one of the most popular frameworks out there.
>>
>>57360643
But I plan on serving upwards of 10 users at a time maybe at peak hours
>>
Anyone used GraphQL? Is it a meme?
>>
>>57353186

google "pay for captcha." tons of fucking links . waifu still dead . beheaded at most .
>>
>>57353584

Cloudfront.
>>
>>57361399
It's useful for facebook because they have a lot of user data-points that get displayed differently over many different views. If you don't need to massage your data around like that, it's probably more useful to just use a regular REST API.
>>
File: Capture.png (4KB, 617x123px) Image search: [Google]
Capture.png
4KB, 617x123px
Do people use search buttons?

I don't recall pressing search buttons in a long time. I type what I want and hit enter because I'm already typing and it's more efficient then moving my mouse over.

Is there any practical purpose for it anymore? I was thinking maybe typing it in and then doing something else on the site and just clicking the button once you're ready, but why not just wait until you need it. The only other reason I can think of is copy and paste, but that can be done with your keyboard and it's faster than the mouse.
>>
>>57353623
A website for fit people.

It doesn't exist yet.
>>
>>57361867
Yeah that's what I was thinking. It's not worth the extra work for a simple API.
>>
>>57362136
http://www.bodybuilding.com/

Sure it does. It always does. The point is to be better, not to be unique. Everything has already been done.

People just don't think. They're too busy with their pointless ideas to actually think. Yahoo was the top dog until Google came around. Yahoo was untouchable and Google did the exact same idea, but better. Now look at Yahoo. It's worthless. They can't even sell it. Myspace was disgustingly popular until Facebook came along and destroyed them on top of taking over social media by FAR. Blockbuster used to be pimpalicious, but Netflix fixed that. Shitty movies and poor quality had to be tolerated until YouTube came around.

You have to do it better. Focus on doing that. This was a huge mistake for me at the start. Also, make sure to be efficient. For example, Fire Phone could have just been an application on Android or iOS. Sometimes a simple answer is better than a complicated one. If you're using something to track calories, you'd be better off creating an application because you can use the built in features of smartphones to calculate and it'll be better for the user.

Make sure to think about practicality. Why would someone use your website when they can quickly post on 4chan or Facebook? Or an established forum like bodybuilding? Not to say you won't succeed... Google was nobody and Yahoo was a giant... Look at them now, but it needs to be a calculated plan of attack.
>>
>>57362069
Mobile users
>>
So on my website (HTML + CSS) is there any way to do either one of the following make a link open in a new tab without taking focus away from the original page or make it so when I middle mouse click a link on my site it doesn't get the little dashed box around the text link I clicked?
>>
working with jquery. How do I prevent a button from being clicked with a function is running?
>>
>>57362751
4chan does that:
:root:not(.keyboard-focus) a {
outline: none;
}
About your first question:
<a href="https://google.com" target="_blank">Gugel</a>
>>
>>57362774
Very basic example, there must be a plugin for this behavior.

var processing = false;
$btn.on('click', function(){
if(processing) return;
processing = true;
asyncFunction(function(){
processing = false;
});
});
>>
>>57362775
>:root:not(.keyboard-focus) a {
> outline: none;
>}
Retard here, does this go in my CSS?

also the second one pulls focus from the original tab
>>
>>57362775
>>57362834
put it in my CSS and it seems to work, thanks
>>
>tfw knock out the back-end in 2 days
>tfw CSS takes weeks.
>>
>>57362595
Not bad advice for some people here.

Just know that there are a ton of undiscovered ideas out there. I launch about 4 a year.
>>
/wdg/, have any of you ever done one of those code bootcamps? I'm just getting into web development and, while I know that I can get a job with a portfolio and being self-taught, it seems like an easier path that helps me fill the gap in my resume while also making the initial networking easy.

I'm around the Los Angeles area. Any thoughts, reviews, opinions?
>>
hello gentles,

in the next time I want to upload my site by an anonymous off share hoster. I just want an root server which has nginx installed or I can install nginx for my self. The most important thing is, that I can pay with bitcoins and I can register my self anonym by the hoster. Any tips or experience you can share with me? Other ways known? Just tell me guys.
>>
>>57365114
dude I didn't answer you in /sqt/ because I managed to find what you're looking for in one simple google search
>>
>>57365196
Iam here for experience of user user on an anonymous board, because the ppl here are saying more then by google and other shit. You didn't understand my question base.
>>
>>57365346
no I did, your question has been asked on forums, user to user.
>>
Hey, anyone want to take a look at my code!!!
It's a php code which act as an API to Bing search engine without using Bing API.
Git : https://github.com/4hm3d/Bing-PHP-API
>>
Hey, anyone want to take a look at my code!!!
It's a php code which act as an API to Bing search engine without using Bing API.

pic is related

Git : https://github.com/4hm3d/Bing-PHP-API
>>
>>57364617

It's a simple equation: either you have time/motivation or money.

You have half a year, a place where you can work and are not a layzy ass? --> learning by doing
You have some money to spend and want to gid gut fast --> the bootcamp it is
>>
>>57365506
Its useless.

Why would anyone use your code instead of the official bing api?
>>
>>57366173
I technically have the time and place, but I figured that, if you are able to enter the workforce right after the camp, after the same amount of elapsed time you will have paid for the camp by the time you finish self-study and have a pseudo-credential on top of it. Considering that I have the money, it seems like it would be the "smart" choice.
>>
Is React+Redux now the gold standard in greenfield web development?
>>
>>57360115
use p5js
>>
File: whitespace.png (14KB, 1646x314px) Image search: [Google]
whitespace.png
14KB, 1646x314px
How do i remove this whitespace? It's a bootstrap table...
>>
>>57367792
überschreib die CSS, was sonst
>>
>>57365506
Uhh...That is just a wrapper for the Bing API, is it not? I mean, that's cool and all if you're just learning PHP, but you're literally just using curl to do a Bing search...

Also
>unity

>>57366610
If you have the money, go for it. Just don't expect them to automatically have a job lined up for you afterwards (certainly not a good job, at least). You do actually have to work hard and know your shit. With self-teaching at least you can move at your own pace.

Also, make sure the one you sign up for is legit. They aren't currently bound to real education standards like universities are, so shitty ones are rampant and outright scams aren't unheard of.

>>57366985
HMTL + CSS + JS is the gold standard. Know those like the back of your hand first. React is reasonably popular right now, but it's too early to tell if it's a meme or not.
>>
How is the React job market in NY? but most importantly worldwide?
>>
so should I be using ES6 soon ES7 or TypeScript?
As far as i know, ES6 is the standard but TypeScript enforces its own ruleset which they say is "better".

I dont /wdg/, why do we have to make life so hard for ourselves?
>>
>>57367927
but React IS HTML + JS, thats all it is. So by inheritence React is the Gold Standard.
>>
>>57368307
ES6 gets ride of old stuff and gives newer functions, saving some/many lines of code. For example .apply() was replaced with "...array"
>>
>>57368412
I see but why use ES6 over TypeScript?
>>
>>57368465
There is basically no correct answer to that in my opinion. TS is very cool.
>>
Hey what would be the best framework for a website which mainly calculates stuff? As in 2-3 single pages, you put values in, it calculates stuff.
>>
>>57368287

decent

react is 100% San Fran I hear
>>
>>57368876
decent in NY? or worldwide
or all the react jobs are in San Fran and im just wasting my looking for React jobs in NY?
>>
>>57368307
TS is basically just ES6 with strong typing like Java, C#, etc. You don't *need* it, but on complex projects, it's handy to have the compiler throw an error because you're passing a String to a function that expects a Number, rather than having to track it down yourself.

Definitely learn ES6 because it's the current standard version of JS. ES7 is worth looking into because it adds some useful things and is the next version of JS. DESU there really isn't that much to learn with either of them, I'm not really sure why people seem to lose sleep over it like they do.

After that, learn TS if you want to. It's mostly used for Angular 2 stuff right now, but you can use it for whatever. If you've used Java before, you'll pick it up easily.

>>57368318
No, React is a view library that manipulates the DOM. It has its own conventions and peculiarities to it.

>So by inheritence React is the Gold Standard.
Composition over inheritance, mang. It's a tool that does a certain thing and does it well, but there are other tools that do similar things, and might be better in some situations. Learn the underlying principles first, then React is easy.

>>57368874
vanilla-js
>>
>>57368898
react is one of the most popular jshits, you should be able to find something in most major cities of the world
you'll find a higher concentration within SF though because duh, it's SF

angular + a2 would probably be easier to find in NY tho
>>
>>57368287
>>57368876
>>57368898
If only there were some kind of worldwide interconnected network of computers that someone could use to instantly find out what the job market is like in different areas.

>or all the react jobs are in San Fran and im just wasting my looking for React jobs in NY?
Yup, the ONLY place in the world where there are any jobs at all for that incredibly popular framework is SF. You might as well go be a plumber or something.
>>
If I just want to shit out some quick prototype web apps, what should I go with? I'm leaning towards nodejs so I don't have to dick around with multiple languages.
>>
I want to start a personal project to host and share with a few friends, I'm going to use github for version control but was wondering about licences, I have no intention of making money off it right now but wouldnt exactly mind if the site got bigger and i could earn off it

What are your suggestions on the right licence?
>>
>>57370225
If you just need a simple rest api, it doesn't much easier than express, although that's pretty simple in any language. PHP is and always has been the gold standard for quickly shitting out low-quality apps though.
>>
>>57370331
You don't need a license if you don't make your code public, and you shouldn't make it public if you want the possibility of making money later.
>>
>>57370331
MIT / IPL / Apache / WTFPL if you don't care, CC / GPL if you're a freefag. You also don't have to have a license at all.

No one's going to steal your shitty app, though. If you were making money off it (you probably won't) the value would be in the service you provide, not the code you wrote. And if your thing gets popular (again, it probably won't) you're going to have people making shitty knock-off versions of it whether it's open source or not.

And desu, you can can just avoid the whole issue by putting it in a private repo. Bitbucket and Gitlab both offer free private repos if you can't part with the shekels for GH premium.
>>
>>57347974
What knowledge do you need to build stuff like this?
>>
>>57370625
1 day with a shitty how 2 make ur own website tutorial.
>>
>>57369690

stop being so reasonable, I can't stand that..
>>
File: 1364045821070.jpg (13KB, 238x279px) Image search: [Google]
1364045821070.jpg
13KB, 238x279px
>had a fun day at work today solving interesting problems while developing new features for a codebase that I'm maintaining.

What is this strange feeling? I don't know how to cope with a job that I don't hate.
>>
Why can't I just write my server code in C?

I mean, I know that you obviously can write it in C, but why is it so unpopular? Everyone always seems so obsessed with server performance these days since you're paying for the cloud by the watt.
>>
Should i learn node.js or django?
>>
>>57371654
phoenix
>>
>>57371688
I want to get a job and stop being a NEET
>>
>>57371709
C#
>>
>>57371709
take a look at jobs in your area and then learn those skills
>>
>>57371785
I don't use wangblows
>>
What are /g/ approved web hosts? No Godaddy pls.
>>
>>57371832
.NET Core
>>
>>57371858
Any good cross-platform IDE's for C#?
>>
>>57371870
vim only
>>
>>57371840
digitalocean
>>
>>57371870
Visual studio code. But I wouldn't do C# on not-windows.
>>
>>57371975
Why's that? .NET Core is already pretty popular and growing every day.
>>
>>57372002
Maybe in India
>>
>>57372011
Indians are Java exclusive, friend.
>>
>>57371654
>>57371709
Do whatever you like the most, because then you'll be less shit at it, and someone is more likely to pay you to do it, and you'll be more likely to enjoy your job when you get one.
>>
>>57371840
Digital Ocean
Vultr
OVH/So you start
Online.net/Scaleway
>>
>>57372002
Literally nobody uses it
botNet stack is cancer in general
>>
File: 1476004559844.png (119KB, 520x296px) Image search: [Google]
1476004559844.png
119KB, 520x296px
>>57371785
>another pajeet-tier language
>>
File: 85667843.jpg (14KB, 232x217px) Image search: [Google]
85667843.jpg
14KB, 232x217px
>>57371785
>proprietary Java that only works well on PajeetOS
>>
>>57372011
>>57372198
>>57372244
>>57372263
Man, this guy is mad. Sounds like a kid who's never actually programmed anything his entire life.
>>
>>57372284
>angry Rajesh in full damage control mode implies samefagging
>>
>>57372367
He's not wrong
>>
>>57372367
downvoted :^)
>>
>>57372198
>>57372244
>>57372263
this is the most shameless show of samefagging i've seen in years
>>
You guys know a good way/free service to test my css across browsers?
I can't figure out how to install safari..
>>
>>57373143
Any serious web developer has a mac :^)
>>
>>57373171
I am just a failing cs student impostor / neet who wants close to minimum wage for slinging shitty front end code..
Pls tell me Apple isn't fucking me over on this one..
Do I need to install a vm!?
Pls tell me apple isn't fucking me over on this one!
>>
File: 1452206483165.jpg (35KB, 344x550px) Image search: [Google]
1452206483165.jpg
35KB, 344x550px
>tfw backend web development is interesting as fuck but front end is a nightmare
>>
File: anbs5.gif (19KB, 256x222px) Image search: [Google]
anbs5.gif
19KB, 256x222px
So I found a freelance gig on craigslist (lol) and I'm looking for wisdom. The client has a really outdated website (http://www.blacksheeptrading.com/) and is looking for a new website with WP.

I'm a recent CS grad but I've only started learning webdev about a month ago, does this look like something i could handle? They said they're not looking for a pro, just someone willing to learn. Anyone have WP experience?

pic related is the centerpiece of their website
>>
>>57373306
then
be
a
back
end
web
dev
???
>>
So i just got a job as a back end web dev (first time working on web dev). The company is using Rails. Their sites are super slow, especially when I run them locally. The terminal keeps calling tons and tons of sql queries to load a single page and locally it might take 3-4 minutes to load.

Is this normal for Rails and web dev in general, or are these people bad at programming? They're using their own custom CMS for their sites.
>>
>>57374070
Cakewalk with Wordpress and a shopping plugin
>>
>>57374129

most web devs don't give a shit about performance

the company i used to work for was using ror and they had some rake task that exported some stuff from databases and it took like an hour or more to finish. I just sat down for 20 minutes and wrote the equivalent sql query which took like 10 seconds to complete.
>>
>>57374070
that is cute.
>>
File: SCLincoln1.jpg (53KB, 537x650px) Image search: [Google]
SCLincoln1.jpg
53KB, 537x650px
>>57374070
>165 Dollars for one.

What the fuck.

These crazy sheep butchers are making bank.
>>
What is the best way to keep a bunch of sites on one server but isolated and easily movable? I have tried docker but it eats memory like a bitch and I can barely run 3 sites without something going down due to memory limits. This is on a $10 digitalocean server. I could run 30 sites or more on here probably without it.
>>
>>57374378
reading their reviews they apparently rip people off all the time
>>
>>57374070
Don't worry wp is easy. Either pick a free theme and modify it, buy a theme, modify it and charge it or take some extra time to learn theme development and some basic php skillz.
Alternatively there are some specialized ecommerce cms you might want to consider.
Just make clear with the client what it is they think you're supposed to do ie setup the site, write content, setup shopping features or whatever
>>
>>57374954
Also make them change their hosting provider, this one looks sketchy and expensive as fuck
http://www.islandwebinc.com/
>>
>>57375026
but dont switch to a better and (cheaper) provider without negotiating more pay in some form or another
doesnt have to be now, but keep that in mind later on when negotiating for shit
>>
Is JavaScript and weird pseudo-languages that compile into JavaScript still the only options for frontend web dev?
>>
>>57375060
>weird pseudo languages
thats not all that exists
but javascript is very much a thing, I mean that much should be obvious pham
>>
>>57371372
It's called fulfillment and it means that you're a real human bean. I wish I had a job to have that feeling again.
>>
>>57374954

Cool, I figured as much, I'm mostly worried about expectations and idk what to charge at the moment, I guess I'll know more tomorrow

>>57375026
>Also make them change their hosting provider, this one looks sketchy and expensive as fuck

ha, I also had this reaction

>>57374291
my naiveté or their gif logo thing?
>>
>>57375060
Yeh because the browser only runs Javascript.

Because its the best language.
>>
Hi /g/
I have a local apache webserver on running on a GNU/Linux machine, and I modified the /etc/hosts file on that machine to add the following line:
# v the local IP
192.168.1.2 mywebserver.com


Now I can access my website using a web browser on that machine from the url http://mywebserver.com.
If I wanted to access it from another machine on the same LAN, I'd have to add the line above to the hosts file. Is there another way to do this without having to register a domain name?

Also, if I wanted to make some virtual host on that machine, say for example:
vhost0.mywebsite.com,
vhost1.mywebsite.com,
.
.
.
vhost9.mywebsite.com.
is there a way to do this without making all the above point to the same local ip address on the hosts file? i.e., can I do something like
192.168.1.2        *.mywebsite.com
>>
>>57375678
Not him, but that sheep is kinda cutesy.
>>
Hi, 4chinz

I want to make a simple echo server with websockets. I'd use Node.js, but node doesn't have native threads for some reason, so I want to stick with something more traditional like java (which is the only other language I'm comfortable with doing this in, other than C (and fuck that))

I know I could do this in Ruby or Python or something, but I don't really know Ruby or Python well

So, what's the simplest way to make an echo websocket server in java? Or is there a decent thread library out there for node that will solve all my problems for me
>>
>>57376431
G O O G L E I T
>>
>>57375801

add a DNS entry to your router that points mywebserver.com to that IP and anything else to the weeb . same thing for the virtual host .
>>
>>57376431
Recently I had to deal with an Spring project. Based on that, I'd suggest you should use raw Java or Golang.
>>
>>57376431
Golang is really good for this kind of stuff, it has C-ish syntax and baked in concurrency primitives
>>
File: bootstrap.png (117KB, 728x400px) Image search: [Google]
bootstrap.png
117KB, 728x400px
What is /g/'s alternative to pic related?
It's slow as fuck
>>
>>57376876
...But if you are developing a basic app it doesn't matter actually :3
>>57377441
Who says you need to include the whole framework?
https://getbootstrap.com/customize/
>>
>>57377441
You might be retarded.
>>
>>57377441

Materialize, for me. simple as fuck. I liked how some of the features I want comes with the framework itself, like Parallax and SideNavs .
>>
>>57377441
>somehow so retarded you make bootstrap slow
L M A O
>>
>>57377629
>>57377636
>>57377660
I didn't want to post in danger of seeming retarded but I thought the point of bootstrap was for it to be fast.
>>
>>57377441
purecss
>>
>>57377680
it is
idk what the fuck you did to it
but if you want a minimal css framework there are alternatives, literally searching css frameworks will get you like a hundred of them
>>
>>57377680
>I didn't want to post in danger of seeming retarded
>Posts with tripcode
>>
>>57377636
>>57377660
>>57377767
Now that I think about it, I do add a lot of animations to my sites and develop/view everything on a $100 craigslist desktop. That's most likely the problem.
>>
File: logo.png (33KB, 532x327px) Image search: [Google]
logo.png
33KB, 532x327px
I am building an image upload web app from scratch. It needs to be lightweight as fuck.

So my question is, can I truly make a web app using only HTML, CSS, and standard JavaScript (and maybe jQuery)?

I went through some Angular tutorials, and the amount of stuff already in the project folder before I even wrote a single word to index.html is appalling.

Also, are web.py and Spark any good?
>>
>>57378293
You can do everything the big frameworks do, just required more boilerplate.
>>
>>57354051
>>57345242
or ejs. not as pretty as jade but easier to port existing html to a template.
>>
>>57378293
By the way, making something only in HTML/CSS/sJS doesn't mean it will automatically be lightweight as fuck. You need to legit know what the fuck you're doing. Frameworks make it easy to stay lightweight as long as you aren't literally using hefty frameworks to do basic shit.

But, you're pretty much breaking a key design and development rule. Stop thinking of lightweight as this grand concept. Focus on pumping out core functionality. Then features. In both of these steps you're altering code to be as efficient as you desire, but not so human-obtuse. Then polishing allows you to really get in there and finish off some rough edges for those extra ms.
>>
>>57377441
>>57377680
it is fast. did you include in script tag? most of the features will still work without the javascript part, it's almost entirely css.
>>
>>57360184
epic joke bro
>>
>>57374070
Whatever you do, don't work for free.
>>
Hey /wdg/,
I'm feeling a bit retarded here.
So a friend of mine and I are making a smart mirror and he's made everything in node.

Now on both of our machines everything works fine, but for some reason, on the ripi we are using it will work fine for a little bit, and then all the modules (clock, weather, xkcd-getter) for the smart mirror will be updated like 10 times a second instead of once a minute, and everything lags and thousands of web requests are made.

Here is the code that calls the modules, when they need to be called.

// Update all modules in array
function update() {
var module;
for (var i = 0; i < modules.length; i++) {
module = modules[i];
// Update at specified frequency
if (Date.now() % (module.updateFreq * 1000) < 1000 / FPS) {
module.update();
}
// Draw every step
module.draw();
}
}


For some reason, when it goes haywire that Date.now() % (module.updateFreq * 1000) constantly equates to 2.25*10^-308

What the fuck is going on.
>>
>>57378293
>Image upload web app
>lightweight

Uh...I don't know exactly what your plan is, but plupload to php is fine for most things.
>>
>>57379237
That if condition is fucking retarded. Store the last time of the update and evaluate (Date.now - lasttime > updatefreqinmilliseconds).
>>
>>57379587
Hmm, that seems to fix it, thanks anon.

I wouldn't have expected that condition to break it though.
>>
File: CoOF1qXUsAA-b89.jpg (881KB, 2048x1033px) Image search: [Google]
CoOF1qXUsAA-b89.jpg
881KB, 2048x1033px
I want to develop user script, how do i source my script into extensions (tampermonkey or greasemonkey) so they will load newly built script file directly without me uploading to gist and pressing "update" buttons?
>>
>>57380636
I have found the solution, files are located in home directory in .mozilla/firefox/{profile}/gm_scripts
>>
var timeout = setTimeout(function(){ purgeThred();},3600000 );
>>
I would like to create a website with an online store with Ruby on rails but i don't know which "gem" use .
Have you some Front to advise me ?
>>
>>57382481
> let
> =>
>>
Cookie question.

If I save information in a cookie that 'automatically' logs a user in when he revisits my site (with the account he was last logged in and didn't log out explicitly when leaving) - could somebody 'steal' this cookie from his computer, inject it in his own browser and thus gain access to the first guys account?
>>
>>57383150
Yes, you can move cookies around.
But it's not possible to get a cookie from other domain, you don't control.
>>
>>57383046
Will it work in your browser anon? I don't wanna make you leave the best browser IE 8.
>>
>>57379848
Well you should have. Why "< 1000 / FPS"? How is that going to be true only once every 10 secs when "less than" means there's a range of values that evaluate to true? I don't know what FPS is but the result of 1000/FPS would have to be 1 if you want only 1 millisecond every 10 seconds to evaluate to true. If 1000/FPS is not 1 then it will evaluate to true for many milliseconds, updating each time. And even if it only updates when FPS/1000 is 1 it's still broken because if that loop runs more than once per millisecond, it would evaluate to true more than once within the single millisecond where it's supposed to update.
>>
Learning Reactjs. Its pretty comfy so far.

Tell me bad things about React.
>>
>>57383305
>Tell me bad things about React.
Its not Angular 2
>>
What's a good quickstart guide on web frontend dev? I don't need an indepth tutorial on HTML/CSS/JS, just enough to slap something together for testing while I write my backend.
>>
>>57383330
0/10

is that all you got?

>>57383336
copy paste staack overflow
>>
The smallest feature set, that lets you test backend to full extent.
Ignore CSS completely, ignore HTML design, add only parts that you need for testing, you can also skip on JS, if you don't have use for it.
Don't use any frameworks nor memelibs, it will only make spotting problems with backend more difficult.
>>
>>57383542
this is bad advice,
you can learn html and css in less than a day.

and you definitely want to learn JS. also you can use JS in the backend with node.

Additionally you should learn php or python, as its good to know them.

Stay away from CMS like wordpress, drupal, etc..
>>
>>57383602
This is bad advice.
CMS arent bad, but don't use them for what they aren't designed for.
Also, please don't learn COBOL ever.
>>
Will web assembly catch on in the future?
>>
>>57383602
He doesn't want to create frontend, from what I understand, so the answer is totally on topic. And he already knows HTML/CSS/JS, I guess?

But maybe it's me who misunderstood.
>>57383336
Quick Google search resulted in http://iteslj.org/Articles/web-page/ and it looks pretty good and on topic, very tl;dr, if that's what you are looking for.
Basically HTML is a markup language, XML-like. There are about three types of tags: block (e.g. <div>), inline (<b>, <span>), and inline-block. HTML ignores newlines, so you need to use <br> for line breaks. There are two sections, <head> with all metadata tags, and <body> with page content. Most tags have closing tag, with few exceptions like <br> and <input>.
The simplest template would probably be
<!doctype html>
<html>
<head>
<title>Page title, displayed in window and tab bar</title>
</head>
<body>
Actual page content.<br>
The <span id="myID" class="myClass">whitespace</span> is ignored, page won't be indented.
</body>
</html>


For CSS, it's a rule language. It's structure is as follows:
selector {
rule1: value;
rule2: value;
}

Selector can be a tag name, an ID, or a class. IDs need to be unique, class'es can be shared among tags.

You can include CSS and JS both in page, or in separate files.
>>
Can anyone tell me should i continue with using NoSQL db? Lot of negative comments heard about mongo
>>
>>57383690
CMS are a waste of time because, you don't actually learn web development. You're forced to learn "their" way of doing things, therefore none of the skills you have using CMS A don't transfer over to real web development.
>>
>>57383709
that'll be the day JS will become PHP and web assembly, the new JS
>>
>>57383785
Do you mean learning how to use a popular CMS is bad for my job experience?
>>
>>57383785
>real web development
lol, "real web development" is when you have customers and the priority is getting things done quick and not reinventing the wheel on every project.

You should however know the language you're working with.
>>
>>57383815
depends on what you define as a "job",
why not just use a website builder like Wix for every thing?
>>
>>57383841
You do know what a false dilemma is, right?

Have you ever developed a custom content management system? If so, how many times?
Were the components totally different from each other?
Sorry for the amount of questions.
>>
>>57383904
this is why /dpt/ makes fun of us.
>>
>>57383937
Good answer. Clear and to the point.
>>
>>57383775
Yes, you should.
It's a good DB, possibly the best in its class. It has really serious uses.
If you use it, and it works well for you, I don't see a reason to stop.
RDBMSes have different use cases, than Wide Table databases, than object databases (often called NoSQL).
If your data is not relative, then you don't really have a reason to use RDBMS.
What you shouldn't do, is use technology for the hype.
>>
>>57384016
tldr;
use nosql for data you dont mind losing
use sql for data you care about.
>>
>>57384040
This is outright wrong. SQL database does not have to conform to ACID, likewise NoSQL can conform to ACID.
And SQL is just a language used to communicate with some databases. NoSQL is a really weird term, it doesn't really mean what people think it means.
>>
Could I rent some cheap VPS and then use that as a gateway to a more powerful system on my home network without directly exposing it to incoming internet connections?
>>
http://collinoswalt.com/ip/

Bored. Converts the first 3 octets of your IPv4 Address to hex color. Originally used the 4th octet as alpha, but then most of the IPs I tried ended up either being white or black, which was boring
>>
is there any way to record how quick your site is loading?

what's the sort of optimal loading times
>>
>>57384535
many plug ins for that in the chrome store
>>
>>57384535
>optimal load times

Anything that loads before the user gets bored and closes the tab
>>
>>57384573
That's blasphemy! The /wdg/ talking point is that thou shalt not use a framework because load time must be below so many nanoseconds
>>
I'm having a weird issue with a site I've made. I've built it to be responsive. It looks fine when resizing it in the browser.

However, when viewing it on an Android device in the Chrome browser, it has this weird issue where a small bar of whitespace appears at the bottom of the screen. The bar changes size depending on how fast I swipe downward, and whether or not the address bar is present on the top of the screen. To be honest, this page should not really be scrollable in the first place. It has a min-height of 100%, and there isn't any element within the page pushing beyond that 100% boundary with a margin or padding or something like that.
>>
new thread
>>57384928
>>57384928
>>57384928
>>
>>57360115
>>57360184
Don't listen to this anon. coffeescript is dead
Thread posts: 318
Thread images: 31


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