• Breaking News

    Monday, February 15, 2021

    How can I hand off a website to a client that has no coding experience? web developers

    How can I hand off a website to a client that has no coding experience? web developers


    How can I hand off a website to a client that has no coding experience?

    Posted: 15 Feb 2021 11:59 AM PST

    Hello everyone!

    So, I have experience in creating static websites with HTML/CSS/JS. And I just got a client interested in having a static website. So, good news! :)

    The problem is: he wants to be able to edit the website without knowing how to code. As I've heard of CMS's (like Wordpress), I thought there would be an easy way to import all the code into it and boom it's easily editable.

    I ask this because the solutions that I've seen are: a) delivering website files that the client will ask me to edit forever b) learning to build a website on a CMS

    I don't want to sound elitist, but isn't learning a CMS a big step backwards from learning how to properly code a website? Like having your own car and being able to drive, but instead you catch a bus anytime you want to go somewhere.

    submitted by /u/_PsyKick_
    [link] [comments]

    I have my first job as a Developer. I hate it.

    Posted: 15 Feb 2021 02:27 PM PST

    I thought I would enjoy working as a Developer. I love solving problems and working to create things that are visually appealing as well as technically appealing on the backend. I worked really really hard to learn to get a job like this but I sit on a zoom call all day with three other developers and all of my ideas are shot down. We are working on old code that is terrible and completely inefficient , They are stuck in there ways and anything that isn't "their" way they don't want to use it or research it.

    How am I supposed to grow as a developer If I don't get the chance to contribute, work on my own tickets or learn the code base. I've been here since October and I feel stuck. I apologize for the rant but nobody in my life understands. I'm in a small market so all of the local jobs have been taken so I'm stuck with trying to find a remote job. I might have to tough it out for the first year but I really really don't want to.

    What do I do here? Talk to my boss? look for a new job or tough it out here?

    submitted by /u/Nightingale288
    [link] [comments]

    Am I stupid or is bootstrap extremely hard to customize?

    Posted: 14 Feb 2021 08:55 PM PST

    Bootstrap is great for people that want decent looking UIs. You get nice buttons, nice tables, and responsive grid to save you headache from mobile browser. It is great for most common websites that wants all the common stuff.

    But here I just learned it and decided to use it for non-common html structure. E.g having table within table that u can scroll, there are complex divs structure everywhere, flexbox, etc.. and I just cannot get it to work no matter what. Am I stupid or is bootstrap isnt designed for these kind of thing? Alot of basic html tags have been overriden with custom display, padding, margin, and bunch of other behaviour. It feels like a pain when you want a complex ui structure. I wonder if I should stop using it.

    Edit: thanks for the suggestions. I'll take a look at tailwind.

    submitted by /u/throwaway47nfy4
    [link] [comments]

    Some websites have a quick guide showing how to use them but adding overlays on elements explaining how to use the website and its features to any new user. How are these done?

    Posted: 15 Feb 2021 09:39 AM PST

    Hi

    I really like that some websites have this kind of guide: https://prnt.sc/zmmsac explaining what to click on and how to navigate the website and take advantage of its features.

    How is something like this done? It must be Javascript but how do you make sure that the overlay perfectly matches the layout of the website? I couldn't find any website or video explaining this.

    Where do I begin?

    Thanks

    submitted by /u/ashkanahmadi
    [link] [comments]

    Porter - open source Heroku that runs in your own cloud, powered by Kubernetes

    Posted: 15 Feb 2021 03:28 PM PST

    Everyday I go into work, I wish I could be at home studying web development lol Im 1 and a half months into The Odin Project/my own research. 22 yrs young and love this stuff enough to make it a career/business!

    Posted: 14 Feb 2021 08:27 PM PST

    || && !==

    submitted by /u/DeptMgrTulsa
    [link] [comments]

    Redirecting one domain to another

    Posted: 15 Feb 2021 02:00 PM PST

    Hello, I'm learning about domains and how DNS works.

    I have a domain configured like this:

    Type Name URL Redirect @ https://www.some_address.net |Permanent(301)| Type Name TTL Content CNAME www 300 webapp-xyz.pythonanywhere.com 

    The webapp-xyz.pythonanywhere.com is PA internal address that is CNAMED using a www subdomain to www.some\_address.net, then, the naked domain, some_address.net ( denoted by the @ symbol ) is redirected to https://www.some\_address.net

    Is there anyway I could set the domain records so that https://www.some\_address.net redirects to

    https://www.some\_address.com? I have access to the .net domain but not the .com one.

    Thanks in advance.

    submitted by /u/prp7
    [link] [comments]

    How should I approach making code; do things properly and get the code working or just get the code working first

    Posted: 15 Feb 2021 03:44 AM PST

    My problems has been every time i have to create code i overthink shit and take to much time getting things right the first time around making it dynamic etc, so i am wondering should i just take second approach to coding and improve in later stages.

    submitted by /u/MangaDev
    [link] [comments]

    Autogrowing textareas

    Posted: 15 Feb 2021 01:23 AM PST

    Does Instagram use Django REST Framework?

    Posted: 15 Feb 2021 01:54 PM PST

    According to Stackshare, Instagram uses React and Django. I'm assuming that, in this case, the front end is being rendered using React and the back end is being handled by Django. Maybe there are some pages that are using templates, but, as far as I know, that could be bad practice because it'll coincide with React. Then, perhaps Django is being used for back-end-only tasks, in which case I can only think that the team is using Django REST Framework. Of course, it's just an assumption on my part.

    submitted by /u/roynotto
    [link] [comments]

    Most CPU intense CSS animations

    Posted: 15 Feb 2021 02:54 PM PST

    I am a designer and I will be doing some motion design for a company project. I was wondering, what are the worst CPU intense animations out there in CSS? I only read about background-color change or changing width. Is there anything else? Is there any list of most CPU intense CSS animations or ranked from worst to best?

    submitted by /u/Jay087
    [link] [comments]

    Best way to deploy a separated backend and frontend

    Posted: 15 Feb 2021 10:05 AM PST

    Hi everyone, I hope you are doing great!

    I am currently building a webapp with a friend of mine. It consists of a frontend developed in React.js and a backend API developed in Flask. They each have their own repos on Git and the idea is to keep them separated. Everything works fine when we run in a local environment during development, however, since none of us are DevOps qualified, we have some questions about how to deploy this most optimally (ease of deployment/maintenance and security). I will also quickly mention that the API will use JWT-Extended for authentication of users and the methods will include GET, POST, PUT, and DELETE.

    So far we've come up with three different approaches:

    1. Combining the repos and serving the frontend via Flask as static content - as explained in this article under "Deploying on a Python Web Server". This would be deployed on a Heroku Dyno with a Postgresql add-on.
    2. The second approach is to maintain the separation of concerns, but create two different apps on Heroku - one being the backend API with a Postgresql database and the other serving the frontend. We would follow the guide given here.
    3. The last option is to try and deploy onto a Digital Ocean droplet with a Postgresql installed. Here we would attempt to setup an Nginx webserver and use a reverse proxy to make our frontend communicate with our API. This would follow Miguel Grinberg's second approach in the previously mentioned article under the section "Deploying on Nginx".

    Our thoughts on the three different approaches are (we might be wrong):

    1. This conflicts with our approach of separation of concerns regarding frontend and backend, whilst also being served through Python which is not exactly the fastest way of serving static files. On the other hand deploying on a Heroku Dyno makes it very easy to deploy directly through our GitHub repository, as well as creating pipelines, adding Postgresql and other add-ons with minimal configuration requirements for us.
    2. Our thoughts from reading up on this was to use subdomains for each app, however, it seems that this will force us to use CORS to interact with the API from the frontend, which then in turn leads us vulnerable from a security stand point. However, we will enjoy the same benefits from having Heroku as mentioned above, and maybe we just don't understand how to (if possible) create a secure connection between the API and frontend on Heroku.
    3. This last option is very interesting since we would have a great opportunity to learn about Nginx and also try to set everything up from the bottom, but since none of us are DevOps expert nor even close to intermediate, then this could potentially cause us more trouble than good as we would be in over our heads. This would also mean that we wouldn't get many of the ease of use benefits that comes with a Heroku Dyno such as easy deployment, no downtime between deployments of new versions of the web app, security, etc.

    We have searched extensively to find a guide, walkthrough or hints on how to do the second (2.) approach mentioned above, as that is the ideal for us, as it makes continuous deployment easier, up- and downgrading Dynos, adding new add-ons with ease. So, the question I hope for some friendly dev to answer is; is there a way to setup an API and frontend on Heroku without security risks caused by allowing CORS for the API and frontend to communicate?

    TL;DR: We would like to find a way for us to keep our backend API and frontend on separate GitHub repos and to be deployed to two different apps (Dynos) on Heroku without risking security through allowing CORS for them to communicate.

    submitted by /u/TheSouthSeaBubble
    [link] [comments]

    Is the React-Firebase combo for web applications safe?

    Posted: 15 Feb 2021 03:16 PM PST

    Title, I've seen a ton of people moving towards React on the frontend and Firebase for database services, which pretty much means that they are using Firebase to abstract the entire backend. This sounds very convenient but is it safe? It seems pretty sketchy that the database is being invoked and called on the frontend instead of the backend. Or, is Firebase itself providing the server and the calls being made are simply being sent to the server, and not the database? Sorry if this is a stupid question, I'm just not too familiar with how Firebase works.

    Side question: would it be safer to use Express and Node to create a backend, from which the calls to Firebase would be made? It would probably add an extra layer of security to the app, but I speculate that it could be overkill.

    Thanks in advance.

    submitted by /u/dhruvmk
    [link] [comments]

    Can anyone help explain what I'm doing wrong here and how to fix these errors? I can't seem to get this box shadow to show up and I don't know how to fix the parse error. Any help would be greatly appreciated.

    Posted: 15 Feb 2021 02:46 PM PST

    transparent nav & wordpress header.php?

    Posted: 15 Feb 2021 10:47 AM PST

    I've made a transparent navbar that's wrapped in the same div as my hero. However, when I convert the site into a WordPress theme, I can't put the navbar in header.php because each page has a different hero image/ and or different hero height.

    How can I get around this? Been scratching my head all day over it...

    submitted by /u/MustardGT4
    [link] [comments]

    Should I take seriously the Open Bug Bounty emails reporting a "security vulnerability" ??

    Posted: 15 Feb 2021 02:01 PM PST

    I have a large Drupal site, and - although the core software and all the community contributed modules are up to date - I get an email from the Open Bug Bounty program about once a month. I'm starting to wonder how seriously I need to be taking these.

    At first I thought it was legit because the first time I got one of their emails, there was a one or two day old security release of Drupal core that I hadn't manually updated to yet, and it corrected a cross-site scripting bug which is what the email from Open Bug Bounty program said was the issue.

    But now I get these an email from them about once a month. Actually, they email my boss who then forwards them to me. It's less than ideal.

    I'm just wondering if there is an opinion on how serious these guys are. I mean, other than update the CMS software I'm not sure there's anything I can really do about it.

    submitted by /u/MannyDantyla
    [link] [comments]

    What background tech and framework do you prefer for building your JSON web services?

    Posted: 15 Feb 2021 06:09 AM PST

    If you switched background tech, for example from .NET to PHP, vice versa or other because you there was something that annoyed you, what was it?

    submitted by /u/frisky2t
    [link] [comments]

    Would you start over with vuejs or react?

    Posted: 15 Feb 2021 06:41 AM PST

    If you were starting over with an app, would you choose react or vuejs? I understand how controversial this question is, but I am trying to decide if its worth it to rewrite my vuejs side project in reactjs for experience.

    A little over a year ago I decided that I needed to update my js skills with the newest frameworks. I already was pretty experienced with angular, but react and vue were taking over angular in popularity.

    I ended up using vue for my side project because after spending a couple days with each, it just seemed easier to build with.

    Anyway, I do still like vue, but I cant help but feel react is still largely more popular. Probably the one thing that appeals to me with react over vue is the activity with libraries. React always seems to get support first and their seems to be more varieties of frameworks (be that good or bad).

    I have about a year+ until I will make a job switch. My ideal job is going to be web agency work. (I spent 10+ years in agency before trying a corp job, but now I want back. lol.) So I really need to have the most relevant framework experience as I can. I am mostly a software developer that enjoys js app dev, not really great with ui design though.

    Question for those that do both vue & react, would you hire someone for a react job that mostly only has done vue? I ask because they seem so similar. Its just a difference of tooling from what I've seen.

    Just for reference, my side project consists of the following tech stack: Vuejs using Quasar for the UI & AWS Amplify for the backend/serverless hosting. I think this stack is magnificent, but it's not (yet) mainstream.

    submitted by /u/heseov
    [link] [comments]

    Paginated Table: Client side or server side

    Posted: 15 Feb 2021 07:26 AM PST

    I have a table that is currently using a js library to paginate the results. Is there a general guideline for when this becomes unrealistic slow from the payload size? How many records is this recommended for? Up to 100,000 or 1 million? Just looking for anyone else's thoughts.

    Edit: The table also has a search bar and allows them to order the results by clicking on a column. These would all need to be reimplemented in queries if I switch to server sided. I think it also makes it impossible to do a blend of the 2 as you couldn't search without access to all records.

    submitted by /u/PM-ME-GOOD-NEWS
    [link] [comments]

    How is react easier than Angular / Vue?

    Posted: 15 Feb 2021 11:10 AM PST

    How is React actually easier than Vue / Angular as I've heard? I worked with both Angular and Vue for about an year now and i decided to get into React. Yes, it is way more simple when it comes to structure and files but the syntax and the way you communicate between components seems way harder. Oh, and the hooks, what is their purpose? Why Angular and Vue both work very well without such a thing but React needs it?

    submitted by /u/SnooCookies3463
    [link] [comments]

    How do you 'stand out' after being in the industry for a while?

    Posted: 15 Feb 2021 04:31 PM PST

    I'm still a student, maybe I'm planning too far ahead.

    Currently, I know that to get your foot in the door, awesome side projects, a degree and a prestigious school would definitly land you an internship. However! how do you still 'stand out' from there on (other then getting into FAANG)?

    Say you've been a web dev for 10 years...Do people still make side projects outside of work to 'stand out'? or is it more of a outside of work hobby?

    submitted by /u/badboyzpwns
    [link] [comments]

    How can I standardize object properties in an array of objects? (Javascript)

    Posted: 15 Feb 2021 04:26 PM PST

    See Title. I have an array of objects, and the objects are sorted by a property value. But the properties for each object are not being returned in the order I want them. How can I achieve this?

    submitted by /u/Briyo2289
    [link] [comments]

    Understanding ARIA Landmarks - General Principles and Roles

    Posted: 15 Feb 2021 05:07 AM PST

    How can I handle updating multiple websites?

    Posted: 15 Feb 2021 03:46 PM PST

    Hi!

    I have a web dev business and I manage website for multiple companies. I sell them a package where I do updates on their website for X$/month. With a few clients, it goes pretty well. However, if I want to expand, my current process, I feel, won't work.

    Basically, for each project, I have a GitHub repository. I do the changes locally, push to GitHub, go on the server and do a "git pull". However, it's starting to become quite annoying having to find the credentials, connect, switch to another ssh connection, etc. Pushing, pulling constantly.

    I was wondering if there was any way I could trigger a "git pull" on a remote server without having to connect to it directly. Something quick, easy and not machine dependent (I am using 2 computers so I don't want to have to put some credentials or something on each machine). Something safe and that works for almost anything (I have my own FTP process for React app, but something for HTML/CSS and PHP apps).

    Thanks!

    submitted by /u/AsteroidSnowsuit
    [link] [comments]

    No comments:

    Post a Comment