/wdg/ - Web Development General

Why aren't you using PHP ?

Previous thread: >COMPLETE BEGINNERS GUIDE
github.com/kamranahmedse/developer-roadmap

>Free beginner resources to get started
Get a good understanding of HTML, CSS and JavaScript.
developer.mozilla.org/en-US/docs/Learn - a good introduction (independent of your browser choice)
freecodecamp.org
codecademy.com
hackr.io
theodinproject.com/

>Further resources
developer.mozilla.org/en-US/docs/Web - excellent documentation for HTML, CSS & JS
github.com/kamranahmedse/developer-roadmap - Frontend+Backend learner-path suggestions
youtube.com/watch?v=Zftx68K-1D4x

jsfiddle.net - Use this and post a link, if you need help with your HTML/CSS/JS
3v4l.org/ - Use this and post a link, if you need help with PHP/HackLang

>PHP resources
pastebin.com/gfBPg24A

Attached: 1543097543963.gif (360x240, 914K)

Other urls found in this thread:

youtube.com/watch?v=S8zhmiS-1kw
probeta.net/moodle/pluginfile.php/1990/mod_assignment/intro/exercicisEstructuraIterativa.pdf
probeta.net/moodle/mod/assignment/view.php?id=1826
twitter.com/SFWRedditGifs

use php virgins.

youtube.com/watch?v=S8zhmiS-1kw

Attached: php_gets_more_booty_than_you.png (514x289, 316K)

Attached: _.png (3275x751, 168K)

why do you use `array(...)` syntax instead of `[..]` ?

what is love?

Love is difficult to define. How do you avoid confusing it with infatuation or lust? Philosophers and psychologists both have attempted to define love, or at least its difference from infatuation and lust. If you are looking to find love, the following observations may be helpful.
Love is much more than a risk, but is a risk that one can take and grasp and fall into a dark abyss or dig oneself a hole and only crawl back when you overcome your emotions.
How can one truly define what love is? Not even an experienced person can truly grasp or explain love to its truest and deepest meaning. Its concepts are just a never ending story of an open book of experiences. But love does lie in one's heart, where memories are but shadows lingering in your soul.
Love is giving someone the power to break your heart, but trusting them not to. You are simply giving the other person the right to make their own choices without your disappointment. Loving you is a choice, and it can only be real if it is given freely, without wanting anything in return.

Well, the crypto is gone. Guess I'm back to bullshit projects again.

Love is just a hormone cocktail.

Love has lust, but lust does not have love.

What's the best (as in does the job with no catch) MySQL hosting service? Doing a small project for class, I don't mind paying as long as it's reasonable, this is nowhere near enterprise level.

I use digitalocean.

It's 5 dollars a month.

I love my dog but i dont want to fuck him

Well I'm never wrong, so you clearly want to fuck your dog.

I am writing a desktop software that I want to sell online. How hard do you think it would be for someone who is not a professional web dev to build something like that? Is it easy enough or should I just use some platform like Shopify?

You should use shopify. e-commerce is one of the most difficult things you can do in web dev.

what happened to crypto?

I lost like 95% of it from the crash. Blew past my budget by...a few thousand and had to pull out most of it to cover my mortgage, car, and some other expenses.

I'm a NEET, but I don't want to end it all just yet. Is web dev the best way out of neetdom?

Attached: 1533575402313.gif (300x300, 2.13M)

sry to hear that. I sold my stinky linkies months ago (bought at 0.27c and sold at 0.55c)
I obviously didn't make it but it was enough money to cover 80% of my college debt, get a new used car and buy a decent le gamey PC

Ok will probably do that then thx.

Retard time: trying to understand the tech behind web dev after doing purely embedded & desktop based dev work, looked at an AngularJS tutorial and think I have an understanding of how SPA's work (ie a client downloads the whole blob of HTML/JS/CSS that then runs and occasionally uses AJAX/RxJS/etc to get content from a server dynamically & update the DOM), but don't have a concrete understanding of the traditional/MPA style - is the latter basically getting requests from the client and then dynamically building the HTML/CSS on the server that then gets transferred to the client?

Attached: images.jpg (443x332, 20K)

Good for you. I made a bit on WTC and ETH that I used for some medical procedures. I am just sad that my 11x on ADA I kept in BTC instead of moving to USD. I really just believed in the dream. Thought that dip would end and then it didn't. I only put 60 dollars in initially though. 30 in RISE ICO and 30 in WAVES. It's been a fun run.

Cause i'm a dummy. How do i start on a xubuntu machine.

Hey everyone,

Does someone here use emacs and wants to share the .emacs for it. I recently got into webdev need some nice config ti get started.

Attached: 1qmaz4hlj5i11.jpg (896x1120, 82K)

Got Nginx support in the docker-compose setup (uWSGI was directly serving an HTTP socket beforehand) so the production Docker image should work with a lot less trouble in an actual production environment. Also added S3 bucket policies such that attachment URLs don't have crazy lengths due to needing to be signed; as a side consequence attachment URLs no longer expire.
OAuth2 support for the REST API is the last thing I really really want to get done before deploying a public instance to futatsu.org, though at some point in the nearish future I want to reconfigure the attachment code to generate URLs directly pointing to the S3 box to save a hit to the uWSGI server. Not a thing that'll be necessary with the amount of traffic Futatsu will probably get for the near future, but it's good practice all the same.

Attached: Screenshot_2018-11-27 Maniwani - Double-check that nginx + the new S3 changes work.png (1562x791, 86K)

Would anyone be interested in helping finish a niche website?
It is an essence a place to read and participate in interactive stories (a.k.a. quests) made by fans for fans.
We've got the backend, a very detailed design document, a finished (in a big part) visual design. What we need to it make the frontend.
The whole project is completely pro bono, but the whole team will be extremely grateful.

>jewish made scripting language
>literally market it with porn

oy vey, Jow Forums memes are real

>can't define it
maybe it doesn't exist if nobody knows what it is. maybe it is just an illusion we attribute to evolutionary caused bodily sensations

Dude please start with the basics of web dev, don't jump in at the deep end otherwise you develop a bad approach to it, learn what HTML, CSS and JavaScript do and how to write simple web pages before you jump in to trend of the month and become confused by the terms and marketing babble

Is it worth getting a certificate in web development?

What kind of certificate (that could mean anything)? Does it cost money? Are jobs asking for qualifications or do they ask for a portfolio?

The college doesn't say what certificate it is, It costs 3,000 usd. No idea about jobs.

const BlogIndex = ({data}) => {
const posts = get(data, 'remark.posts');
}


I'm trying to help a friend with a react project but the template is all stateless. can anyone explain how i can expose posts outside of this BlogIndex variable? It's the = ({data}) = I don't understand as I'm not familiar with JS and there's no defition for it.

If $3000 sounds alright to you then why not? Web development is a creative field just like art or music, you may learn something interesting on the course but it is much less about qualifications and more about what you make in your spare time. So if you are building a portfolio and learning in your spare time then I'm sure the course will be of great benefit. Go for it if you think it's good value

it's not worth it

just pay $10 for a udemy course, you'll get the same amount of knowledge from both cases

Looking for a replacement to Webpack since it has a billion dependencies and I don't like how popular it is. Rollup or Parcel?

>I don't like how popular it is

Attached: 433789F872FF4DB194A287EDA70C198F.jpg (663x643, 286K)

>that I used for some medical procedures

fuck off shemale

t.pol shit poster

How much of python coding is there actually when using django? Just for the groundwork such as views, urls, apps and tests? I'm trying to learn, but the deeper I go, the less I actually have to write logic in python, it's just for connecting things.

No, drawing furry porn on patreon is. You don't even have to be good.

So i am starting my "fun" with React and i used create-react-app and that shit created a folder that is 200mb big

Is that normal

Attached: 3529238327523.jpg (1079x1280, 141K)

Welcome to React, the definitive dependency hell

>Learn about Loops
>understand how loops work
>do some practice on my own to make sure I understand them
>try to use loops in practice assigment from course
>brain completely deleted how loops work and it just looks like a bunch of nonsense to me now
Why is it so hard all of a sudden, I thought I understood it completely and it's just gone now.

Anyone here uses/has used LUA for webdev?

Is it worth me taking a few baby steps into CSS / HTML5 to produce a single page website or should I stick with my (limited) knowledge in c#, assuming it can be done.

I was also told about "bootstrap" if I intended to develop a website, though at a quick glance appears to be templates of some sorts for css.

>to produce a single page website

What? You can link to another HTML file on your html page thus making it a multiple page website.

NEXT PAGE

I do

it means you didn't understand it at all

Don't worry, most of us were in the same spot as you

well I was going to use it for a launcher, but I shall keep this in mind. I would have to write it in HTML5 then I take it? Was hoping vis studio or the likes would have the hand-holding webpage design feature as they have with win forms.
this is what will link to another page?

Again sorry for my lack of knowledge anons but would I be able to host the files on say google drive and access it that way via a windows form app, or would it need to be hosted on a platform for websites?
I seem to remember being able to access a website a friend of mine made some years ago and he used google drive to essentially host it for free,

I even did some practice stuff on my own and it felt like it made total sense to me, I even did some things they ask during interviews like print all uneven numbers to the console between 1 and a million and I figured it out on my own and felt really good about that.
Then I thought let's try the actual practice assignment in the course and it just felt like I was trying to push a square block through a round hole and not getting why it wasn't fitting through it.
It's so frustrating because I felt like I really understood it just a moment ago.

thanks but i haven't applied in a month since

>try to learn JSP
>see SQL within XML
I think I'm done.

Angular react vue? What should i go for?

because one thing is understanding loops, the other is understanding the maths that go with them, I'm doing loops in class atm, and for example I had to do a square root without using the default square root funcion and using a loop for it. I did it but it felt hacky as shit. Then I had to do a fibonacci sequence, and I'm still trying to figure that one out, it's maths + programming, you have to hink matehmatically AND have maths knowledge you can apply, if you haven't got that math knowledge and programiming knowledge to go with it you are stuck. Programming is hard man.

look at job offers around you, take the pay, popularity and future proofing into account, then pick one

>what should I pick? A? or B?
it depends on the market desu and what are companies asking for lately. Check how many companies/startups require people with knowledge from A and compare it with knowledge from B.

why are people picking php? aren't languages like java/c# better than php?

I am learning php right now.
I will tell you what my autistic brain have figured out that java and c# is used mostly in corporate. where as php is easy to deploy and used in small projects and must faster to build things up.
Someone correct me if i am wrong.

Yeah I'm probably barely understanding the true working of loops.
I wish there was some more stuff I could do to practice this in the course I'm taking.

there are websites with coding challenges you can check those, there might even be ones specific to loops

Visual studio has a .NET core in which you can develop websites using HTML CSS JAVASCRIPT.

And yes that's how you link to another html file. You just put the name of your file in quotation marks which then transforms the text like Next Page in my example into a clickable link

Yeah that might be the best bet, the last coding assignment in the introduction chapter I'm following is a mash of loops and functions and methods and it's just really complicated for me at the moment.
I'll just have to look around for coding exercises to get my stuff up to date.
Also a bit related to the previous question, is there a way to run javascript in some sort of sandbox that wont crash the entire browser when you mess up a loop (as in making it run without end).
I already crashed my browser a couple of times because I was messing around with loops and running it in another window doesn't seem to solve it.
Maybe in another browser entirely ?

here are my class exercices for loops, they are in catalan but I'm sure you can translate them, and if you look hard enough you might even find the answers for them

probeta.net/moodle/pluginfile.php/1990/mod_assignment/intro/exercicisEstructuraIterativa.pdf

from:
probeta.net/moodle/mod/assignment/view.php?id=1826

Yeah but then wouldn't it be better to just use Node

if I'm not mistaken VScode comes with a built in console, maybe try that? Do your reseach though I've never tried that program and it might crash too

Most of the shared hosting comes with php support and its very cheap to deploy your site.

I'm actually use vscode, it does show when errors are in the code (like if you forgot a semicolon) but I'm not sure about actually running the code inside of it.

I see, thanks for the response, one last question I have would writing it in CSS be generally 'easier' than HTML?
thanks again user

Should I skip every other old HTML version and just jump straight to HTML5?

the other way around, HTML is just brain dead components, CSS is boxes you have to align and their particular alignments and properties, way more extended than just HTML, HTML is the skeleton, CSS is the muscles, organs, skin, veins, etc

hey guys, i need some help with a personal project.
i need to embed three live stream chats in one html file, one from twitch, youtube and mixer.
yesterday with your guys's help i managed to embed twitch and mixer with code below, but i still need to get youtube live chat in there, any of you guys have an idea how to do it?



body {
margin : 0
}

You got it wrong

HTML is the skeleton, CSS is the makeup, JS is the muscles

you are right, but I was just trying to illustrate the complexity of CSS when compared to HTMl

Yeah kind of, i mean the older version still work but html5 has a lot of new stuff.

Just replace the link that you want with the code for the youtube live chat.

Okay, think I understand now, thanks again for taking time to reply fellas, appreciate it.

Re-asking this on here since /dpt/ doesn't actually make anything.

Can anyone red pill me on Go, and should I learn Go or typescript for webshit?

Attached: goguy.png (256x256, 16K)

Go and typescript don't do the same thing. more like Go and Node (for back-end). Both are good/great contrarian to some Jow Forumstards opinions, only Node is vastly more popular.

is this good code or bad code?

Attached: 9zv04tayeu021.png (1657x873, 2.41M)

that doesn't work, i have not been able to embed youtube chat yet, if you just replace the link third column is blank, i was googling around and they did sonething to it, it needs to be embeded with some java or php script, but the examples i found are either outdated or i'm not implementing them right, becouse none of them worked. yesterday user recomended ajax but i have no idea how to even start using that

another example i found seems to require the code being hosted on a tld, but i'm hosting it locally so that might be why it doesn't work, i tried replacing it with 127.0.0.1 but that didn't work either

more like this, HTML is the raw text, css is the book pages, the font, the chapters, the index, everything, but it would be empty without the text, get it?

Attached: 1 74PrNMxDPrqHwKI7P-K9GA.png (1600x664, 233K)

Thanks m8's. I'll go with typescript for now since it has more support.

So i am currently learning React and even if people cry how hard it is its going on "fairly" smoothly, but now i see people saying that Vue is the next big thing Angular is dead React will soon die and everything will be Vue, how true is that? I am just starting with React so i might just switch to Vue if those are true statements

Attached: 68568686586848.jpg (1064x672, 491K)

do yourself a favour and check the job offers in your area and in general, the popularity and the pay

Damn, I really think we should include this mantra in the OP

Attached: Swastika Shaman1.jpg (1536x1152, 312K)

broski there is not one place in the world where Go is more popular than Node/js whatever you wanna call it

maybe it's growing or paying more?

how do i embed youtube chat in a local html file?

So this happend - pic rel.
>warning, $dbh is missing.

It's in database.php which is included.
I could just ignore it but that yellow markup catches my attention everytime i look at the code. Can I somehow disable this single warnings on eclipse without changing error reporting?

Attached: Capture.png (445x65, 5K)

We use PHP 7 in production and it does great.

>i tried replacing it with 127.0.0.1 but that didn't work either
maybe try something like localhost ?

i tried localhost, 127.0.0.1, my real ip and my network ip, nothing's working

i was also googling around, looking for another solution and i found this program called slickscreen, it let's you display multiple websites in one window, but it's some garbage abandonware from 2016 and neither twitch nor youtube chats are working in it, mixer chat displays fine though but the whole program is a fucking mess

have you digged through simple ajax load functions? maybe there is a simple way to do it

my coding experience is limited to very basic html with simple css, i mostly modify what i find and work with examples, i doubt i'll be able to write in js or a js framework like ajax

It would require PHP as well, too much.

Is there a way to have text in a list cut off at full lines when it overflows? eg not cutting off words halfway through the letter, but rounding down to the last full line

Anybody got that bookmarklet which finds /wdg/ in the catalog and takes the user to the URL of the current thread with JS magic