[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: 297
Thread images: 27

File: 1485369653813.png (369KB, 667x448px) Image search: [Google]
1485369653813.png
369KB, 667x448px
>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.wikipedia.org/wiki/Comparison_of_web_application_frameworks
https://gist.github.com/dypsilon/5819528

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

>How to get started
http://pastebin.com/pDT82mQS
http://pastebin.com/AL6j7GEE

>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
>>
you forgot to post link to the last thread, OP, always do that so we can maybe keep some convos going
>>
Is freecodecamp worth it? I'm messing around with it right now and decided to start from the beginning just because. I already know html/css/bootstrap. I'm taking it to learn javascript and hopefully get some projects on my portfolio.

The css course is pretty garbage. I understand that it is meant as an introduction but they really could've done more. Does it get better? Is it a decent way of learning javascript and above?
>>
mfw I want to develp something but i have no idea of what. Please, give me an idea.
>>
Help me chose between one of these two frameworks:

http://www.material-ui.com/#/components/app-bar
vs
http://react.semantic-ui.com/elements/button

I need something that I can use to quickly prototype and set up my application frontend. I've asked this earlier, and I've done most of the scaffolding so now I need to puzzle the pieces together.
>>
>>58685131
Between React and Material, use React, so much better.
>>
>>58684944
>I'm taking it to learn javascript

Run through codeacademy JS in a day and immediately start building things and googling.
>>
>>58685293
The library linked also provides react components.
>>
laravel or asp.net mvc?
>>
>>58684380
the last thread didn't do it so when i copy pasted i forgot to add it. i blame the previous op.
>>
>>58685370
spring
>>
hows webpack2 over webpack1?
anybody tried the latest? is it worth migrating?
>>
>>58687458

I migrated my template page yesterday.

> webpack1 file has 140kb of js
>webpack 2 file has 141kb of js
>>
>>58685370
Might as well drink a gallon of bleach now rather than later.
>>
File: the story of my life.jpg (300KB, 960x1280px) Image search: [Google]
the story of my life.jpg
300KB, 960x1280px
>tfw design backend to use JSON objects in a graph data structure
>objects only know adjacent objects
>these objects are used to build static HTML files for user content
>boss tacks on that the graph needs a hierarchy and given said hierarchy static user content needs to know the relative starting points for their trees
>system I made can't do this so I have to somehow make it do this
>requires rerendering tons of shit
>tfw realize too late that my system had the flexibility and durability of a fucking 90 year old woman

this is my first job out of college and I'm 6 months in. when the fuck do I get good?
>>
File: scuse_me.webm (162KB, 296x142px) Image search: [Google]
scuse_me.webm
162KB, 296x142px
I regularly have to override an ext js config/elements, i find it really usefull to open it in notepad++ in JSON Viewer, and then I can copy the path to my desired level. The result is something like ROOT.config.rows[0].items[2].panelConfig.whateva{}. Is there any way to automate this and use the path to create/extend the path to a structure:
config: {
rows: {[
items: {[
....
]}
]}
},
update: "rows[0].items[2].panelConfig.whateva{}"
>>
Is
<article>
seems to work without a closing tag. Is it formally a self closing tag or is it wrong to do?
>>
File: Yoko-Ono1.jpg (44KB, 630x420px) Image search: [Google]
Yoko-Ono1.jpg
44KB, 630x420px
I'm working on a register and login system, I'm such a noob but I feel like I can acomplish things at this point.

Feels good
>>
I know Java

I know Python

Now how do I build a website??
>>
>>58687542
Data modeling is a skill orthoganal to programming. It takes study, experience and time to get good at it, so don't sweat it. Study up: read about data modelling, schema design, data transformation etc. and just get more experience under your belt.
>>
>>58687921
Neither the start or end tag for the 'article' element are omissable. The browser is inferring the end of the article. Expect problems if you don't sort it out!
>>
>>58687963
Learn Spring MVC, HTML, CSS and Javascript.
>>
>>58687987

Why do I gotta learn all dis, cant I do something with python?
>>
>>58688019
You can help me with my login system I can teach you a little bit while I work.

php isn't hard at all if you already know a scripting language
>>
>>58688043
I am interested.

When are you planning to work? I have the next 3 days free.
>>
>>58688049
I was planning on doing it tonight, right now, in the next hour, is rather simple actually
>>
>>58688062
OK, what should I do?
>>
>>58688019
Then you learn Flask, HTML, CSS and JavaScript.

You're right fucked either way kiddo.
>>
>>58688080
Javascript looks ez, I never learned a framewerk tho
>>
>>58688072
Let me host a website with dropbox and we share a document on google docs to be editing live
>>
>>58688102
OK. Sounds good.
>>
>>58688116
https://sites.google.com/s/0B3BiW6MeovCaWTdOM243RGFVMzg/edit
>>
>>58688150
Wait, this is some kind of google wordpress let me get another app
>>
>>58688158
You are out of luck kid, have to finish this quickly ,look for a tool and tomorrow we can do something else, that's homework setup something so we can code together, maybe even more people will join you, hopefully.

Everything I checked was buggy and horrible or a paid service
>>
>>58688188
Oh alright, I guess it's just plain ol fish in the sea for me.

good luck
>>
>>58688091
Start with something minimal then.
Then you will understand why the larger ones exist.

For Java I would suggest starting with
> http://sparkjava.com/
Spring is great, but it assumes you already know why you're using spring. Spark lets you get started making things fast, and it's pretty good.

Spring is for later. When you understand why injections make sense. Then Spring is your thing. Just like there's no point in using Hibernate if your data model is simple enough to pull out everything using SQL statements regardless.
>>
>>58688348
OK, I will make something with this!
>>
I'm looking for a font similar to bebas neue but not so thin. Or maybe a free alternative to the font argumentum. Please help. Also, what's a better place on 4chan to ask for font recs? Obviously, fonts are a big part of webdev, but I feel like this topic is more on the coding side of things.
>>
>>58685370
It depends. C# is certainly a better language than PHP (and you could use F#) but the .NET Core is still new and in flux. Try making something tiny in both. If still unsure, pick ASP.NET MVC.
>>
>>58688800
>gd
graphic design board
>>
File: tumblr_inline_ncb63dGgze1qaohdj.jpg (48KB, 500x336px) Image search: [Google]
tumblr_inline_ncb63dGgze1qaohdj.jpg
48KB, 500x336px
Share your gulpfile / gruntfile

This is mine http://paste2.org/wL2P9Ex1
>>
OK - I am happy with Normalize.css / skeleton.css and fontawesome for building my site. I just need a light javascript library for managing DOM in a simple manner.

Thinking umbrella.js any thoughts? (http://umbrellajs.com)
>>
redpill me on php
>>
>>58690292
lots of people hate it and would like to see it die. On the other hand, it is the base for Wordpress, which is a really easy and simple way to build websites fast (lots of $$$ there), and other frameworks like Magento for online businesses. I have no experience with it though, but I'd say never trust anything on /g/, listen to all sides and then try it out yourself.
>>
I am currently doing a course for Node, Mongo and Express. Problem is there's not many job offers for Node in my country. Should I continue and git gud at Node or should I pick up something else.
>>
>>58691810
What I've done is study the job market in my country (small country, and I'm more than willing to relocate) and then started studying the top frameworks in terms of available jobs. Just follow your heart, anon...
>>
>>58684981

Make a easy to use webapp that builds websites with angular 2
>>
So I've been studying a little, testing some small things, and it appears that

-node.js is a meme
-react.js is a meme

Way too much work for something that should be simple. I mean they brag about live updates and shit when regular javascript does the exact same thing except in one or two lines tops.

I'm now looking into riot.js, hoping to not discover that it is a meme as well. Last update on the github was 18 days ago. It's still 2017, but still.

Then I hear web components is the future.

Tell me /g/, where do I go?
>>
>>58694103
i came from c# and i had this feeling all along. if is that really the case, thanks in advance.
>>
>but it's really easy just read the book, the cookbok, the oreilly book, the security book, the "real" security book, the "forget everything you knew about *it* book" and don't forget to check out for paid curses in your area where you ACTUALLY learn how to use it!
>so easy! the choice for beginners!
>>
>>58694998
you just have to read a couple of books, no paid courses. If it was as easy as watching a fucking youtube video, then everybody would be able to do it. Come on man, put some fucking effort into it
>>
>>58695054
i was just joking about the people who say that for technologies that are actually fairly complicated to gasp and definitely not for beginners

that's why i put it very generically (*it*)
>>
>>58685370
ASP.NET MVC is pretty nice overall. I'm using the .NET 4.5 version at work to do some internal web tools in a pure MS environment (Windows Auth on IIS and stuff).
Next thing I was going to figure out was how to build a authorization provider or whatever they were called.
>>
>>58687963
html and css. in theory you dont even need css if you just need plain texts and some links.
>>
>>58687921
exactly what >>58687984 said
and for future references check the w3c specs, here is the one for what you are asking (check the tag omission bit)
>https://www.w3.org/TR/html5/sections.html#the-article-element

>>58690292
the gasoline of webdev languages
pure evil, and not that good even if you remove all the cancer involved (almost cryptic language constructs, literally no consistency), but its so deeply engraved into the whole web environment, and you can do almost anything in it (everyone and their dog supports/uses it) that you cant just remove everything php now and expect a nicer/better world
>>
wtf i joined the discord server now my audio is completly fucked. like I cant play music or youtube or anything because it just spams static
>>
>>58695492
>almost cryptic language constructs
please elaborate
>>
>>58695611
alright, here is a very simple "challenge":
without using the documentation (or google for that matter) try to find what code you need to write to get the last time a file was changed
tip: you can do this with just one function call
>>
>>58695683
i asked you why php has cryptic language constructs and you want ME to come up with php code to prove your point?

strong tactic
>>
>>58695761
gee...
the answer was: filemtime
>http://php.net/manual/en/function.filemtime.php

alright, here is an already solved one:
in php you can declare and/or initialize a simple array in two ways: [] and
array()
what difference is there between the two?

>answer: exact same thing, [] is just a "shortcut" (parser replacement, syntax sugar, etc) for array() available in "recent" versions of php

here is a funny one, you can cast an array to onto an object, and this is often the cleanest/fastest way of adding an extra property onto an already existing object
>http://php.net/manual/en/function.get-object-vars.php
>(object) array()

im gonna stop now, this is starting to leave a metal taste in my mouth
>>
>>58695936
>[] and array()
jesus christ, 4chan code parsing is still buggy as hell...
oh well you get the just of it
>>
File: image.png (554KB, 600x365px) Image search: [Google]
image.png
554KB, 600x365px
>>58695966
stop hating php
>>
>>58695761
wanna know how I know you're fat?
>>
>>58695936
literally what
there is nothing cryptic about anything you posted. what, filemtime returns a unix timestamp? like in python or java? what is cryptic about this?

two ways to declare an array? oh em gee so cryptic i need to work at nsa to use php

i might give you the one about casting arrays as objects, though i don't know where you get that it's the cleanest and fastest way to do it
>>
>>58696062
if i'm not a php dev, how am i supposed to come up with php code like he proposed?

and if i was, and i if knew about filemtime, the burden of proof is on him to prove the language construct is cryptic
>>
File: hmmm.jpg (75KB, 800x600px) Image search: [Google]
hmmm.jpg
75KB, 800x600px
i am looking at job seeking websites and it look like there are much more C# and ASP.NET jobs than PHP jobs in my country.
on the other hand i am a college dropout so PHP jobs look more feasible to me because most of them don't require a degree.
but then however, i have a background in C# (3 years in highschool), and i tutor kids in C# because high school computer science exams are either C# or Java in my country.

so what should i learn /wdg/?
>>
File: div.png (39KB, 678x690px) Image search: [Google]
div.png
39KB, 678x690px
i'm a new learner . how do i make a table of contents like this?
>>
>>58697583
<ol>
>>
>>58697522
If you already know C# go with it. Don't worry about degrees, C# is at the same level of codemonkeying as PHP when it comes to web dev.
>>
>>58697583
>>58697745
actually <ul> is how wikipedia does them.
>>
Respond to this: >>58694103
faggots
>>
>>58698831
web dev is a meme, get a real job you sjw faggot
>>
>>58699058
I have a real job with a real systems language.

Web dev is a fucking meme, I mean WHAT THE ACTUAL FUCK IS WRONG WITH YOU PEOPLE?!!

TRANSPILING DOZENS OF JS-LIKE LANGUAGES INTO JAVASCRIPT?!

COMPILING JAVASCRIPT INTO A BIG FAT BUNDLE?

You all need to be shot. I'm trying to make a nice single page app, and you throw this bullshit in my face. What the actual fuck is wrong with you people.
>>
>>58699155
lol faggot doesn't even trans-pile his elm functional reactive code to js to es5 to achieve maximum browser compatibility. Do you even know how to code, grandpa. What's next you're gonna tell me you use some fossil from the 70's like vim to code. It's $CURRENT_YEAR nigga, step up.
>>
>>58699207
die in hell

every web dev should hang
god I just picture all these smug motherfuckers with their lattes writing shit code all day
>>
>>58699244
hey grandpa, sorry we don't have time to spoon feed you. Why don't you start with scratch, I've heard that's a great language for beginners. You can take your time with it, I'm sure you'll need it.

By the time you're doing that, I'll be creating the front end for my million-dollar ubiquitous cross-platform emoji app in react native while enjoying my low fat soy turmeric latte.
>>
>>58699244
Coded with
>>
>>58700138
"<3"

REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
>>
>>
fuck react/vue/redux/angular2(3-7)/flux/next/meteor/riot/knockout.

fuck webpack/gulp/grunt/whatever gay config/task wrapper of the month

fuck mongo/couchdb and every other aberration

npm is gay as shit.

20 billion dependencies for any full stack, all maintained by random autists.

Every god damn JS conference always has a quarter of the speakers talking about irrelevant diversity SJW shit.

I fucking hate all these hipster frameworks being pumped up 24/7.

I got pushed to C# and .Net because Micro$hills and Indians are somehow better than the retards behind the JS community.
>>
>>58697583
just look at w3 for documentation....
>>
>>58700726
lmao you're just retarded. Just code shit in plain javascript and add more libraries or frameworks if it helps. You don't have to become a cum guzzling high socks faggot and use whatever framework is popular for the day to be a decent web dev lmao. Sorry you could'nt figure that out retard. It's probably best you go suck Pajeet dick, you brainless microdick.
>>
>apply to front end dev positions
>FRONT END ENGINEER - REACT - RELOCATE to NYC
>salary is like 150k
>never get callbacks
>stuck in 75k purgatory
>>
File: dude.jpg (35KB, 403x447px) Image search: [Google]
dude.jpg
35KB, 403x447px
Started on Codecademy for HTML/CSS and got partway through before getting bored with being told to copy & paste some code and hit "run" especially when I already know basic HTML from years ago and could probably learn the rest on my own.

Then read on a /wdg/ that FreeCodeCamp forces you to learn on your own by giving you a project and basically saying make this work. Signed up and I'm immediately back at the "Make a <h1> Hello World header!!1" bullshit.

Which one should I stick with if I have to slog through the training wheels stuff either way?

Also will web development let me play with cool logic structures, mixing data inputs to create emergent new information and stuff like that? That's what I'd like to do, should I just stick to fucking Java or something instead? Or will this just lead to maintaining SQL databases while sipping coffee and watching anime or something.
>>
Who in here /prescribedadderall/
>>
Is the Django community still alive?
Is it worth it to spend a good amount of time creating a module for it? If I do will it be used?
>>
>>58701451
What is the module? And I use django every day
>>
>>58701258
don't use freepajeetcamp. use only w3schools.

try building a simple calculator using HTML, CSS, and JavaScript. you will have to use w3schools a lot.
after you finish think of a harder challenge.
>>
I noticed most of the faggots are still placing the node_modules folder on every project folder thay they make.
Then they just put .gitignore "node_modules" lmao

>oh how I wished there would be a centralized node_modules folder

want a new trick?
hint: webpack resolve

still confused?
reply with "poo in loo, sandeep!" for the []spoiler]
>>
>>58690701
>which is a really easy and simple way to build websites fast
>fast

Why is it that some people keeps on overrating the word "fast", "faster", etc... typical pajeet-tier people. I'm fucking annoyed by those dipshits because all they say is

"hurrdurrr I can work fast, I can work better, etc.etc... but...

can they work smart???

No matter how fast they spit out things if they aren't smart enough to think what the client exactly wanted their "fast" work would just reset into the startingline.

tldr: working smart > working fast
>>
I threw up a system using drupal. It seems that I am not going to learn much. Does it get harder or am I stuck with this point click stuff
>>
Why are there no resources for HTTPS get requests using Basic Auth in PHP?
>>
So do I store all my html, css, and js scripts in the includes of XAMPP?
>>
>>58702800
It goes as deep as you want it to.
>>
>>58703628
in the htdocs folder and start apache
>>
>>58684130
Could someone link me to a homepage that has a note section? (needs to be able to take notes via the index.html) I can't figure it out so am resorting to stealing code like the piece of shit I am
>>
>>58704115
also needs to save it via a cookie or some shit idk
>>
>>58704115
>>58704130
?????????
>>
Recommend me a replacement for this bloated botnet.
>>
>>58704305
vscode
>>
>>58701541
Online learner for image tagging
>>
File: mongo.png (33KB, 884x439px) Image search: [Google]
mongo.png
33KB, 884x439px
MongoDBâ„¢ was a mistake
>>
>>58706814
Why do you need nosql database?
>>
>>58707275
Decided to try it out since I didn't need to worry about foreign keys, indexes and all that as much as mysql, also saw some posts about big websites using it and how it was supposed to just workâ„¢
>>
>>58706814
>>58707296
here's your problem.

https://docs.mongodb.com/manual/indexes/
>>
File: indexes.png (84KB, 1092x804px) Image search: [Google]
indexes.png
84KB, 1092x804px
>>58707315
I'm using some indexes
>>
So I scrape a website, put all the html into a str, and then count the words. It works fine when it's not much text to scrape but once I scrape bigger files nothing works anymore. I get completely different word counts every time I run the script. Is it because I store everything in a string and it runs out of memory?

Please help!
>>
>>58707628
let's rewind a bit, what are you even trying to do? why count the words?
>>
>>58707673
My end goal is to count specific words from chat logs and present stats for them, but I don't see how that's relevant to my problem.
>>
>>58707776
because most of the time some people come up with the weirdest solution to simple problems.

when you scrape the site why don't you count the words right after getting each page instead of saving each into memory and then counting all of it at once?
>>
>>58707843
this or stream file content a few lines at a time while incrementing word counter
>>
>>58707843
>>58707878
I'm only scraping one page right now, while it's pleny of chat messages to scrape, I still wonder if it's enough for a string to run out of memory? Or is that even a thing? I think I read somewhere that a string in javascript can hold almost unlimited data.

This is what my code looks like now:

var x = Xray()
.driver(phantom({webSecurity:false}));

x(urlToScrape, '.text')(function(err, str) {
//the fetched html is in str
//count the words in the str here
}


I'm not sure how I can count after a few lines. Here I wait for the whole thing to load before I do anything.
>>
>>58708046
it'll use something like the page size itself, so unless the page is several GB in size you will not run out of memory.
>>
>>58708081
It's definately not several GB in size. Then I really don't understand how the string(which has the html) can change size every time I run the script on the same page. I'm not even counting the words, I'm just using str.length to check.
>>
>>58708157
is the content static?
if it is chat logs, don't they grow/get truncated all the time?
can you give an example page?
>>
What are the common patterns and project dir/file structure used in MEAN stack for backend that combines the data access, business logic and presentation layer (just the api, no js client)?
n-tier ?
>>
>>58708157
tell me you're not doing str.split(' ') to get each word
>>
>>58708175
They get loaded with javascript, so it's not static. But I use old logs, so they don't get appended anymore.

example: https://overrustlelogs.net/Day9tv%20chatlog/February%202015/2015-02-21
>>
>>58707315
>>58707369
Any other tips for what I can do or look into? seriously considering just going back to mysql
>>
>>58708211
I use str.match(/regex pattern here/);

Is this dumb? How would you do it?
>>
>>58708225
it's the same length for me all the time, so your xray thing might change something.
I'd just read the text file directly.
https://overrustlelogs.net/Day9tv%20chatlog/February%202015/2015-02-21.txt
>>
>>58708225
dood just setup some tests
dl sample chatlogs, look if your awesome wordcount behaves as expected
then you can move on to solve other server request issues or whatever
>>
>>58708271
>str.match
>Return value: An Array containing the entire match result and any parentheses-captured matched results; null if there were no matches.

you're likely making an array so big that it consumes your whole memory, read into streaming like people here told you and fuck off
>>
>>58708287
Had no idea you could do like that. Then I won't bother with doing it the dynamic way with xray. Thanks lad.
>>
>>58708662
the first thing you want to do to get things that get loaded dynamically is to figure out where it comes from and read it from there.
that should have been your first step.
>>
>>58708687
You're right, I can see it now in the source code. This is my first real web project so I'm bound to make stupid mistakes like this but I'm glad I learnt something new today.
>>
>>58708766
>source code
Press F12 and look at the network requests, much easier.
>>
i'm using webstorm. any better that i can pirate?
>>
is web dev even worth getting into as a career venture now? is the market just over saturated?
>>
>>58701622
>w3schools
im not saying don't use it, but hopefully you grow out of it and learn to poo in the loo like a big boy with MDN docs
>>
>>58709419
Yeah, this guy is right. Use MDN and avoid w3 at all costs
>>
>>58709312
way oversaturated, stay the fuck out and don't make it worse for those of us already in
>>
Can someone with experience with React/Redux help me out for a bit?

I started off with a boilerplate for electron and somewhat wrapped my head around it.

But where do I put actual business logic, or background tasks that check the app state every once in a while and call another server or something? There's reducers, actions and there's the whole React frontend, but none of those sounds like a good place to put that kind of code conceptually.

I just want to build a scheduler GUI for a bunch of elevated CLI commands. The GUI is almost finished and I finished all code to run the commands. But how and where should I wire everything together?
>>
Defend this
>you can't

>>58709955
>>
File: 1442196622289.png (102KB, 229x215px) Image search: [Google]
1442196622289.png
102KB, 229x215px
you are everything that's wrong with this planet
>>
File: sogood.gif (996KB, 1276x978px) Image search: [Google]
sogood.gif
996KB, 1276x978px
Learning Angular2 through a little app I had an idea for.
>>
>>58710000
thanks, please be sure to keep us updated with your progress
>>
File: firefox_2017-01-29_16-57-39.png (127KB, 1063x759px) Image search: [Google]
firefox_2017-01-29_16-57-39.png
127KB, 1063x759px
>>58684130
Dont forget about xss or I will fill you chat room with hitler
>>
Hey, any of you might happen to be coding with Java EE ?
I'm currently using Spring MVC (Spring Boot) because that's what we used in class but I heard here in /g/ that it was a bad idea. Don't know if I was being trolled or not.
So any good alternatives ?
>>
>>58684130

I tried liking front-end but working with HTML, CSS and jQuery is so uninteresting I almost fall asleep when I do them.

Do you think I should focus on back-end or drop web development entirely?
>>
>>58710382
You're being trolled. Spring Boot is the way to go for Java EE.
>>
>>58711086
Any good book recommendation for someone who understood some aspects of it but end up having bugs 90% of the time that I can't fix.
To make it short, I really had a lame teacher that made us copy his code without really explain it.
>>
>>58710382
>taking this board's opinion seriously on anything
>>
>>58685370
Laravel, no question. .NET MVC shouldn't be used unless you have a damn good reason, such as your boss or client demanding it.
>>
>>58711250
no books but just checkout official tutorials to get started, documentation for reference and baeldung stuff for nice tutorials on specific things you'd want to learn
>>
Hi /g/uys

Whats the term used by the community for when your boss and the team in general ask you for mini-changes to the project that will end up making the project take longer to finish?

Im building an ERP web app and every time i release a version to the test team, they ask me why the fuck i havent done those small fucking changes instead (like moving this to there, making that letter bigger, change that color, redesing this secreen).

How do i tell them that if i focus each week on working on core components and small changes this project will take longer instead of working on perfecting the core components?
>>
>>58714594
premature optimization ?
>>
File: Gandi_logo_black.jpg (17KB, 580x182px) Image search: [Google]
Gandi_logo_black.jpg
17KB, 580x182px
How do you guys feel about Gandi for hosting? I'm making a site for my small business info page - minimal traffic

They're offering basic hosting [10gb disk space] + 5 mailboxes + Whois Masking for $2.50/month for 1st year and $5/month after that.
>>
>>58687542
use a graph db like orientdb
>>
>>58694103
use go for backend. very solid, if boring. not a meme. use some simple virtual dom library for the frontend, if you even need that. also typescript helps keep your code solid.
>>
>>58708229
yeah go back to mysql
>>
>>58709181
use vs code for free
>>
UX request
Does anyone have an example for an editable list with columns, that's user-friendly?
I'm having a hard time not implementing it, but finding the best design
>>
Started my third RN android/ios app this weekend.

Got a Node server up with OCR and Socket.io.

Fun lil pet project so far.
>>
>>58716059
This is me.

>>58710382
Spring boot is fine. Know where to find/implement best practices. Just don't be a dumbass (also, don't use Java).

I've been making some applications with spring boot and kotlin lately. It's been great. Kotlin is a great Java/Scala alternative.

>>58709832
Business logic can be anywhere you deem fit.

Only touch reducers/actions when store/state should change ('change').

Honestly, half the Redux/React applications I see don't need Redux. Are you sure you do?

>>58685131
I've used Material UI heavily. I recommend it and still use it on most of my day job React projects. That said the app bar sucks.

>>58710000
>Someone hasn't seen what tech companies are hiring for lately.
>>
>>58716059
how stronk is react native? Im considering picking it up since I already write React for a living, but im concerned that ill get months in to a project until realise in writing it in a shitty meme language.
>>
How long does it take to git gud at programming?
>>
>>58716370
1-2 weeks and you should be ready for interviews at Amazon/Facebook/Google, but only for LGBTQA
>>
>>58716163
>Honestly, half the Redux/React applications I see don't need Redux. Are you sure you do?
I'm 100% sure I don't need it, but I'm mostly in it for the learning experience anyway. This is a very small project.

I just wanted to try React, but only later realized that the boilerplate I used was built on Redux, so I just rolled with it.

If I shouldn't touch actions/reducers, that would mean I'm left with putting the code into the React components or somewhere outside the whole frontend code, by initializing a custom module as early as possible. Seems like I'm going to do the latter. Thank you
>>
File: image.jpg (8KB, 235x214px) Image search: [Google]
image.jpg
8KB, 235x214px
>front end 'developer'
>>
Html <masterRace> architect here, ask me anything.
>>
>>58718565
This. CSS monkeys at work please fuck off and stop talking about fonts and accessibility around me I don't care.
>>
>>58718916
what do you do friendo?

what do ya work with
>>
>>58718916
That's a designer. Front-end devs are developers.
>>
File: shopifyversion.png (265KB, 1143x717px) Image search: [Google]
shopifyversion.png
265KB, 1143x717px
Does anyone know if there is a shopify addon that allows me to do something like this box at the top of the page, almost exactly like this site?
>>
>>58716405
underrated kek
>>
>>58716163
Employed already, adding versatility to my port before applying so some biotech startups

and I've seen a few indeed jobs seeking Angular 2
>>
>>58684130

What's the easier way to learn all these new js frameworks like meteor, angular, react, etc etc. It's great until you have to move things around and reinstall all the packages back and forth, why cant they make it simple like html, css, js ?
>>
>>58719733
It's nice to be simple when your application is simple

When it's one and a half million lines of code you tend to appreciate a little more structure when adding more.

Create a app with html, css, js
Then create the same app with angular
Then add css + sass to it
Then a backend with node.js

then repeat with react.
>>
What's a good editor for webdev (node.js)? I'm using atom atm and it doesn't help me with shit.
>>
>>58720499
You got packages for Atom right?

WebStorm is decent alternative
>>
>>58702545
ok, ill bait

how do I work smart?
>>
>>58720593
I don't. What packages do I need?
>>
>>58720499
I'm not even exaggerating, Sublime Text is basically the perfect text editor.
>>
Anyone here has experience using functional programming for web dev?
I mean experience usibg Elixir and Phoenix for backend, and Elm for front end.

Things are moving to FP since React and Redux took over
>>
File: 476.png (92KB, 500x366px) Image search: [Google]
476.png
92KB, 500x366px
why can't we have IRC on freenode?
>>
>>58720833
Emmet, atom-typescript,
some snippets, node debug
>>
>>58720877
>fp for web dev
ki yuriself
>>
/g/, I'm desperate

How do I escape the node jew?

all I want to do is make a nice modern single page web application with a crud / analysis backend. But there's no way around it. You have to use node for all the modern, nice stuff. If I want to program in Go, Java, Python or whatever else, I have to use node for server side rendering anyway.

if we have to involve node anyway, then why not just give in and accept the js cancer?

fucking end me
>>
>>58720964
just get on php you hipster faggot
>>
>>58721033
>php
over my dead body
>>
>>58687542

use pathfinding on query instead of redoing everything
>>
hey guys, what are the advantages of using jquery over javascript ? js code looks cleaner and its easyer to read. I came from C# and for me pure js makes alot more sense. But everyone i look people are either using a framework of jquery to do stuff.
>>
>>58720964
asp.net
>>
File: 4357752539_d012ce380b.jpg (133KB, 500x375px) Image search: [Google]
4357752539_d012ce380b.jpg
133KB, 500x375px
With Amerikkka sliding down into the path of fascism, it's important that our websites are secure from arbitrary government seizure. Here are a list of web hosters with foreign (or a foreign option) servers, and which are also committed to free speech/privacy.

List of foreign VPS/Data Centers Known for privacy/free speech:

https://prq.se/
https://www.bahnhof.net/
http://www.cyberbunker.com/web/index.php
https://www.anonymousspeech.com/
https://www.orangewebsite.com/
http://www.ccihosting.com/
https://www.anonymoushosting.in/
http://www.cinipac.com/


Whoever posts the next thread, add this to the OP (and fucking remove the 2nd link in "How to get started". I added that shit weeks ago and nobody has notice yet)
>>
>>58721050
>refuses to use anything other than meme langs/frameworks

is this you?
>>
>>58720753

install wordpress
>>
>>58721090
aspergers ? fuck no

>>58721099
PHP is not just a meme, it's a bad meme.
>>
>>58721098
>With Amerikkka sliding down into the path of fascism
nigguh please...
>>
File: image.png (250KB, 523x372px) Image search: [Google]
image.png
250KB, 523x372px
>>58721099
pic related
>>
File: image.jpg (31KB, 512x512px) Image search: [Google]
image.jpg
31KB, 512x512px
>>58721109
>aspergers ? fuck no
ayy dont knock it til you try it mayne

>>58721109
>PHP is not just a meme, it's a bad meme.
is this you?

pic related

i will shame you hipster faggits into using g0dlanguage that is php
>>
>>58721081

jquery is a javascript library, mainly used for dom parsing.

if you don't need to change the dom, don't use jquery.

if you need to change the dom, use jquery.

you'd be a retard to use regex to alter the dom, no? but it sounds like that's the class of person you'd want to be.
>>
>>58721109
>>58721050
>>58720964

>I don't want to use node.js
>but I don't want anything that isn't node.js

hey, fuck you
>>
>>58721149
got it. but i had to listen to this poo-in-the-loo first. thanks for the heads up. https://www.youtube.com/watch?v=ueb_YVfCfiI
>>
>>58720753
not him but basically make your stuff reusable by following good practices
So don't be satisfied with throwing a bunch of copy pasted stck overflow answers that kind of work atm but may or may not screw up if you stare at it for too long, make some tests, minimal amount of documentation structure your shit so that it'd be as cheap as possible to maintain it or iterate on it. You otherwise rack up what memester refer to as technical debt which is in fact the extra money needed to refactor your code to make it less shit.
>>
>>58721171
That's my problem

Modern web development more or less demands a node dependency.
>>
>>58720964
Why would you need to use node for server side rendering?
>>
>>58720964
Who's forcing you to use node for backend?
>>
>>58721273
The chase for modernity

>>58721235
Why wouldn't I? What else is there?
>>
>>58721295
apache? nginx? writing your own server?
>>
>>58721295
>Why wouldn't I? What else is there?
Static files, template engines, any language with http library ...
>>
>>58721377
>>58721398
Doesn't mesh at all with javascript frameworks.
>>
Lads, this may be a stupid question but I need help.

I've finished with the HTML/CSS courses on CodeAcademy and DASH (really good, this one) and I know (sort of) what to do next. My problem is that I'm learning stuff that I'm not putting to good use. So I was thinking, if there's a guide or something that tells me what and where to learn, and then gives me an assignment or something, it'd be great if you could share it.

To be honest, any guide will do.

One more stupid question: Most guides tell me to learn Python (and then flask) but the guides provided by this general tell me that I should learn .nodejs instead. Which should I go for when I get to that?
>>
>>58721480
but you can host pages with whatever meme js framework you want js files are static files
>>
>>58721526
Make me a todo list app with node
I'll grade it
So will the other cucks here
Then, and only then, will you get your next task


ps. this course is 15 payments of 59.99 usd
>>
>>58721480
>using memes
>>
If I do a non-IO blocking statement on node, everything hangs. Right? It's single threaded.

So if I have a 1000 clients, then there will be no work done for clients.

But what if I start four node js servers on the same machine?
Then only 249 clients would be blocked, right?
>>
>>58721526
If you're looking for projects to make using plain HTML and CSS then just pick a website that you use a lot and clone it, adding your own flavor to it.

In my case it was online newspapers, I made an index page using dummy data and images. This way you will already have a project to work on when you start learning backend, rather than the generic project provided by the course.
>>
>>58721625
You could just start a thread for each client!
>>
>>58694103

I feel you on this, I've been working in Node for a couple of months now, just kind of making shit with it as I learn it.

What I'm realizing is that the whole JS sphere is in a total state of disarray with all these new libraries and frameworks coming out - and I hope that it kind of clears out and maybe like one or two of the techs stick around (My money is on Node, and the MEAN stack).

Not only that but it seems like JS framework jobs are all start-up tier right now, and currently working in the start-up sphere... Its not all that great sometimes.

Right now I'm moving onto python+Django since I do a bunch of ML and algorithmic trading in python already, that and Django has been around for about a decade now, so its got its roots.

But I would suggest taking a poke at Ruby or Python also be sure to check your local market to see whats in, especially for the company size you are looking for. Larger companies will tend to lean towards more mature frameworks.
>>
>>58721735
Hmm, okay. I was thinking of doing that but I thought that I wouldn't be able to do it because I don't have the assets and shit. I'll see if I can sort something out.

Anyway, at what time down the line should I start learning Photoshop?

Also, which text editor should I use? I downloaded Atom, but I've been told that I should use Sublime.
>>
>>58721784
you should ideally never have to worry about photoshop or creating your assets... but if you do its not super hard to mock up some placeholders.
>>
>>58708229

I fell into the mongoMeme also. Now I am checking out Column-Oriented DBs.. supposedly great if your handling tons of data. While keeping the RDB style
>>
>>58721784
>assets
Use dummy data and images. Be creative. it's not like you have to pay a media license to start a project or anything. And even if you do find an icon or something you like and it's not free, just pirate it, whatever, who gives a shit.

No idea about photoshop.

Text editor choice is up to you really. Legend says there are people using Brackets right now, maybe even in this thread. Anything goes.
>>
>>58694103

this is why php is still alive and well

JS frameworks and NoSQL databases are for SPA's on the cloud. Why? They a lot more lightweight which is exactly what you want on the cloud. You see all these kids nowadays trying to jump on the JS framework wagon without even knowing how to CRUD with more mature and stable technologies. It really is a meme for the most part.
>>
>>58721625
Use Cluster if you're on a multi core machine
https://nodejs.org/api/cluster.html
>>
>>58720892
this
>>
>>58720851
This. If VS Code is Atom with less Electron-caused bullshit, Sublime Text is Atom with none of bullshit and prettier font rendering. It has an extensive plugin library. It nags you like WinRAR, but frankly, it's good enough to pay the full price for it.
>>
why isnt this working? nothing happens

$myfile = fopen("hello.txt", "r") or die("Unable to open file!");
echo fread($myfile,filesize("hello.txt"));
fclose($myfile);
>>
>>58723656
there's nothing wrong with it
if it's not outputting absolutely anything, the file is empty
>>
>>58720964
>I have to use node for server side rendering anyway
The practical, serious, enterprise-grade solution is to pick a mature MVC framework that supports expressive templating languages, i.e., Ruby on Rails or Django. Drop React and use vanilla JavaScript, jQuery, http://intercoolerjs.org/ or http://umbrellajs.com/ to handle the updates.

The far less practical alternative is to do what https://github.com/stephanos/go-reactjs does. It'll be slow compared to node.js and likely buggy, but you can do it.
>>
>>58694103
Node is definitely not worth it, IMO. Node's concurrency model is primitive compared to what is available for the back end. It has more libraries than many other languages but the average quality is worse.

Riot.js isn't exactly popular and doesn't have a large community. Try Vue.js first. Seems like people who enjoy it often did not like React for its complexity.
>>
im beginner at web programming, is laragon good for bootstrap?
>>
best book to learn .net core? i'm running linux and macOS
>>
File: time4vps.png (52KB, 1109x970px) Image search: [Google]
time4vps.png
52KB, 1109x970px
>>58684130
The hosting in the OP seems really overpriced, maybe I'm missing something in the features. I use https://www.time4vps.eu/ with the s package, it's fine for my simple purposes (owncloud + personal website + teamspeak server).
>>
anyone here hate trump and want to start an anti-trump website?
>>
>>58724811

no
>>
>>58724811
go home Hillary you're drunk
>>
>>58721776
I want to migrate away from Django.
>>
So, tell me /wdg/, why you guys consider nodeJs a meme?

I have a 100,000+ LOC nodejs project using mongoDB (With a few 23K+ document collections), with a response time of 20ms on avarage.

I'm no expert, and neither i'm claiming that its on enterprise level, but I'm guessing that you guys have either:

1.- Bad architecture practices
2.- Bad coding practices (Including, using a gorillon of libraries)
>>
>>58725147
what do you use for mongodb hosting
>>
>>58725147
>memedb
>>
>>58725147
Because a long time ago Javascript had a reputation for being a weak language for anything serious.

That never really went away.
>>
sudo cat /etc/shadow | head -1 | grep \$1


If anything displays, you're begging to get hacked
>>
>>58725189
Self hosted on a dedicated server
>>
>>58725390
in which use cases do you use mongodb over rdb ?
>>
File: 1484726175792.jpg (82KB, 500x715px) Image search: [Google]
1484726175792.jpg
82KB, 500x715px
>it's $currentYear and if you want asynchronous calls to the server the only option is node.js
>>
>>58726282

wat
>>
>>58726282
what did he mean by this ?
>>
>>58726299
>>58726384
I have a chat app, how do I load without javascript specific conversation's messages by clicking it's name?
>>
File: thinking-face[1].png (53KB, 256x256px) Image search: [Google]
thinking-face[1].png
53KB, 256x256px
>>58726282
>asynchronous calls to the server
>>
>>58726453
a fucking link to the page with the messages? also learn english mr negro
>>
>>58726453

idk what youre asking, try again
>>
>>58726453
>>58726491
also what does node has to do with not using javascript
>>
>>58726516
I think i figured it out. He is a retard who isn't caught up with the latest memes. He thinks Node.js = javascript on the client side. He is complaining he has to write in javascript to make ajax calls to load some messages.
>>
>>58726491
>>58726516
Facebook messaging faggots, conversations to the left, messages to the right, messages are updated when you click someone's name.
>>
>>58726548
You are complaining you cant remake facebook messenger without writing any javascript?
>>
>>58726548

you dont need node to do this?
>>
>>58726548
register api key with facebook, use their api with oauth sign in which does not require node
>>
>>58726596
wait wtf he want to use facebook api?
>>
>>58726607
idk he talked about facebook messages
>>
>>58726578
I'm asking why can't scripting languages do something as simple as ajax-like calls?
>>
>>58726622
i give up helping this dude lol
>>
>>58726628

they can?
>>
>>58726628
>Ajax (also AJAX; /ˈeJdʒæks/; short for asynchronous JavaScript and XML)
>>
>>58726628
probably because facebook uses oauth for that part and js has no standard crypto api exposed to the dom.

no wonder js monkies rarely ever make anything interesting, the language restricts them to the most basic shit.
what a fucking joke.
>>
>>58726688
but the point of oauth is to run through 3rd party server so no need to expose stuff to the dom
>>
>>58726709
i mean there has to be a node oauth handling implementation right
>>
>>58726641
>>58726688
It all sounds so simple but it's not, if you want to do this right you have to use react or vue.
>>
>>58726688
What are you working on senpai?
>>
>>58726748

lol no....you can use jquery or php to do async stuff
>>
>>58726771
or regular js
>>
>>58726771
Again I said if you want to do it right, of course you can use jquery but it's not scalable and it looks like shit, vanilla takes a long time to build basic functionality and after a while you're building your own framework so why not use react or vue in the first place.
>>
>>58687942
What are you doing it in?
>>
>>58726881
react has nothing to do with ajax. just require superagent or request and get on with it. it's not hard
>>
>>58726768
https://nntpchan.info/
that, sorta.
>>
>>58727018
dope idea
any link to source ?
>>
>>58727090
it's been a thing since 2013 my version is a 2 or 3 gen implementation
https://github.com/majestrate/nntpchan
>>
>>58727090
>>58727104
backend is in go, used to be python but python is garbage at scaling up. be warned this code is a mess pile of crap and contains remnants of my first attempts at something written in go https://github.com/majestrate/srndv2
>>
>>58727136
is it being used ?
if so is it by pedos ?
>>
>>58727192
it is sorta being used, it used to have a pedo infestation but that node died off thankfully. it's long gone and they never came back THANK GOD. we used to get bi daily crap floods. :^D
>>
File: overcock.jpg (17KB, 428x241px) Image search: [Google]
overcock.jpg
17KB, 428x241px
>>58727217
we got a few nodes, like 5 or so, but post rate is really low.
>>
>>58727217
one day there'll be a mobile client for this or a similar application
then millions of chinks will use it to share porn without getting vanned
You are on the right side of history
>>
>>58727282
i've already started patching that overchan android app to support us but android is so fucking ass that i'd rather spend time slwoly tearing my fingernails out
>>
>>58727316
>mobile is so fucking ass
ftfy
>>
>>58727361
i wouldn't know anything about the apple ecosystem but I'd assume it's bad in its own ways in addition to the quarks of running on an underpowered shit brick.
>>
>>58684944
Click map. Go to section you want to do.
Yay.

It is pretty good as far as giving you a thorough lesson in what vanilla javascript is capable of. There are lots of projects and algorithms to be solved. And the freecodecamp wiki usually has three solutions for every problem if you are stuck.
>>
>>58687963
Check out the flask microframework if you want to make something with python. Crazy easy to get a simple local page up and running.
>>
>>58684944
>Does it get better?
No it only gets worse from here on, thank the diverging dialects and the fact that js is no more than bytecode now.
>Is it a decent way of learning javascript and above?
REAL WEB PROGRAMMERS ONLY USE WEB ASSEMBLER D:<
>>
>>58687963
suggested reading material
http://www.ietf.org/rfc/rfc2616.txt
>>
What's best for making a beginner registration/login system with sql, asp. Net or php?
>>
>>58727706
how beginner?
>>
>>58725147
>100,000+ LOC nodejs project
Sounds horrifying. What does it do?
>>
>>58727732
I have a few months of experience with sql and the usual css, html, js. Just now learning beginner php.
>>
>>58727794
go with anything but php as php is a pile of ass. C# is getting pretty good i hear, not sure if for weeb deev.
>>
>>58727018
And you are >>58726282, >>58726548, >>58726453?
>>
>>58727824
no, doesn't look like it
>>
>>58727810
What don't you like about php?
>>
>>58727838
it somehow managed to be a worse language than javascript as far as type fuckyness goes
>>
>>58727810
is it realistically possible to get a job in C# without having a degree?
>>
snagging a web dev job easy without a degree?
>>
elm-lang.org

The language that inspired Redux/React that leads to the mess we had today.

Not exactly a bad thing though, this language is fun to write simple front-ends
>>
>>58714594
Feature creep.
>>
>>58720964
>caring about server side rendering

bro. who tf cares. client side rendering is up to snuff.
>>
>>58701258
Stay away from codecademy. They don't teach you how to think which is 90% of being a good developer anyway. Most devs are bad hence the creation of codecademy.
>>
>>58701258
I stopped codeacademy for those reasons
I started back up with freecodecamp. It's similar, but it forces you into projects to make shit on your own. That and it has a clear goal to get people employed, or at least on the path to employment, as a web dev

I'm sure there are better options, but freecodecamp is fine for a beginner like me.
Thread posts: 297
Thread images: 27


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