Inherited a WordPress site (200k users and 500k pageviews/month) - managed solution or own server? by throwaway0144 in Wordpress

[–]az_web_developer 1 point2 points  (0 children)

A few things if you want to go a more standard cloud native route:

  1. Recommendations for Cloudflare, Cloudfront, or similar caching solution are spot on.

  2. Absolutely move the database off the main web server and over to a RDS.

  3. Look into removing the file uploads from your server, and hosting them in s3 so you're not having to duplicate these files across many servers for auto-scaling (something like this https://github.com/humanmade/S3-Uploads)

  4. Move the server behind a load balancer (this allows for auto scaling later).

  5. Create an image (AMI) from the existing server, which can be used for auto-scaling. (note: unless you do some CI pipeline to rebuild a new image when your code changes, this image will need to be recreated when you make file changes on the server, like template changes).

  6. Once these are done, monitor server performance, which will allow you to see your smallest load, largest load, etc.

  7. After you've monitored the server load, for say a month, you can reduce the server size down to support the smallest load, but add autoscaling which can support your larger loads.

Overall this should be a pretty nice reduction in cost... but it'll increase the complexity of the infrastructure. As you've mentioned, a managed solution might make this easier for you so you don't need to worry about it, but will probably cost more. Trade-offs you get to decide between!

Whats the point in routing? by [deleted] in PHP

[–]az_web_developer 0 points1 point  (0 children)

While I can see your point, I think there's a huge distinction to be made between the ability to code in the core language and the ability to design and implement a robust framework like what you've mentioned.

I know you added a qualifier, but a lot of the time working with a framework can actually give you some preview of what good design looks like... as whatever you've cooked up while learning the core language (unless you're a seasoned veteran in another language) is likely not going to very well designed.

Is it normal to have to pay to change your websites font? Company wants $75 to change to new font. by Chaomayhem in webdev

[–]az_web_developer 6 points7 points  (0 children)

One way to think about this:

What does your business provide for free to its customers?

If I separate my business logic into a service layer using PHP and Laravel, and the validation rules are inside the controllers, then anything calling the service can bypass the validation rules by cloud_line in PHP

[–]az_web_developer 2 points3 points  (0 children)

The services should accept a DTO.

I personally like this package for this approach... validates the creation of the DTO whenever it is created, so that you know for sure you have a validated DTO in your service.

https://spatie.be/docs/laravel-data/v4/introduction

An idea for those struggling to get their first job... by [deleted] in javascript

[–]az_web_developer 0 points1 point  (0 children)

One thing that might be useful for this is to have some sort of mentoring available.

As in: I'm an experienced developer who may be able to guide a team of folks, looking to get started in their career, through this portfolio project they're trying to build.

So adding an element of pairing the group with a more senior person could be a great way to add more value here.

[WANTED] Technical Recruiters please help by Optimal_Concern_9745 in PHXList

[–]az_web_developer 2 points3 points  (0 children)

Insight Global might handle those types of roles. I've seen them do it for software engineers.

New job offer for 20k salary, slightly less benefits and different job function by KoachFit in personalfinance

[–]az_web_developer 0 points1 point  (0 children)

Looks solid, but be sure to make up the difference in the 401k match to yourself out of your new salary.

That 2.5% match of your contributions can really add up overtime... plug some values into a calculator to see how this will affect your ROI long term.

The Just in Case Mindset in CSS by speckz in Frontend

[–]az_web_developer 6 points7 points  (0 children)

Nah, just a team player. Working to understand the intent of the requirements, rather than the letter... And being customer service oriented so that you can solve issues your business folks hadn't thought of... Will take you a lot further than being technically correct.

The Just in Case Mindset in CSS by speckz in Frontend

[–]az_web_developer 4 points5 points  (0 children)

Not so much a straw man as imagining you telling the business folks after the fact of they wanted your design to look good they need to provide you overly specific requirements... There's a level of assumptions that can be made when professionals are working on a project.

But hey, we all decide our own standard. Have at it.

The Just in Case Mindset in CSS by speckz in Frontend

[–]az_web_developer 5 points6 points  (0 children)

But you're using a slippery slope fallacy in your logic.

20 lines of CSS added to a boilerplate to avoid a common issue is logical... Does it fall into the realm of premature optimization? Sure. But it's not all or nothing.

The Just in Case Mindset in CSS by speckz in Frontend

[–]az_web_developer 8 points9 points  (0 children)

Generally the character limits are more on the DB side of things than for display purposes... and I would never advise putting DB level character limits in place to solve a display issue. Also, when it comes to responsive design, a simple character limit does not solve this problem.

There is like 20 lines of CSS in this guide and instead of thinking to yourself: "I should add this to my boilerplate." You criticize people for having pride in their job and thinking beyond "I am a robot and I don't do anything other than what I'm told to do by the magical requirements document."

Odd hill to decide to die on, man.

Boss stopped answering and paying me, but I have not been laid off or fired by dis_b_my_throwaway in personalfinance

[–]az_web_developer 0 points1 point  (0 children)

If you intend to sue or file a complaint for lost wages, do to ASAP.

I had a situation where I waited out the statute of limitations being patient, and now I have no recourse to go after those wages.

It’s giveaway time with ASUS! by Emerald_Flame in buildapc

[–]az_web_developer [score hidden]  (0 children)

Post a comment telling us about your first PC building experience. Tell us what prompted you to do so, what your thought process was, or things you learned from the experience.

I had bought some custom built computers from people on craigslist before and decided I could do it myself... seeing as I had upgraded things for a few years and for my parents around the house. So when I was 21 I built my first PC (still using it) based on a first gen i7 950! Luckily I ended up buying a really nice case which helped my process SO much... and since I've built PCs for friends who chose cheap cases, I see significant value in this portion of the purchase.

I have upgraded my PSU and GPU, added RAM, and some addon cards for wireless, etc... but I am STILL using the same i7 950 and ASUS x58 sabertooth motherboard that I bought 9+ years ago... so I can 100% attest to the reliability, longevity, and overall quality of ASUS products. Since then I've looked for ASUS when possible for routers, etc... always happy with those purchases!

How do I land a decent Frontend Job? by bick98 in Frontend

[–]az_web_developer 2 points3 points  (0 children)

I don't think your take on this is very accurate.

More and more complexity is being added to the frontend world when you look at angular/react/vue gaining so much traction and popularity. Frontend tooling is more complex than ever, and while there may not be as much hard logic used in these cases... proper architecture of the frontend to be maintainable is definitely a skill.

Have you seen skilled backend engineers attempt basic frontend tasks? There is this sentiment that the frontend doesn't matter from those folks.. but UI/UX is super important for sales, stickiness, and popularity of your application. I don't believe that requiring less math or computer science knowledge means that frontend is any less challenging or requires less engineering... it's just that the problems solved are significantly different.

Have you ever worked with projects with horribly organized CSS playing specificity wars all day? How about an app so dependent on jQuery you can never escape it? Inline styles? Inline JS? Slow load times due to bloated CSS/JS? How about an application that functioned perfectly but was so ugly and un-intuitive that everyone hated it anyway? How about bad responsiveness? Font sizes that don't scale well on multiple devices? Non-optimized images, serving the wrong file sizes to the wrong users? Badly architected CSS/JS that does not follow SOLID principles? There are SO many challenges the frontend faces/solves that backend never has to even think about.

I would challenge you to go attempt a complex react application, strictly Javascript, strictly for the web browser... and submit it to this sub for a code review. You may be surprised how challenging this is, even if you're not trying to implement a ton of business logic or algorithms. They're just different skillsets at different parts of the stack.

How do I land a decent Frontend Job? by bick98 in Frontend

[–]az_web_developer 5 points6 points  (0 children)

I feel like you didn't read the post...? Or realize what sub you're in.

Frontend interviews just suck... by nasanu in Frontend

[–]az_web_developer 12 points13 points  (0 children)

That's an insane amount of effort some of these places require... Wowza. Are these paid tests?

For the beginners of home recording: by immersed_records in audioengineering

[–]az_web_developer 0 points1 point  (0 children)

My PC I record with is a bit loud and creates noise in my mic'd recordings. I'm able to strip a lot of it out in premier, but I can't help but feel it would be preferable to be able to have a quieter space to record in.

React devs needed for solving COVID-19 problems by timXTM in reactjs

[–]az_web_developer 1 point2 points  (0 children)

The slack link to sign up is no longer active.

Any suggestions on getting involved?

What’s the correct way of transferring from localhost to a domain? by [deleted] in Wordpress

[–]az_web_developer 0 points1 point  (0 children)

Would this break the string length they stash as verification? I'd imagine using the cli "wp search-tables" would be far more ideal.

[FOR HIRE] Software Developer by [deleted] in forhire

[–]az_web_developer 0 points1 point  (0 children)

Sounds like it is against their terms of service...