[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: 214
Thread images: 22

File: wdg_432968.jpg (161KB, 824x553px) Image search: [Google]
wdg_432968.jpg
161KB, 824x553px
Unlimited Shilling Edition

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

>Getting started
Get a good understanding of HTML, CSS and JavaScript.
Everything you learn will have these as their base.
The Mozilla Developer Network offers a good intro (no matter your browser choice)
https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web

>Online courses
https://www.codecademy.com/
https://www.coderbyte.com/
https://www.freecodecamp.com/
https://www.bento.io/

>Further reading/viewing
https://www.youtube.com/watch?v=sBzRwzY7G-k
https://github.com/kamranahmedse/developer-roadmap
https://github.com/getify/You-Dont-Know-JS
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md

>Code challenges
https://www.codewars.com/
https://www.hackerrank.com/
https://codefights.com/

>Useful resources
https://developer.mozilla.org/en-US/docs/Web - General documentation for HTML, CSS & JavaScript
https://libraries.io/ - Discover and keep track of open source libraries, modules and frameworks
https://stackoverflow.com/ - Developers asking questions and helping each other
http://www.programmableweb.com/ - List of public APIs
https://caniuse.com/ - Check browser support for front-end web technologies

>Useful Youtube channels
https://www.youtube.com/derekbanas
https://www.youtube.com/learncodeacademy - codecademy
https://www.youtube.com/channel/UCO1cgjhGzsSYb1rsB4bFe4Q - funfunfunction
https://www.youtube.com/user/TechGuyWeb - Traversy Media
https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ - freeCodeCamp
https://www.youtube.com/user/shiffman - coding train

>cheap VPS hosting in most western locations
https://www.digitalocean.com/
https://www.vultr.com/
https://www.linode.com/
https://www.scaleway.com/
https://www.heroku.com/

an in-depth comparison of hosts
https://www.webstack.de/blog/e/cloud-hosting-provider-comparison-2017/
>>
>>61394686
Why the fuck does this general die so fast?
>>
>>61394879
wouldn't be a problem if some more people would bother to make new ones

if only /wdg/ was half as active as /dpt/
>>
>>61394879
Web development ain't a big thing no more

S'all about general programming now
>>
>>61395080
dpt is mostly neets shilling obscure languages so i doubt such an activity would benefit wdg much.

in meanwhile - what is circa 2017 way of communicating with express server from react-redux client? graphql? rest? relay modern/apollo?
>>
>>61394879
>>61395080
people who tend to post here have actual work to do every day. /dpt/ is just a bunch of neets arguing about pointless shit 80% of the time
>>
>>61394686
I don't know where to get started on making a comment system. I'm really new to php and mysql
help ;_;
>>
>>61397155
1. create html form comment box with method=POST
2. handle the POST data sent with the form:
2.1. if invalid, send the form back with errors
2.2. if valid, insert new row into comments table in the database and redirect to the main page
3. the main page contains the comment from (1.) and also queries the database for all rows from the comment table and iterates over them, printing HTML for each comment
>>
>>61397230
it gets more compilcated if you implement responses
>>
>>61397230
if you need to have different items with separate comment sections, then the comment row has to include a column reflecting the id of said item. so every comment database entry has an id of the item it comments on.
when you render the comment list you filter comments by the item id
by item I mean for example an article
>>
File: 1498089257626.png (577KB, 609x589px) Image search: [Google]
1498089257626.png
577KB, 609x589px
>>61394879
i think it needs more anime
>>
>>61397261
yes, it can get very complicated very fast, but if one is doing it for the first time then the main focus should be creating a minimal working implementation
>>
>>61397230
Thanks, i guess i should start learning sql first.
>>
So, I'm slowly learning rails, porting a large web project. It is also a nice chance to learn Postgresql (with Timescale).
This blog post is free of charge, and no ads.
>>
>>61397302
if you want to start now you could use an ORM search google!
>>
>>61397400
I don't think using an ORM without basic understaning of SQL is a good idea
>>
>>61397629
>>61397400
you are both right
>>
>>61395549
I use thunk dispatchers, they work fine for async queries. I use plain old rest
>>
>>61394686
University of Washington has a good web dev course https://courses.cs.washington.edu/courses/cse154/16au/lectures.shtml#today this covers most of the basics like SQL, javascript ect then can jump from there into what you like, all the homework, lecture pdfs, and lab pdfs are available.

Php intro is included even though that language essentially actively works against you, there is quite a bounty of cash to be made being a Wordpress plugin monkey. I've noticed remote sites like weworkremotely and jobspresso consistently are looking for php devs still

Front end developers handbook should also be in the general post https://frontendmasters.com/books/front-end-handbook/2017/

Some guy on Hacker News the other day posted he completed the FreeCodeCamp until he has a good grasp of the 'front end' then switched to a book on React and started churning out React projects until people started paying him to make shit.
>>
>>61394879
Lack of quality content, just a second /sqt/.
>>
>>61397961
so we need more shitposting??
>>
hey guys is learning php worth it?? python looks better
>>
>>61398171
No.
>>
>>61398854
y tho
>>
>>61398865
Because PHP is a dead language. Javascript, C#, Java, or even Ruby would be better. Only legacy code or shitty wordpress chop jobs exist in PHP.
>>
>>61398171
I'd say you should know enough to get by. All PHP devs are shit so you're better off doing things yourself if you ever have to touch php code.
>>
>>61397740
> there is quite a bounty of cash to be made being a Wordpress plugin monkey
> being a Wordpress plugin monkey
> monkey

Have fun racing Pajeet to the bottom in pricing structure. Anyone asking for Wordpress typically doesn't have enough to build quality software. Third-worlders have no problems taking money from useful idiots by selling them software that breaks every month.
>>
>>61398886
>Only legacy code or shitty wordpress chop jobs exist in PHP.

To add to what anon says, you could make some money but it's breadcrumbs most of the time compared to say learning a fully fleshed out language.

Wordpress monkeys are a dime a dozen.
>>
i want to be a wordpress monkey, is it viable to get some side money? or not worth it? how hard is it to get clients?
>>
>start a new job at a webdev company tomorrow
>have to readjust from being a useless sack of shit
Fuck I'm so nervous
>>
I have a question about designing an auth API. How would an efficient database look like for something like Github's OAuth endpoints such as https://api.github.com/user which take access_token as the only parameter? Is a table containing access_token (indexed), user_id, expiration_date a sane design, or am I missing something obvious.
>>
How do you guys deal with "legacy" code? Say I have to work on projects using Backbone, Require.js and Grunt (so basically from like 3 years ago). It all feels super old and slow.

I don't get time to rewrite grunt for like webpack or gulp and definitely not the time to rewrite the codebase to ES2015+.

Front end development moves so quickly that everything we implement already feels outdated.
>>
guys im learning django, i already built a blog in my own computer and im ready for deployment, how the fuck do i do this?? what provider should i choose?? whats the best one to learn? (not the easiest one)
>>
>>61400501
digital ocean is great and cheap
>>
>>61399721
Database Views
>>
Having problems with React.

I want to render a series of paragraphs.

 

const arr = ['Economy', 'Security and Stability', 'Political Situation', 'Ethnic Groups']

arr.map((header)=>{return <p> {header} </p> })


This clearly doesn't work; it doesn't render.

Can anyone explain to me how I would go about rendering a series of paragraphs?
>>
>>61401082

React's original tutorial did a very good job of describing things like this but the overhauled one seems to have pulled out a lot of good stuff.

Try something like:

const arr = ['Economy', 'Security and Stability', 'Political Situation', 'Ethnic Groups']

const nodes = arr.map((header)=> (
<p>
{header}
</p>
);

return (
<div>
{nodes}
<div>
);


>>
How important is to get into social media bullshit if I want to get into web dev?

I mean, should I start using a twitter account and making myself more visible, and following certain people?
>>
Anyone that has done / doing freecodecamp and would you recommend it? Reddit seems to be shilling it really hard which makes me skeptical if it's actually good. (I only know html/css and want to become full stack)
>>
>>61401729
I tried it and didn't really like it much.
Maybe because I had already learned by myself, so there was lots of unnecessary stuff, but also because of how the content was structured and presented.

jQuery before vanilla JavaScript??

and I don't really like the "code snippet" approach, when learning the whole range of webdev.
You always get these windows with specific code sections, but imo the relation to the big picture gets lost.
For pure JS algo skills and the like it's fine though, but then you are better off with one of the code challenge sites from the OP imo (i like codewars)

It's probably very subjective, but for me nothing beats actually opening the editor and trying a thing out myself.
Even if I am using it for the first time, reading through documentation and getting something up and running (even something like a simple GET request) from scratch in a kind-of "real-setting" beats the hell out of a snipped contained on a website, where it tells you what to change to make the code work. (FCC or codecademy)

this mostly relates to JS and maybe CSS.
Might still be a good intro to HTML in general, when someone knows literally nothing about it so far.
>>
>>61401876
>codewars
meant codefights

anyway, codewars is fine too, but some of the challenge task-descriptions are very confusing sometimes last time I used it.
And it seems to encourage overly clever one-liner solutions, that are equally unreadable (at least, that are the solutions, that get upvoted the most)
>>
>>61397961
apparently youtube celebrity fan threads and hardware vendor shilling battle between 15 year old /v/ regulars are now quality content
>>
>>61401082
const arr = ['Economy', 'Security and Stability', 'Political Situation', 'Ethnic Groups'];

function Component1(props) {
return (
<div>
{props.arr_src.map((i) =>
<p>{i}</p>
)}
</div>
);
}

ReactDOM.render(
<Component1 arr_src={arr}/>,
document.getElementById('root')
);
>>
>>61401876
>but for me nothing beats actually opening the editor and trying a thing out myself.

But that's what codepen/glitch projects are for.
>>
>>61401876
I can relate to that feeling.

I'm just getting into web dev, started past moth but I don't have much time. I've gone through the HTML and CSS courses on codecademy, I think I grasped the basics but I'm probably missing the bigger picture.

I'm probably going to try a book and also test the free trial on treehouse since I've heard good things about them. If I like it, 25 bucks/month isn't much, considering I waste more than that just on beer.

The problem is I won't full profit from it because I have a full time job (that I would glady quit if I could).
>>
>>61399676
How'd you get the job?
>>
Ok, so I have a static website: a bunch of js, gulp, python and poweshell scripts that build it and upload to a server. How do I stuff a basic bloggin engine into it? I don't feel like going wordpress
>>
>Apache btfos React
hmm
>>
>>61399676
i know that feel im about to get a job also. i feel i dont know shit but at the same time i have some pages up and i know some backend too.
>>
>>61399676
yeah, terrifies me also ;_;
no more neat videogames evenings
>>
>write typescript
>need to pass 10 numbers in the 0-40 range compactly in url
>use 10 ascii letters
>"hey, it fits on 60 bits so I can use one 64bit integer!"
>instantly remember that js doesn't have 64bit integers
fuk u brendan eich
>>
>>61404530
wtf is that even supposed to mean?

>>61404459
jekyll, hexo or hugo
I guess, if you want to keep it a static site.

>gulp, python and powershell
webpack?
>>
>>61404787
I just realized that it would've been a bad idea anyway
bless u brendan eich
>>
>that permutations challenge in freeCodeCamp
This is the only algorithm challenge I cannot pass. Fuck recursion.
Is this kind of bullshit common in job interviews?
>>
I've got an interview for a new FE job tomorrow. What should I say in the interview to MAKE them employ me?
>>
My website scales properly in my browser's phone emulator mode, but does not scale properly on an actual mobile device. What gives?
>>
>>61404873
>wtf is that even supposed to mean?
Something to do with Facebook patent licensing, on React and Rocksdb I think.

I don't really know much about it; if anyone has a comprehensive article/explanation I would appreciate it.

>>61405268
Did you add your
<meta name="viewport" content="width=device-width, initial-scale=1">
>>
>>61405609
>Did you add your
I did but I didn't give it enough time to drop the cache. Works now.
>>
File: 384_e.jpg (251KB, 750x716px) Image search: [Google]
384_e.jpg
251KB, 750x716px
>>61405248
>>
I have created a class in a js file called Loader. This class has many functions that serve loading purposes like loading a 3d model and loading textures. In my main loop file (webgl), I create this
loader = new Loader();
but when I do
loader.loadTextures();
I get a
loader.loadTexture is not a function
error. What am I doing wrong ? I use ES6 classes as I more used to the look of them from c,c++ and I just started with js in general.
>>
File: 1496379821277.jpg (65KB, 1099x445px) Image search: [Google]
1496379821277.jpg
65KB, 1099x445px
>>61406052

Here is the actual code for the methods that are inside the Loader class if that helps.
>>
>>61394686
In part 6 of Derek Banas JS tutorial,I have been grasping over the workings of it,but I don't surely know where to begin,ok here is my idea.

>Make a basic left side notepad-right side todo element window.
>Requires free login,ie free signup,no authentication to GMAIL or some shit.
>Design it in such a way so that anyway couldn't see personal notepad files and the metadata of the to do list,the one attached to the dates.

Where should I begin,I can easily do the design part,then comes the back end,setting up DB for those elements and then login authentication,where should I find such modules and tweak it according to my own interest?

HAAALP
>>
>>61406052
>>61406135
>loader.loadTextures
>loader.loadTexture is not a function

Are you calling loadTexture or loadTextures (plural)?
>>
>>61406270

Was just a typo but still I get the same error.
>>
>>61406346
just use typescript. the compiler will tell you why the code is wrong
>>
File: Capture.png (39KB, 1016x642px) Image search: [Google]
Capture.png
39KB, 1016x642px
Why is it that Firefox's font rendering (left) is so shit?
>>
Best linux text editor?
>>
>>61406052
If it's not a function, then what is it?
If you do
load = loader.loadTexture;
console.log(load);


What do you get? Is it undefined? What about other methods? Or properties?
>>
>>61406524
Nothing. Is it because of not importing the class file ? And if yes why would I need to do this , after all the other methods of the class seem to work correctly.
>>
>>61406561
>Nothing.
Like literally nothing? I think the only time that would happen is if you print an empty string.

Can you set a breakpoint in the browser debugger and check the value of load from there?
>>
>>61406407
works on my Arch Linux(tm) machine

>>61406468
vim
>>
File: 1495056726488.jpg (93KB, 1402x435px) Image search: [Google]
1495056726488.jpg
93KB, 1402x435px
>>61406762

Here, this is what I'm getting
>>
Should I mention CSS and HTML on my resume?
I've seen other people do it, but doesn't it go without saying that I have a grasp of them?
>>
>>61406879
I meant literally
load = loader.loadTexture;

with no parentheses/method call, just literally trying to retrieve the object that should be a function, but apparently isn't.
>>
>>61407158
Oh the console.log(load) , prints undefined
>>
>>61407213
So the other methods work fine? Try renaming loadTexture slightly and see if it's any different.
>>
>>61407386

Yeah using an other's method name it printes the body of the method along with some things from the constructor of the Loader class
>>
>>61407448
just pastebin the whole thing anon. too much guesswork otherwise
>>
>>61407497

I got stack overflow link I did earlier that probably explains the whole thing better.

https://stackoverflow.com/questions/45131531/cant-call-method-from-es6-class?noredirect=1#comment77232658_45131531

They confused me with the import shit thought.
>>
>>61403407
>I've gone through the HTML and CSS courses on codecademy, I think I grasped the basics but I'm probably missing the bigger picture.

I'm sorta glad you said that, because as an educator, I've kinda been bothered by codeacademy. What they DO teach isn't objectively bad, per se, but they tend to have a very narrow view of what's "right". They'll tell you one particular way to write code (that could be written multiple ways). They also don't do the one thing that I like about freecodecamp, which is to have you work on self-guided projects. Yes, most of FCC's projects are stupid, make-your-first-blog tier, but at least it's something other than "copy our exact code!".

tl;dr: I feel CodeAcademy may leave people missing the big picture because they're like those "how to draw a cat" books where you're expected to draw exactly what's in the book with no room for personal exploration.
>>
>>61407525
like someone wrote there probably something with the import that is wrong, but again, can't tell since that part is missing from the code you posted

class Loader {
loadTextures(fileName) {
this.image = {}
this.image.src = fileName
}
}
let loader = new Loader
loader.loadTextures("meep")
console.log(loader.image)

reduced example from your code works at least
>>
>>61407699


I didn't use import for anything , also I didn't use the let keyword. Sorry for being so dumb and also thanks for taking the time to help me. This shit drives me nut. So I guess I should try importing the class ?
>>
>he still hasn't bought into the typescript meme
lmao enjoy being homeless
>>
>>61407766
is the class in another file?
If so, then you need to require or import it in some way to make it available in the file, where you want to use its function.
In that case I would be more surprised, that any of the other parts of the class would be working.
>>
>>61407852
well apart from the
<script src="core/Loader.js"></script>
thing in the html file of the project I don't do anything else. And yes everything else is working correctly.
>>
>>61407928
so doublecheck, that you "really" don't have a typo with loadTexture and loadTextures

Only other possibility I could think of is, that you are loading a wrong file.
Doublecheck, that the path is correct and you are not loading some old version, while having another one open in your editor.

not much else that can be said I think, without seeing the whole thing.
>>
>>61408176

No typos I just checked.

https://drive.google.com/open?id=0B11p_Boj2L3LMlhGNFZMbHlJWm8

Here is the code if you want to look at it.
>>
>>61406561
>>61407525
>>61407699
>>61407766
>>61407852
To clarify the 'import' shit. You don't need it. You need import when you want to import modules. You're not using any modules, so you don't need it. Modules are a newer thing that can help you better organize your code, but you don't need them, and I wouldn't even bother with them when you're just starting out.

When you include another JavaScript file with a <script src> in your html, you're putting the class that's defined there in the same global namespace as your main file. So you can access that Loader class just fine without bothering with import.

>>61407543
My main issue with Codecademy is that their JavaScript tutorial didn't expose you to the DOM at all. It just taught programming in the context of JavaScript, using console.log and alert. And then I guess they expect you to move on to jQuery, or Angular or something. Which really makes me worry about the people who are using Codecademy as their sole resource to learn web dev.
>>
>>61408542

So the dudes at stack overflow just confused me more with no reason. I don't even know why the put negative points on my post. What a strange site stack overflow is.
>>
if i just want to make a bot or script to click buttons for me on a webpage.
what should i do?
make a chrome extension or javascript and run it on console.
>>
File: test.png (106KB, 1920x972px) Image search: [Google]
test.png
106KB, 1920x972px
>>61408400
looks fine, I guess?
not the texture from the jpg, but also no error
>>
>>61408651
.....How ? I can't understand how did you get it to work.
>>
>>61408651

Actually I run the project locally and I just get the same error as you. After all this time I used a server to run it cause of the no local files use in js security measure thing and when using the server I get the error we are trying to solve all the time. Don't know what's happening anymore.
>>
File: 1480777377183.jpg (79KB, 1658x839px) Image search: [Google]
1480777377183.jpg
79KB, 1658x839px
>>61408651

Pic related. This is what it looks when I run it using the server and when I run it localy. I think I'm gonna say fuck it and just normal functions from another file cause it works. Fuck code organization for the load image part. Really drives me insane that I can't the load the damn image using method from a class
>>
Thank you so much for helping me. I just used the threejs texture loader and works as expected from the get go. It's really weird. You helped me so much for so many hours man. I hope you are good. Take care,I love you.
>>
How do you handle auth with nodejs nowadays? JWTs? Aside from OAuth, I mean.
>>
Any good paid courses? Everywhere uses outdated/irrelevant shit. Udacity jerks off Python Flask, Lynda jerks off PHP, and Pluralsight jerks off Miscrosoft .NET
>>
i keep seeing people talking about coroutines. what's a basic example of doing a coroutine in js?
>>
>>61407543
I'll try freecodecamp then.

I also felt that codecademy sometimes gets way too vague on complex stuff (like the flex property, that I had to research on mdn) then drag you on trivial shit like chaning the font-size of 10 different lines for no reason.

But will, I was just testing the waters, I will keep trying more resources until I know my shit for sure.
>>
>>61409777
did a month of teamtreehouse with videos at x1.5 speed and mostly skipping the in browser code sections and rather editing my own stuff locally and found it to be worth it.
I think they have a trial you can use to test it out first.
>>
>>61397703
that's what i'm gonna use too, just read on graphql, seems like you can grab any sites' db with one query
>>
>>61405609
>>61404873
basically nobody is sure what is facebook's endgame regards the patent clause, but react is 70k stars on github so devs don't bother thinking about licenses and stuff. i guess we just have to wair for a precedent where facebook will rape some react-using startup, then we ll see
>>
Whats a good font that most everyone will find pleasing?
>>
File: 1200px-ComicSansSpec3.svg.png (165KB, 1200x1418px) Image search: [Google]
1200px-ComicSansSpec3.svg.png
165KB, 1200x1418px
>>61410195
>>
>>61410223
T-thanks
>>
File: typeface_font_picker.jpg (342KB, 1600x1131px) Image search: [Google]
typeface_font_picker.jpg
342KB, 1600x1131px
>>61410195
If you don't really care that much, then just use Helvetica or something really widely used and basic. Especially if you have a lot of text that people are going to read. If it's a logo or font for headings, then you can get more creative.

If you want something that will stand out a bit, this chart is pretty good as a starting point.
>>
>>61410326
Maybe i should stop being stupid and actually specify its for plain text.
>>
File: chanstats.jpg (258KB, 1416x820px) Image search: [Google]
chanstats.jpg
258KB, 1416x820px
c-can I post my thing?

posted it a few weeks ago, but back then it was quite basic.
You can click the boards to see their most active threads, sorted by posts per minute.
Should even look kinda ok-ish on mobile.
Just not sure how to properly squeeze the OP comment texts in there yet...
Appreciate any feedback.

www.chanstats.info


>>61410195
All the OS's come with pretty good ones
https://css-tricks.com/snippets/css/system-font-stack/

or just go with the default sans fonts like
Roboto
Lato
Open-Sans
>>
>>61410342
Does it need to be monospace?

>>61410364
That's neat
>>
>>61410484
I find them easier to read but nah, I like Open-Sans so far but open to suggestions.
>>
Does Bootstrap make html verbose as fuck or am I just bad at design?
>>
How long until CSS can replace essential JavaScript use?
>pseudo-conditional statements to selectors, i.e. ::hover
>more user experience by interacting with the webpage without onclick=
>less JS on the page so the page loads faster by the hundred milliseconds
>>
Somebody dish out the ol' "red pill" on Local Storage in relation to Javascript. Is it fine to use or should a developer stick with cookies?
>>
>>61410364
Great site dude, love its design and how useful it is with the statistics.
>>
>>61410684
>more CSS frameworks/libraries for the new features.
>the same bloat.
Bloat in webdev will never end. NEVEEEEEEEEEEEEEEEEERRRRRRR
>>
>>61410690
What kind of data are you going to be storing and accessing?
>>
>>61410843
I want to make a choose-your-own-adventure text game using only JS which will remember what page the user was on last in their previous session.
>>
>>61410684
You can select based on checkbox state and anchor tags. So that's some click-based stuff.
>>
>>61411102
Cookies would be your best bet in this situation.
>>
I have a few dumb question about servers and scaling because im new to this and trying to understand.

Lets say i rent a VPS at some big established server hosting company to host my site, and i use something like AWS to store and deliver media content (user uploaded videos/pics etc). If i get a lot of traffic from all around the world, the media content will be delivered relatively fast no matter where you are, because its decentralized. But what about the actual web server, the vps? If its located in Amsterdam, wont that make the experience slow for all the visitors from USA? So i have to have one VPS in the states (for American visitors), and one VPS in Amsterdam (for EU visitors)? But then i actually have to completely different sites with different IP's and different databases. How would i even point the domain to the correct IP depending on the visitors location? How do i keep the databases mirrored? How do i scale this in the unlikely case that it becomes super popular? Do i have 5 VPS'es in EU and 5 in USA? How do they communicate with each other?

Obviously im missing something here, my brain is full of fuck. Also the reason i want to use VPS for hosting is because most shared hosting solutions are not compatible or will not allow certain solutions that i will use.
>>
>>61411954
>guys how does the internet work
>>
>>61410484
>>61410703
thanks,
will probably refine the board list bit and maybe get a smooth transition on the right side, when a different board is clicked.
But am otherwise quite happy with it... thought about what else could be added, but also don't want to bloat it with useless crap

>>61411954
You are probably thinking 5 steps too far ahead.
If you really need to, you could look into CDNs like Netlify or something else to serve your static content
>>
Guys I worked as intern in php development for 3 months. I have working knowledge of PHP, mySQL, CSS, JavaScript. I don't have a job. Should I switch to node or rails or stick to php?
>>
anyone ever buy a github profile? all these people want to see one and i haven't been enough of a cuck to work for free for the last 3+ years
>>
>>61413688
Just try to Learn Node and Rails for now,
I think the more languages you know can always help
>>
>>61413688
Learn Rails to learn the best practices. Apply said practices to Node and PHP. Learning Node at this point will give you bad habits.
>>
>>61413824
Just buy one off Fiverr.
>>
>>61410684
20+ years. CSS is a pain.
https://medium.com/outsystems-experts/how-to-achieve-60-fps-animations-with-css3-db7b98610108
>>
>>61409777
http://elixirsips.com/
>>
Say if I wanted to build a site where you would login and see about a hundred other people logged in too, but they would be represented by icons.

what could be the best webserver to use for something like this?
>>
>>61413966
Judging by your question I think you may not enough knowledge to tackle this problem. How much do you know about webdev?
>>
>>61413966
The newest thing know how to use NodeJs, in terms of backend
>>
>>61413988
>The newest thing know how to use NodeJs, in terms of backend
>>
>>61413928
Honestly I don't think many people will notice the difference in animations nor even care. I mean I don't worry about it on many websites.
>>
>>61413966
"what webserver" is mostly irrelevant, but Node is perfectly fine as backend if you want to use that.
>>
>>61404970
no, but you need to understand recursion, it's everywhere. HTDP is a good way to learn from scratch
>>
Kids these days use mobile. Should I make my web application mobile first?
>>
>>61418076
Yes.
It's way easier to scale up a mobile design to bigger viewports than the other way around.
>>
>>61418214
Any suggestions on how to start?
>>
how do you know when you're ready to start trying to take on work/ go freelance? should you just contact all local web design companies and ask if they need a lackey
>>
>>61418238
In terms of design? Uh, I'm pretty terrible at it myself.
I guess don't try to invent something new, users are used to certain layouts. Emulate a design you like and tweak it.
>>
>>61410364
pretty cool

is it possible to set it so you can click on the column headings to sort them in ascending/descending order?
>>
File: Suicide.png (305KB, 1849x1021px) Image search: [Google]
Suicide.png
305KB, 1849x1021px
Can anyone help me please?
>>
>>61398886
i see so many companies in germany searching for "backend dev php mysql".
i hate php and it's a piece of shit. but why the fuck do they still use it in shops or portals?! REEEEEEE!!!!
>>
Is Laravel still the top web framework?
I need a job, yes even if it's a PHP one. :(
>>
>>61406052
where is the function keyword?
what about the filename argument?

can post the complete code
>>
Can a web developer be super fat?
I am super fat and ashamed, so I just do stupid things like maintaining microsoft access applications.
>>
>>61418548
yes, but why do you want to live the life of a fatty? vhange your habits and work out.
>>
>>61418576
Workout makes me even fatter, but I have a weird neuronal shit that prevent my body to lose fat. :(
>>
>>61418433
please
>>
>>61418586
oh... then go for the webdev
>>
File: n1jh2gbctr8z.jpg (27KB, 516x393px) Image search: [Google]
n1jh2gbctr8z.jpg
27KB, 516x393px
>>61418599
read the error message
>>
>>61418613
My country is full of c# desktop and java-ee webdev jobs but each time I check java-ee related tutorials or books, it's full of retarded shits!
>>
>>61418662
*deprecated shits
>>
>>61418538
he posted the whole thing here
>>61408400
>>
>>61418586
>Workout makes me even fatter
sorry but i think that is literally against the laws of thermodynamics
>>
>>61394686
it is difficult to reproduce image board system?
>>
Isn't backend programming where the paper and hoes be at?

This is a question coming from someone who doesn't code at all, mind you so this assumption might be stupidly incorrect.
>>
>>61419167
No one wants to use PooChan, pajeet.
>>
>>61419440
thank you, so it is
>>
>>61419565
A good one yes, but your biggest issue is wasting money hosting a ded board because garnering enough regular people to an image-board is incredibly difficult, not to mention the sheer amount of them already available and 8ch in general since anyone cant just make their own in 5 seconds..
>>
>>61419654
can just*
So try there if you just want a private one, or first hand experience without any work.
>>
>>61419668
8ch is like selling my soul to /pol/
and i want to learn by myself
>>
>>61419718
gl then
>>
>>61419718
>8ch is like selling my soul to /pol/
How much of a faggot can you be? 8ch runs the spectrum from /leftypol/ to /polk/.
>>
>>61418737
*bigger
>>
which framework would be the best option for someone who knows only pure php
I can make everything from zero, but i never used any framework.
>>
>>61410364
Can you upload your project on GitHub?
>>
I'm currently stuck on picking a framework for my vue.js application.

I want it to be usable on mobile as well.
>>
Is it important that my site's wp-login page get a https cert?
>>
>>61420588
Have you considered not using a framework?
>>
File: sortBy.jpg (88KB, 868x820px) Image search: [Google]
sortBy.jpg
88KB, 868x820px
>>61418274
ah yes, that would be useful as well.
Should be sortable now in both directions.

>>61420548
https://github.com/Nocory/chanstats

be gentle, I am by no means a pro...
I started from a copy of another project, so there are obsolete parts and unnecessary dependencies still in it.
JSON files are used as a DB, which isn't too ideal and the data.vue component is long and messy.
And don't expect any useful comments.

Did some last minute cleanup before putting it in the git repo, so hope that nothing broke.
>>
What should I tackle next?

Advanced JavaScript (this series https://github.com/getify/You-Dont-Know-JS/blob/master/up%20%26%20going/ch1.md)

or RabbitMQ ??
>>
Are there any QUALITY resources to learn JavaScript if you're new to programming?

I tried getting into the YDKJS books but they lack exercises.
>>
>>61422292
literally one post above yours
>>
>>61422313
>"I tried getting into the YDKJS books but they lack exercises"
>Try getting into YDKJS

Uhhh...
>>
>faggot from united states comes to my guru.com profile
>asks me in broken english if i wrote social platforms before
>i say yes and give him links
>he asks me for snippets and promises more work and money if i hand him code
kek
these poos are so stupid and incompetent
>>
>>61420299
at the moment codeigniter is the least poo'd, second comes laravel
>>
loserfag here. Why does my style sheet not show up when viewing local files on my nougat phone?
I'm linking like I always do: ./CSS/style.css
>>
>>61418586
Going up the stairs when the pizza man shows up is not working out. Eat carrots and spinach and baked chicken.
>>
>>61422740
Get remote debugging going so you can look at the network tab and figure out what's really going on.
>>
>>61420588
a CSS framework?
Bulma is nice.

Foundation is also good, but I don't know how to properly implement it with all its JS parts and jQuery with Vue singlefile components.
I only ever manually loaded some specific CSS parts of it.
>>
>>61421109
There's no excuse for any site to not be SSL-enabled throughout.
>>
File: 1500314539871.png (49KB, 978x841px) Image search: [Google]
1500314539871.png
49KB, 978x841px
>>61421937
How about supporting charts like this?
I know it's little hard to make this feature, but I think there might be some API for this.
>>
What is your opinion on Laravel?
I really like the framework and already did some projects for others, a subscription and streaming site for example. But most of the experienced devs I talked to consider it a bad framework and recommend Symfony or CodeIgniter. I want to make my own site that I want to grow but now I'm not sure if Laravel is the best option.
>>
File: Porky Porkenstein.jpg (33KB, 622x455px) Image search: [Google]
Porky Porkenstein.jpg
33KB, 622x455px
What is some respectable place to learn HTML, CSS and Javascript that's useful?

I tried codecademy but it's too much 'baby steps'-kind of bs for me since I already watched these:

https://www.youtube.com/watch?v=bWPMSSsVdPk
https://www.youtube.com/watch?v=KJ13lX20FqU
https://www.youtube.com/watch?v=0afZj1G0BIE
https://www.youtube.com/watch?v=Ukg_U3CnJWI

I got the basics with these videos but any other tutorial I find over the internet is just teaching me the same from the beginning over and over again and it's very tiresome because I want somewhere to teach me how to do the actually useful stuff.

How did you guys do it?
>>
>>61423521
CodeIgniter is awful, don't touch it. Its a bunch of functionality throwed all over the place.

To avoid the sluggishness of Laravel use Lumen, comes with the basics as routing enable and optionally you can enable the rest as for example the Eloquent ORM.
>>
>>61424146
Thanks m8! I'll go with Lumen. I think it fits my needs perfectly.
>>
>>61424127
I started learning on Udemy. Only paid $10 for the course a few weeks ago and I just finished up with Intermediate CSS. I'd imagine if this stuff doesn't bore you to tears and you have enough self control to not play a video game, you'll work through it a lot faster than I am.

>https://www.udemy.com/the-web-developer-bootcamp/learn/v4/overview
>>
>>61424369
Oh, that one was advertised to me long ago through twitter, and seems to be pretty famous. Is it really at 200$ normally or am I being memed?
>>
>>61424460
Udemy puts shit on sale almost constantly. The high prices on classes are just there to cause a sense of urgency. For $10 though, it's hard to go wrong, considering you get access to a forum and TA who can answer your questions specific to the course. This may or may not be a big deal, since google is a thing, but it's something I enjoy.
>>
>>61423517
Yeah maybe, though I feel that might be more suited to an archive site.

>>61424127
>any other tutorial I find over the internet is just teaching me the same from the beginning over and over again
If you got the basics down, then think of something to create and learn by solving specific problems along the way.

>>61424460
meme price
I have never opened udemy when it was linked, where it wasn't 90+% off
>>
>>61424580
>>61424505
>I have never opened udemy when it was linked, where it wasn't 90+% off
Well, it could be that the reason it was linked in the first place is that it was 90% off... but yes, something going from two hundred to ten bucks isn't normal. Meme price definitely. Looks good and I may consider it though. Thank you for reminding me of these courses.
>>
So I want to put a form's submit button outside of the form, but apparently I must use the form attribute for that and it's not supported in any current or upcoming version of Edge or IE.
This is what I want to use http://caniuse.com/#feat=form-attribute

Is there any replacement? It's for a mailing list subscription. I want to have the email text box on top, then some html outside of the form below it, and then the mailing list subscribe button. Is it fine to use divs inside the forms?
>>
>>61425443

>Is it fine to use divs inside the forms?

yes, its perfectly fine, it's not going to mess up the data it sends to the server
>>
>>61425471
Great thanks.
>>
>>61424369

>faster than I am

Don't cut yourself short buddy, you're getting through faster than me, I can hardly stand this shit for 5 minutes

fucking tags divs forms? boringest shit ever. I might be better off trying to sell paintings than this shit
>>
>>61425516
"The W3C specification, if I understand it correctly, mandates that every form input element has a name attribute specified. Otherwise that element will not be processed"
>>
>>61424505
>>61424460

Someone on reddit said there's a section missing and there's no final project.
>>
File: Untitled.png (38KB, 1366x768px) Image search: [Google]
Untitled.png
38KB, 1366x768px
>>61394686
Alright folks after binging on Derek videos I finally realized skill is all about applying,well here is the project I am planning on.

Its a basic notepad + To do list,the working is as follows.

front page.
>take in username and password.
>offer an option to open a new account.
>account can be created without any email bullshit,just sign up and sign in.
>left side you have a notepad window,with zoom out option showing your notepad directory,on the right to do list window zoom out will show you a calendar of current month,second zoom out will show a whole calendar and the date or any year will be marked with green or red according to the completion of the tasks.

PIC related is the login page,rest of the element needs to be added,and here is the code of pic related.
https://pastebin.com/676qntbi

Am I doing right?
>>
>>61424127
Derek Banas,the dude goes on a rampage each video and I guess best guess would be to learn via building app.

I am a beginner as well >>61425987
>>
>write a webpage using JSPs
>one year passes, company asks us to rewrite
>rewrite it a webpage in Ember.js
>one year passes, company asks us to rewrite
>rewrite it in Backbone.js
>one year passes, company asks us to rewrite
>rewrite it in Angular.js
>six months later, already getting pressured to rewrite in React.js
when will javascript settle down already?
>>
>>61394686

Anyone actually followed bento for impressions?
>>
File: 1496600915304.jpg (51KB, 500x524px) Image search: [Google]
1496600915304.jpg
51KB, 500x524px
>>61425987
>ABP and not uBlock Origin
>activate windows

MDN is generally a better option to w3schools.
Put that CSS in another file soon, keep it tidy and you will save yourself a lot of work.

>line14
??

there is no reason to use position: fixed;
use flexbox or margin : 0 auto; to center

dont do full black on full white. Doesn't occur in nature anywhere and the contrast isn't pleasant for the eyes.
Try, #222222 and #f1f1f1

google open-color for a nice and simple scheme
>>
Ok boys, so i create array like this
$array = 
[
"1" => "one",
"2" => "two"
];

and now i want to check if entered key is in array, if it is output value
public function check($a)
{
foreach($this->array as $key => $value){
if(strpos($key, $value) !== false){
echo $value;
}
}
}

this is not working why?

i want to use this function for routing
for example
if im on index.php, i want it to show me index view
if im on index.php?routeS, i want routeS view
if im on index.php?routeS&something, i still want routeS view, thats why im using strpos

anyone can tell me what i fucked up?
>>
>>61426266
> if(strpos($key, $value) !== false){
i typed this wrong it is ($key, $a)
>>
>>61425987
>>61426252
not even #f1f1f1, even a bit darker

regarding black/white scroll to the bottom of
https://yeun.github.io/open-color/gray-color.html
to see what i mean

also
https://ianstormtaylor.com/design-tip-never-use-black/
>>
File: 1496790855283.jpg (40KB, 657x527px) Image search: [Google]
1496790855283.jpg
40KB, 657x527px
>>61426331
>#f1f1f1
maybe brighter.. not darker.. fuck me...
#fafafa
sry for making 3 retarded posts
>>
>>61426252
>MDN is generally a better option to w3schools.
tfw too lazy to click the non first link.
>activate windows
tfw too lazy to crack.

>line 14
Sorry autism.

>dont do full black on full white. Doesn't occur in nature anywhere and the contrast isn't pleasant for the eyes.
Try, #222222 and #f1f1f1

Yep you are right,I was a bit edgy to replicate the dark net 1980's style website.

And what should I do after completing this page? how the fuck should I extract user and pass and pass it on to a function which will check for it,and yes I don't want to store password in plain text.

HAAALP
>>
>>61426470
And what should I do after completing this page? how the fuck should I extract user and pass and pass it on to a function which will check for it,and yes I don't want to store password in plain text.

Google
>>
>>61426266
Make route GET parameter value like ?route=routeS. Also consider using url rewriting. Also try to implement MVC. Also I'm hoping you are doing this for learning and not seriously trying to create another framework.
>>
>>61426470
>>>/g/sqt
>>
File: 1463808859967.png (455KB, 1280x1172px) Image search: [Google]
1463808859967.png
455KB, 1280x1172px
>>61426524
>>
File: jok.png (30KB, 527x296px) Image search: [Google]
jok.png
30KB, 527x296px
>enterprise web application
fuck... I am trying to use a website, not run some complex simulation inside a virtual machine
Thread posts: 214
Thread images: 22


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