• Breaking News

    Wednesday, October 28, 2020

    Moderator Poll: What type of companies do we work for? web developers

    Moderator Poll: What type of companies do we work for? web developers


    Moderator Poll: What type of companies do we work for?

    Posted: 27 Oct 2020 10:34 PM PDT

    Continuing to learn who we are as a community.

    Select the option that is the closest match to the type of company you work for.

    Edit: If you check "other", please list the type of business in the comments. Reddit limits the polls to 6 options, so I selected the 6 most abundant types of work in this field, knowing that "other" would ultimately be used quite a bit.

    I plan to put together a post after all the polls I am running are done that sums up the results and I will dig into the comments to pull out data on "other". I wish that Reddit polls allowed you to just fill in the blank on "other" but they currently don't.

    Previous poll results: https://www.reddit.com/r/webdev/comments/jh42wz/moderator_poll_where_are_you_in_your_web_dev/

    View Poll

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

    Complete CSS grid tutorial (with color coded diagrams)

    Posted: 28 Oct 2020 11:14 AM PDT

    Hey all, I was learning about dark patterns in my webdev class this morning and was curious on what you all thought about them?

    Posted: 28 Oct 2020 07:27 AM PDT

    For more info on dark patterns: https://darkpatterns.org

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

    I know there’s a lot of things like this but myself and another beginner had the idea to start a discord server for Html,CSS and JavaScript beginners with weekly concept assignments.That will supplement your learning from courses like the Odin project or FCC

    Posted: 28 Oct 2020 10:50 AM PDT

    Basically it's a group where each week we all chose a design/programming concept and we design it with that concept in mind.At the end of the week we will critique each other and what you could've done better or what you did well.This would also be an accountability and motivational group because this kind of stuff is not easy to learn.So if you fall down we will pick you back up!

    I would also love to have some more seasoned web developers in the group who could guide us in the right directions in there free time or answer questions!

    Let me know if you would be interested beginners or whatever! As long as you have a thirst for knowledge and getting better with a POSITIVE team player attitude.Your welcome

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

    What all Developers need to know about: Reverse Tabnabbing

    Posted: 28 Oct 2020 12:58 AM PDT

    Can you get a job in web development without a degree?

    Posted: 28 Oct 2020 03:16 PM PDT

    My plans are to learn nothing but web development next year and starting a boot camp. My hope is to get a job by 2021. Thoughts?

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

    Best practices when making a website from scratch

    Posted: 28 Oct 2020 05:34 AM PDT

    Hello.

    I am a junior web developer. I have to make a website from scratch on a hosting server that from various reasons is limited to PHP 5.4 and runs Apache2. I've tried using WordPress but it just won't install on that host and so, I've decided to make it from 0 using Vue CLI, because that's what I've learned.

    The problem is that I have no idea how to tackle a lot of the things like:

    • Privacy Settings, Data Protection Policy, Legal Notice
    • Where to properly store images, icons and downloadable stuff when using Vue CLI
    • Server route handling like forms and downloads between Vue interface and Apache/PHP sever

    Privacy Settings: I don't even know where to begin with this. Who writes these ? What happens if a user doesn't tick all the boxes ? I believe that these are linked to the cookies. How do I manage cookies on this Apache/PHP server ?

    Data Protection Policy: Again, who writes these ? Does this one have a check-box ? Or is it just informative and has to exist on a website ?

    Legal Notice: This seems exactly the same as Data Protection Policy, but with different text.

    Where do I store images and downloadable stuff when using Vue CLI and Apache/PHP server ? Is it a good practice to store stuff on the server ? When do I have to use a MySQL database ? What folders do I use ? What is the difference between public and src folders in Vue ?

    Server route handling on Apache/PHP server. I am used to doing this locally using VSC, so emulating a NodeJS/Express server and writing routes to handle forms and downloads that come from a Vue interface is something that I have done before. But I have never handled routes on a live server that uses Apache/PHP. How do I do that ?

    I am sorry if there are a lot of questions, but NOBODY teaches you these. All the tutorials on building websites, on Vue, on everything teaches you how to do things locally, not on a live server.

    If you would like to help me and answer this, please do not shy away from goin in-depth and writing literally when, how and where for every directory.

    Thank you.

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

    if i use stripe for my website can people hack my website and steal client credit card info

    Posted: 28 Oct 2020 01:00 PM PDT

    Or does stipe handle all the processing and even if my website gets hacked, clients credit card info is not stolen?

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

    When sharing a website link on Facebook within a post comment, the open graph image is cropped to a square. Is there something I'm missing?

    Posted: 28 Oct 2020 12:58 PM PDT

    When sharing a website link on Facebook within a post comment, the open graph image is cropped to a square. Is there something I'm missing?

    I created the meta image as the standard 1200x630 pixels, but I noticed that when posting a comment on a post with a link to the website, the image is cropped to a square (info covered up in the screenshot because it's client-related).

    Is there a best practice for this? I can't find any relevant info with a Google search.

    I don't want these images to be cropped, and for this particular website, the images would look horrible if I centered the content on the image so it would fit a square.

    https://preview.redd.it/rm2hf7ji4wv51.png?width=1170&format=png&auto=webp&s=767288f7174eb86c092fb6d7e9560e6bbc53a5c0

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

    Measuring offline usage

    Posted: 28 Oct 2020 12:43 PM PDT

    Best static site generators for integrating data feeds

    Posted: 28 Oct 2020 10:04 AM PDT

    I have some json feeds that are updated weekly that have an array of objects with properties like image url, link url, title and content etc. What static site generators make it easiest to pull data from http endpoints? Also what other technologies or set up would I need for the static pages to be automatically regenerated every week when the feeds update?

    I'm starting to look at Gatsby, Next, Nuxt, Hugo and Sapper and things like prismic and netlify, but with all the possibilities I'm suffering from analysis paralysis. Thank you

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

    How to detect and handle offline mode in Angular without using any library

    Posted: 28 Oct 2020 12:03 PM PDT

    Who writes the content of the sites you make?

    Posted: 28 Oct 2020 08:04 AM PDT

    When you get a new freelance project, how do you make the customer write some text for you.

    For example, the company I'm working right now has a logo and everything in that manner but no text for their website. Text to talk about their business, what they do, what they offer and so on.

    I find this part of developing a website is the hardest. I have very hard time pushing clients to write something. They don't, they forget, they procrastinate and delay the work.

    I mean, I'm just a dev, I don't know your business , I don't know what your company does good enough to explain it to your future client.

    How do you deal with this, seriously?

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

    Beginner Questions

    Posted: 28 Oct 2020 08:42 AM PDT

    Disclaimer: I have zero ZERO experience in webDev and I have a lot of questions.

    Background: I'm starting a podcast and want to create a website for it. I understand I will need a web host and a podcast host since I wont have enough storage to save my podcast files onto the website. On my website I want to provide worksheets for the listeners that can be downloaded.

    Q1. When looking for a web host what criteria should I be looking for to make sure I can provide the downloadable worksheets?

    I'm having trouble deciding on a web host. There are so many options and there are so many reviews that i'm drowning in it. My care abouts are Cost, Ease of building website, Email, ability to store worksheets for download, ability to link to my podcast host, I think thats it. I'm currently looking at NameCheap.

    Q2. Based on my care abouts do you have any recommendations?

    Q3. Is there something else I should add to my radar when looking for hosts?

    If you have other tips that a beginner would benefit from please share, i'll be extremely grateful.

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

    Japanese characters not displaying properly

    Posted: 28 Oct 2020 12:23 PM PDT

    Hi, I'm really scratching my head with this one. I've doble checked that the meta language data is correct, but I keep getting this issue.
    Japanese text is being rendered as random characters like this (森æž—æµ´ )

    However, this is only on my hosting server. When I preview the pages from my file it renders the intended Japanese text; the same when I upload it to github pages...So is this an issue with my server or something I'm missing with the metadata?

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

    Interactive Simulation Technology Help

    Posted: 28 Oct 2020 07:16 AM PDT

    I working on a project for school and am developing an interactive training course. Here's an image https://ibb.co/QNbfwjJ of what the UI would look like. Some things we'd like to do is to have a switch alter an API in the background. Does anyone have ideas for technologies that I should look into?

    Another point to mention is that this UI will be hooked up to the physical hardware that it is representing, except the water filling aspect on the right.

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

    Preventing access to an HTML page? (html, JS and css only, no direct server code)

    Posted: 28 Oct 2020 03:52 PM PDT

    Hello everyone.

    I have a web project that I've been helping out with that does not use any server side programming. It was a project requirement to only use HTML, CSS and JS with PHP for any database communications. What I want to know is: is there still a way for me to restrict access to plain html documents without login aside from using JavaScript?

    I'm thinking that I can return the HTML document contents to JS post request via PHP echo. Sounds absurd, I know, but is there anything else besides convincing the project owner to switch to an appropriate back end solution?

    Anything that may be done with .htaccess perhaps? Can .htaccess change based on presence of php Session variables?

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

    CSS Grid Layout Module Level 3 - This module introduces masonry layout as an additional layout mode for CSS Grid containers

    Posted: 28 Oct 2020 03:47 PM PDT

    API best way to handle files?

    Posted: 28 Oct 2020 03:45 PM PDT

    I'm setting up an API where people can post job postings. Then on another site I'm pulling in the job postings via curl.

    This all works well for information, and even for images I can just base64_encode() and still maintain some easy json.

    But they'd like to upload their application forms, and I'm not sure of the best way to handle this.

    I don't thinking fetching a pdf that's potentially 4mb would work well via API via base64_encode. Would it be better to maybe have a download button, and when clicked, it fetches the application form on click (as opposed to on page load)? Except this time on click it would just be a curl fetch for the PDF resource?

    Just looking for best practices.

    Thanks!

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

    background-image: url() using Gatsby and SASS does not work

    Posted: 28 Oct 2020 09:34 AM PDT

    Hello there,

    Not sure if this is a Gatsby related issue or a SASS issue. But whenever I'm trying to set the background image of and element (div) with the background-image: url() css property in SASS I get the following error:

    ./src/styles/main.scss (./node_modules/css-loader??ref--14-oneOf-1-1!./node_modules/postcss-loader/src??postcss-3!./node_modules/sass-loader/dist/cjs.js??ref--14-oneOf-1-3!./src/styles/main.scss)
    Module not found: Error: Can't resolve '../../../images/home/blog-bg.png' in '/Users/aeum3893/Documents/work/folder/tech/src/styles'

    It can't find the image with the provided path and I have tried different paths like:

    - Full path with quotes & without quotes:

    background-image: url('/Users/aeum3893/Documents/work/folder/tech/src/images/home/blog-bg.png');

    - Relative Path with quotes & without quotes:

    background-image: url('src/images/home/blog-bg.png');

    - Funky stuff with quotes and without:

    background-image: url(../../../images/home/blog-bg.png);

    background-image: url(/../../../images/home/blog-bg.png);
    background-image: url(blog-bg.png);

    And so on... It breaks. I don't know what I'm missing here.

    Folder structure:
    - src

    -- components

    -- images // Images that I want to use

    -- pages // Pages

    -- shared // Reusable components

    -- styles // SASS folder

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

    What are the major differences between building normal websites and CMS websites?

    Posted: 28 Oct 2020 03:27 PM PDT

    Hi, I've been programming web development professionally for 2-3 years now. I recently landed a job in PHP making CMS websites, and I've been thinking about some of the major differences between what I'm doing now and what I've done before.

    I am blessed with a role that allows me to choose a technology stack in the long run over the next 3 years, and I would like to pick one that would be enjoyable for me as a dev, and one I could reuse over and over again, perhaps as a library.

    I also would like to build a personal CMS that I could use as a template for a variety of CMS clients. I would like to build it in Elixir, because it is very easy to do web sockets for concurrent project editing, chat and streaming in Elixir, and it would be nice to bundle that with a custom CMS and make a CMS template I could reuse.

    It seems the critical difference is just the sheer amount of database entities and relationships. But normal websites have these relationships as well - is there anything specific, in terms of component, software law or something else, that differentiates the process of building a CMS and a normal website?

    Nowadays, Rails, Phoenix (Elixir), Django and Laravel all make it super easy to template and construct components without too much boilerplate, especially with reusable widgets on the front end. But to actually be usable as a CMS, what are clients looking for specifically? Module builders, page builders, blogs, etc?

    Are there any good books for building a content management system from scratch?

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

    How to do collaboration and synchronization

    Posted: 28 Oct 2020 02:58 PM PDT

    I have come over an interesting problem for me as a beginner.

    How would you approach creating a real-time synchronized web app? Let's say something like Google Docs but just for plain text.

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

    How to use variables in links to direct user to pages on local, QA and live respectively?

    Posted: 28 Oct 2020 02:53 PM PDT

    I have two projects that are linked to each other

    for example www.cat.com and www.dog.com

    I want to use urls in my project, so if the user is on local and clicks on a link www.cat.localhost they will be sent to a page on www.dog.localhost

    and if they are on www.cat-QA.com they will be sent to www.dog-QA.com

    how would i do this? i know it has something to do with using constants in the .env file or can i just use routes?

    but none of them seem to have been created yet, and i'm not sure that we know what our live website domain will be called?

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

    How much to charge as a freelancer?

    Posted: 28 Oct 2020 08:33 AM PDT

    Hey everyone,

    I'm just starting out in my freelancing career and I am not sure as to how to price my services. I'm planning to charge per project. So to get an estimate, can someone tell me how much I should charge for a site like the one below.

    sample website.

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

    No comments:

    Post a Comment