Previous Thread: >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.com codecademy.com Try working on and learning from your own personal projects as soon as you can.
What are your go to JS libraries. I started with just JQuery and Bootstrap, but now I'm moving into Angular with Angular-Material. Haven't touched React. Looks like it has html in the js which I don't like.
Julian Johnson
I'm encoding data containing forward slashes with encodeURIcomponent so that they are passed server side as %2F, but when I split them apart server-side (e.g. $newstring = explode("/", $string)) they get treated as though they're separators instead of part of the data.
Is there any way of preventing PHP from treating %2F as a / character for explode operaions, other than replacing the forward slashes client side with characters that aren't likely to occur within normal data, like ¬ or ^?
Sebastian Russell
I gave jQuery a try some days ago incidentally. Couldn't enjoy it. p5 looks nice from what I've seen but I guess it depends on your own priorities and what you want to develop or learn for a job.
Evan Anderson
Need help with job search /wdg/. Stick with what I know and am fully confident in (LAMP stack) or be something bold and brash and learn something new (Node.js)? I'm familiar with PHP but don't want to be stuck with PHP jobs for all of my career.
Isaiah Martinez
$query = "my=apples&are=green+and+red";
foreach (explode('&', $query) as $chunk) { $param = explode("=", $chunk);
if ($param) { printf("Value for parameter \"%s\" is \"%s\"\n", urldecode($param[0]), urldecode($param[1])); } }
Jayden Thomas
nah php is ok. just use vue/react for frontend and ajax to bridge php
Camden Davis
You my get turned down for positions if you don't know node.js because node.js is trendy and PHP is seen as stale by some, even though it gets the job done. Learning node.js is evidence that you are capable of learning new skills, and if you don't want to be stuck doing PHP, then there's not much choice.
Juan Nelson
Reminder that there is no good reason NOT to use Jquery in not frontend framework webpage.
Justin Jenkins
Did a quick google of Vue. Looks like an angular knockoff. Why use that instead of angular?
Austin Perry
Vue is a lot more simple than angular, smaller and faster too. It focuses on just views rather than routing with models and controllers and all that.
Chase Walker
Good time to check it out now, with the 3rd edition being released recently. Seems to be focused on a beginner/intermediate level though from looking at the chapters, right?
For frontend, usually libraries like Vue.js, axios, pino. Everything else dependends on the situation, like Moment.js, Socket.io or different chart libraries.
It takes parts of both AngularJS(1) and React. Compared to Angular it's much less opinionated though and also much more lightweight. (and modular) Same goes for React, but then with Vue vs React you have to decide whether you prefer JSX vs HTML-directives for templating, among other things they do differently.
If there is actually good reason not to use $_GET then use parse_str. If it has same problem then your string is getting decoded automatically /too early.
Lincoln Garcia
Noone stopping you from including it in your stuff, but in most cases the functionality people used it for is now built into browsers, like querySelectorAll.
Maybe it's useful in certain cases, but then it has to be useful enough to justify 30kB of gzipped JS, that has to be loaded and processed.
Hope you are not the jQuery caching guy from last thread.
Matthew Morris
Learning webdev and programming in general, slowly pugging along, putting in a solid 2 to 4 hours after getting hom from work at 8pm. About a moth now.
Suddenly it all feels useless. There is so much to learn. I feel like I have done nothing at all. Why even bother? Everyone is a MEAN JavaThon# ScriptSQL wizard working for Googazon AppleBook with a side-business doing doing easy consulting or web-dev work.
If you're just realizing now that you are competing with many people who went to school for 3+ years to learn something, maybe you should scope your expectations to be larger than a month. There is no "get rich quick", one month no-worries solution. Either stop crying and get learning, or give up.
Anthony Powell
What particular node.js? The npm? or the express + database of choice eg; mysql? What are the other common node.js uses aside from npm?
Wyatt Harris
server
Zachary Garcia
Or, alternatively, most people on your discussion site of preference are bullshitting a significant majority of the time and in general trying to appear to be more than they are. I don't know why people would do that, just go on the internet and lie, or at least fake and fib to appear more hardass.
Aiden Perez
Who are you replying to? The two people you quoted are talking about entirely separate things.
Connor Jenkins
Maybe this is what's happening, this is for a REST api so I need some way of telling the difference between %2F in user data and / as URL seperator when splitting the URL into arguments to the api. I think the string is probably getting decoded automatically, i'm sure I saw something in the PHP manual warning against using urldecode for this reason. The question becomes how to stop that from happening in that case.
Jacob Murphy
>30kB of gzipped JS,
You're like a little baby.
Camden Nguyen
So if I'm doing back end work I have to pay for a VPS AND a place to store my database?
That sounds incredibly autistic and gay, this can't be true? Surely you do both on the VPS, right?
Jacob Reyes
Elm Is my go to lib
Dominic Carter
just download mongoDB
Easton Morris
What exactly are you doing anyway that you need to manually parse query string?
Landon Lewis
VPS IS a place to store your database. Together with your website. How is that relevant to his question?
Eli Garcia
>You my get turned down for positions if you don't know node.js because node.js is trendy and PHP is seen as stale by some t.someone who hasn't been on the job market in the last 5 years
Juan Thompson
just download mondoDB on his VPS as a database?
Adam Turner
You can run both on the same host up until thousands of users/millions of db rows.
Michael Cook
>Surely you do both on the VPS, right? yes, the VPS is just hardware. Like your PC. You can run as many different processes on it as the hardware can manage if you really want to. (unless you keep things apart due to architecture reasons)
What did you read, that gave you the other impression?
Camden Young
Mongo is an edge-case meme piece of software. Please stop pointing beginners to it. They're far better off learning a basic relational database system.
Ryan Evans
I got pointed to it as a beginner by more than one place
Mason Fisher
I finished the web developer bootcamp and at the end it deploys the database to mlabs and the rest to heroku, didn't really explain why.
Jaxon Miller
Try it and find out.
Carson Wood
Heroku works a bit different than VPS hosts like Digitalocean or Vultr from what I know. Heroku gives you an instance (dyno), that handles a single app in a managed way. A normal VPS host, like the ones mentioned above for example, gives you a server with full access, on which you can (manually) run anything you want. So it's more to manage but also more freedom, how you want to utilize it.
Heroku can get quite expensive afaik. If you just want to play around with things or have some personal projects, then a 5$ VPS with full access will be the best bang for your buck.
Aiden Jenkins
Is there something wrong with throwing errors in catch blocks to keep the Promise chain going to the top level?
Joseph Rodriguez
Protips on color theory?
Andrew Anderson
And they pointed you wrong.
Adam Harris
is there anything wrong about it apart from you claiming it's too difficult for beginners
Christian Diaz
IMHO /wdg/ is way more fun than /dpt/. Over there they just argue over best practices/languages which is pretty redundant while here you guys actually make shit.
Node is actually pretty easy to learn so I'd def give it a look if I were you. It's super useful and the amount of available packages from npm are incredible and can save you so much stress on certain projects.
Dylan Rivera
Which course would you recommend on Node?
Ryder Cooper
There's some good ones on udemy, but I'm sure you could find some videos on youtube that work just fine.
Eli Watson
Okay, thanks. I'll go and see.
Benjamin Murphy
(not the same person) It is not too difficult. Quite the opposite. It is so simple that it undermines a beginner's understanding of databases. Furthermore, despite often being used in production environments, it is rarely the right tool for the job. It often gets picked just because someone is familiar with it.
Isaac Cox
why not learn a real programming language?
Daniel Peterson
thanks for input
Colton Rogers
>Still no good resources to learn how to make webshit from first principles with scala.js for experienced scala devs
hello! i need to be up to speed with php as soon as possible and be able to put something on my gitgud page. i know a bit of c/c++, java, python. where should i start? i'll learn frameworks later if the need arises.
start by hitting yourself in the head with a mallet, the rest will come naturally
Angel Miller
> kc int was genuinely a great board
Kc used to be a great board. I was frequenting it ever since 2009 and stopped 2 years ago because of attention whores, blog posters, and porn dumps. There was no more pure love or banter, just Sup Forums and /r9k/ with circlejerks. Shame though. It was my go-to site during my college days.
Kevin Gutierrez
Start the same place you learned those languages. If you know four languages, learning a new one should be nothing new to you.
Eli Thomas
What utterly pointless yet fun time it was. I hope it comes back.
you hurt my feelings, user. i learned them in uni so my knowledge is very formal. my uni does offer web dev classes but it's a meme js framework from what i heard so i took eyy ayy class. i guess i want to know what do i learn first from pic related since time is of essence to me. source - op.
krautchan, specifically the int board which was basically random but filled with autists having serious discussions instead of teenagers
Carter Brooks
Use a color scheme design site like Paletton for color design
Dominic Perez
I'd rather hurt your feelings than encourage you to acquire self inflicted brain damage
David Jackson
Here's to hoping that once it comes back to life in a year or two, only serious discussions will be had as all the improper threads will be removed like the Russians.
Blake Wilson
Learning how to set up your VPS is very important, I'd say. You will probably never have to do it on your own once you (if you?) get a job, but it does teach you a lot of pretty cool stuff.
Go to DigitalOcean and get a droplet for $5/month, or look around for those free $10 vouchers.
Joshua Ortiz
it's only temporary. i need some knowledge of php for internship and after that good people at hr will move me to either python or .net projects but thanks for being so thoughtful.
I would never miss an opportunity to bash js, php and go, shitlangs as they are. That said, learning php can make you a better programmer. I've programmed FPGAs using the abortion of a language VHDL, which is the PL equivalent of a cursed monkey paw. In this utter insanity I learned to write code that would succeed no matter how hard the synthesizer tried to corrupt my wishes. php is a little like that..
Grayson Ortiz
yeah, got some friends there. they're pretty cool!
Stable in the sense of no more development necessary? Because that's not going to happen with any frontend framework anytime soon. It's not like they break anything in production. When you upgrade to a new major version it's always a very conscious action. Though Webpack 4.0 release was bordering on what's acceptable. No docs on release and for a while after and plugin & loader devs not updating their modules, even though there was enough time to prepare.
>tk There is no scammier sounding TLD you could have picked. Even .ru has a better reputation. Is that URL blocked on Sup Forums? why put it in an image?
Jayden Turner
...
Kevin Evans
I don't know, I assume *chan.tk* is blocked
Gabriel Ortiz
I've only seen a few bits of angular code (both old and recent) and I use typescript. What baffles me though is that the thing was rewritten years ago and still looks like alpha stage. I wouldn't trust it for new projects, regardless of the version. Keep in mind that angularjs was created almost a decade ago.
Austin Taylor
I haven't even checked it but you kept the vichan repo name. I experimented with vichan a lot. I assume your site is just a clean vichan installation and nothing more.
Juan Thompson
I picked .tk because it was for free
David Hall
Well you are not wrong
John Wood
but ionic uses Angular, it can't be that bad
Caleb Collins
There are 15 posts though (only 1 is mine)
Liam Butler
>Have you read your Eloquent JavaScript, user?
No, should I?
I was considering reading YDKJS after I moved from the basics.
Nicholas Gray
>Have you read your Eloquent JavaScript, user? Is it free?
No, and if you had half a brain you could've found that out yourself. Consider opening a webpage with an empty React app in it, and checking if your browser makes any requests.
Brody Powell
Building a REST api in PHP without using a framework like Laravel etc so I can learn PHP and REST more effectively. Once i've written my own implementation I can evaluate existing frameworks against it.
So, for example, to search for data item 123/456 in a given column, the AJAX call to the REST api looks like this: >api/v1/api.php?request=endpoint-name/options/search/column-name/123%2F456 Server-side, the query string gets split into its endpoint name, extra verb or noun, then the arguments, so what I want to end up with is something like this: >endpoint; endpoint-name >options: search >arg[0]: column-name >arg[1]: 123/456 except, because the query string is decoded automatically, I get this instead: >endpoint; endpoint-name >options: search >arg[0]: column-name >arg[1]: 123 >arg[2]: 456 So far ive only been able to replace the forward slashes in the data client side with more obscure characters that won't appear in the data normally, and convert them back to forward slashes server-side, which works, but it's a bit of a lame solution.
Charles Williams
yes
John Perez
hey /wdg/, I'm making a site for a musician friends who wants to sell beats. He has them all on bandcamp and is fine with just embedding each track. Is it possible to use any kind of CSS on the bandcamp players? Anything i do to it seems to get overriden once the page gets loaded, and I would like to use some custom colors, maybe remove the logo and album titles and what not. Any way to do this? Pic related is the only options the embedding supports
Going through Embedded systems course in this semester. We have both VHDL and Verilog, can't say much about the first one but second isn't that bad. Is job at embedded systems worth checking out?
Cameron Perry
>He has them all on bandcamp >sell
when i want some music on bandcamp, i just inspect the element, get the mp3 URL and download the music