u/N4sa
- 77points
-
0points
Servers offline? (self.survivetheculling)
-
6points
I made a simple Todo List with React/MaterialCSS (self.learnjavascript)
N4sa
N4sa
The opponents reaction is totally "I can't believe you done this".
N4sa
lmao man, is this really what front end development has come to? Webpack isn't enough on its own, now you have to integrate gulp into it? So your module bundler which also supports plugins, now needs a task runner? Is all of this bloat even necessary?
N4sa
I didn't say I was against backend scripting, my point was to stick to the same domain of JavaScript. Everything you just mentioned can be done with or along with JavaScript.
N4sa
Eh, I disagree. Not because I have something against PHP. I just believe adding any new language is only bringing in a new host of concerns that are unnecessary. The good thing about FCC is it doesn't focus on different domains (languages, frameworks), it sticks to one domain, JavaScript. This makes it easier for people learning concepts. It's up to the individual to choose their domains after they learn how web development works, which is the point of FCC.
N4sa
This will be Mark Hamill's last Joker voice over.
N4sa
nice! haha, yeah it needed a revision for sure
N4sa
It sounds like you're not familiar with module bundlers (browserify, webpack).
You basically write all of your client-side code using these technologies. Write all of your client-side JS in commonJS modules (node) and bundle them up into a single file. Create tasks with either npm scripts or a build tool like gulp/webpack to handle automating tasks like minification/testing/compiling SASS.
Look into browserify to see what I mean.
N4sa
Haha, yeah I'm colorblind and have a bad eye for design. I did like what I saw from materializecss, I don't dwell in css very often so as a prototype I like that the UI is different than something like bootstrap.
N4sa
Gotcha, I didn't realize there was a term for this. I rubber duck debug all the time lol.
N4sa
Rubber ducking? never heard of that. Nothing in a google search sheds much light either, unless you're talking about duck typing?
Also I'd avoid using too much jQuery if you're trying to learn JavaScript. It's fine here and there but it's just a library.
N4sa
AJAX makes an HTTP request to a server. The server listens for these requests and depending on the route it will perform some kind of operation. For example, you use AJAX to make a GET request to the endpoint '/users'. The server receives this request and matches the '/users' endpoint to one of it's routes. The server then querys the database for a list of all users and sends the list back to the client in a special format (usually JSON or XML).
This is a simple example but this is the gist of what's happening. Look into HTTP if you want to understand more. There's too much information to put into a single reply here.
N4sa
Managing state in complex applications is not reasoned about by just using "jQuery". Using Reacts Components with an architecture like flux/redux makes a lot of sense. You can propagate the state throughout the entire application without worrying about how your data is being presented in the UI. The state gets passed down from parent components to child components. React's diff algorithm is what makes these changes powerful. If state changes you dispatch these changes to your state tree and React diffs the changes for you. It's a beautiful piece of technology but I will agree it's not necessary for smaller, less complex applications.
N4sa
Was Marcus Lovett playing? I didn't get a chance to watch the game
N4sa
I'll agree that strong typing is nice, since JavaScript really makes a mess of type checking. I still think people should understand prototypal inheritance and the gotchas of JavaScript before jumping into a compile to JavaScript.
Using typescript isn't going to solve any of OP's problems. Especially since most job Opportunities will be looking for people that understand JavaScript directly.
N4sa
Eh, why not just practice using ES6 classes? which still uses prototypal inheritance under the hood. Angular 2 isn't the end-all be-all of JavaScript. People were saying the same thing about Angular and it just became another framework trying to do too much.
If you're learning JavaScript, jumping into a compile to JavaScript language is a really bad road to go down.
OP here is a good video I watched when I was learning about prototypes in JavaScript https://www.youtube.com/watch?v=PMfcsYzj-9M
N4sa
Here's something I came up with really quick. I just tweaked a few things around but it mainly just uses data attributes to manage positioning and position values. Just some simple comparisons and it changes/removes classes.
had to add some extra markup but what you had wasn't really semantic anyways. Here's the code if you want to look at it. Just some jQuery to traverse/change classes.
N4sa
You are a god warrior.
N4sa
I may be alone on this but I find backbone very unopinionated, and because of that, there's no real structure when you first start learning it. Also he said they don't need collections/routes/data-binding which is something that Backbone does well (substitute data-binding with a pub/sub pattern but it's accomplishing the same thing).
Personally, it sounds like he doesn't even need a framework/library if he's just doing form submissions.
N4sa
It depends on what you plan to do with the app. What if you make some new changes? add different features? Who else is going to be looking at the code and working on it?
If the development is going to be fairly static and only you working on it. Then you may not even need a framework, or even jQuery for that matter. The way I see it, if you can get it done in a simple manner, go for it.
N4sa
I'm glad this made it to Wired. FCC is excellent.
He has to prove that he has partnerships with these companies, not that he worked for or with them. Even if he somehow did, how is he going to fund a legal team to sue the SEC? are investors paying for that?
TBIS is done. Their reputation has been tarnished for a long time now.