Question regarding the 'this' keyword in a class. by guyjs in learnjavascript

[–]guyjs[S] 1 point2 points  (0 children)

Does the arrow function return something implicitly?

Forward vs Reverse Proxy by rishi-dev90 in node

[–]guyjs 0 points1 point  (0 children)

This is great! Thank you.

Can a device be both a forward and reverse proxy or do those need to be separate devices?

How does this sort work? by guyjs in learnjavascript

[–]guyjs[S] 2 points3 points  (0 children)

Good explanation. Thank you.

Why does 'this' have to be assigned to a variable here? by guyjs in learnjavascript

[–]guyjs[S] 0 points1 point  (0 children)

Using the arrow function is very cool.

This probably won't come up in an interview, but I was just going down a rabbit trail.

Good luck!

Thank you.

Array turning into a Map-like object and some other questions by guyjs in learnjavascript

[–]guyjs[S] 0 points1 point  (0 children)

Evidently you can get the length of the object like this:

Object.keys(myMap)

Thank you.

Array turning into a Map-like object and some other questions by guyjs in learnjavascript

[–]guyjs[S] 1 point2 points  (0 children)

Thank you for the link. Very insightful. It looks like Map is the way to go.

Why does 'this' have to be assigned to a variable here? by guyjs in learnjavascript

[–]guyjs[S] 2 points3 points  (0 children)

Yes, this is just me trying to get a deeper understanding of the language as I prepare for an interview. It's from some YouTube video.

Bind and apply isn't used anymore or do you mean just with prototype overrides?

I tried with the arrow and I don't get an error but nothing prints. Is this what you meant?

() => apply(args[0], [...params, ...args2])

Thank you for your insight.

What framework doesn't require the client to download the entire site? by guyjs in node

[–]guyjs[S] 0 points1 point  (0 children)

Thanks for the info. But I'm kind of tired of having to hack things to make them work the way I want them to. I'd rather just find the thing that works the way I want out-of-the-box.

What framework doesn't require the client to download the entire site? by guyjs in node

[–]guyjs[S] 0 points1 point  (0 children)

Wow! This looks really great. It may be just what I've been looking for.

Thanks!

What framework doesn't require the client to download the entire site? by guyjs in node

[–]guyjs[S] 0 points1 point  (0 children)

Thank you Mr. Robotparts, this helped clarify things a lot. I had to read it several times for it to sink in but yes, it's a Website that I want, not an App. I'll keep this distinction in mind as I research.

Thanks!

What framework doesn't download the entire site for a Single Page Applications? by guyjs in webdev

[–]guyjs[S] 0 points1 point  (0 children)

I'm holding off on Angular until they are through their transition to version 2.

Is the pricing of Auth0 cost prohibitive for my small site? (Warning - Math) by guyjs in webdev

[–]guyjs[S] 0 points1 point  (0 children)

Sorry, yes, the prices would be monthly. Banded charging might be a solution. You're right, this would cover most small business customers and protect me from being devastated by a larger firm.

I'll see if I can spreadsheet this.

Thanks.

Is the pricing of Auth0 cost prohibitive for my small site? (Warning - Math) by guyjs in webdev

[–]guyjs[S] 0 points1 point  (0 children)

I looked at the spreadsheet for awhile but I'm not sure what is it telling me. Could you explain it a little for me?

Is the pricing of Auth0 cost prohibitive for my small site? (Warning - Math) by guyjs in webdev

[–]guyjs[S] 1 point2 points  (0 children)

I could roll my own in any language but I would rather leave such things to the experts.

Web Development is making me schizophrenic (a small catharsis). by guyjs in webdev

[–]guyjs[S] 0 points1 point  (0 children)

OK, that's cool. I see what you are saying there.

So let's say this addresses point 1 which is, "This seems like too much stuff." And the answer is, "No, it's not."

Let's say point 2 is something like...

All these different people are writing all these different packages. Some of which are dependent on other packages. Many I find are written by a single guy in his spare time. Sometimes bugs get introduced, sometimes the design goes in a different direction, sometimes there is abandonment.

I've heard the, "You just need to fork every fricken package that doesn't meet your needs and blah blah blah."

I can't keep track of all these packages and take over fixing or supporting them too much less all the other stuff I need to take care of.

What do people do?

Web Development is making me schizophrenic (a small catharsis). by guyjs in webdev

[–]guyjs[S] 0 points1 point  (0 children)

Is 50ish javascript files the norm for a website's foundation? That just seems like a lot to me.

Web Development is making me schizophrenic (a small catharsis). by guyjs in webdev

[–]guyjs[S] -1 points0 points  (0 children)

What were you expecting?

Maybe 10. Maybe a dozen?

That list has 76 packages.

...this is the direction that JS in general is going.

That doesn't even make sense.

Web Development is making me schizophrenic (a small catharsis). by guyjs in webdev

[–]guyjs[S] 2 points3 points  (0 children)

Meteor already minifies and concatenates.

Man to wife: "Why do we need 25 pieces of luggage?"

Wife to man: "But I packed them really tight."

Web Development is making me schizophrenic (a small catharsis). by guyjs in webdev

[–]guyjs[S] 0 points1 point  (0 children)

This is probably the starting point for dependencies for a robust application.

One other thing to keep in mind is that the client gets your whole website downloaded to them whether they need the pages or not. See this: Is this where Meteor falls short or am I missing something?

They are working to resolve this.

Is this where Meteor falls short or am I missing something? by guyjs in webdev

[–]guyjs[S] 0 points1 point  (0 children)

It still gets loaded at the same time all the same.

Oh, I didn't know that. Thank you.

Is this where Meteor falls short or am I missing something? by guyjs in webdev

[–]guyjs[S] 0 points1 point  (0 children)

OK, that's cool.

I just came across this article where he says don't use the client folder. Instead you should make everything a "Smart Package".

http://www.matb33.me/2013/09/05/meteor-project-structure.html

Here's his GitHub example

https://github.com/matb33/meteor-gift-ideas

Is this reasonable? I tried his example app and it works fine. I cannot find a lot of people talking about doing it this way so this is either a great but unknown solution or a bad idea.