• Breaking News

    Friday, January 4, 2019

    Beginner Questions - January 04, 2019 web developers

    Beginner Questions - January 04, 2019 web developers


    Beginner Questions - January 04, 2019

    Posted: 04 Jan 2019 05:14 AM PST

    If you're new to web development and would like to ask experienced and professional web developers a question, please post below.

    Etiquette

    • Remember, that questions that have context and are clear and specific generally are answered while broad, sweeping questions are generally ignored.

    • Be polite and consider upvoting helpful responses.

    • If you can answer questions, take a few minutes to help others out as you ask others to help you.

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

    I made a style tag that is styling itself

    Posted: 04 Jan 2019 03:58 AM PST

    It’s 2019 and I Still Make Websites with my Bare Hands

    Posted: 04 Jan 2019 05:39 AM PST

    "How much does a website cost in 2019?" Calculator

    Posted: 04 Jan 2019 09:37 AM PST

    Documenting Projects

    Posted: 04 Jan 2019 11:34 AM PST

    I'm a PHP developer at a small agency in the UK, and we've recently been taking on some substantial projects. At the moment we're struggling with documentation - we have several projects that if there was an issue / question and the developer that built it isn't around, it could be pretty hard to give an answer with out spending significant time investigating. Even worse if it's a non-coder (e.g project manager) dealing with it.

    Most of are sites are built on Laravel, so generally have roughly the same structure (although there are differences as we've tried different techniques for different projects) - but they often have very specific business logic (e.g. we import some data every 2 hours, but on a Wednesday it's every 3 hours because of XYZ - OR - this thing happens over here - but relies on having X, Y and Z happen first, which is done somewhere else).

    As well as the coding / functionality side of projects, many of them run on slightly different hosting environments.

    In an ideal world we'd smooth out the differences between projects, but that take time and budget, so is unlikely to happen. We need to improve our documentation for transparency.

    How do you go about documenting your projects (if at all)? What platform / tool are you using (markdown files in the GIT repo? a wiki somewhere?).

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

    Showoff Saturday, my portfolio as front-end developer

    Posted: 04 Jan 2019 03:27 PM PST

    I will be glad with any feedback to improve it. https://tarekhassan.herokuapp.com

    I will be more than happy if you take 2 minutes and check projects and tell me what you think.

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

    Beyonce's Parkwood Entertainment Sued Over Website Accessibility

    Posted: 04 Jan 2019 02:00 AM PST

    The Redux Pattern As a First-Class Citizen – Elm for Redux Devs ⚛ => ��

    Posted: 04 Jan 2019 10:02 AM PST

    Webpack video series - Getting started

    Posted: 04 Jan 2019 03:16 AM PST

    Background CSS

    Posted: 04 Jan 2019 09:48 AM PST

    Hi I'm sorry if this is something really simple and I'm overthinking it, but I have an image as a background on an html file, so my css for this looks like:

    background-image: url('C:/Users/virig/Desktop/HTML/JulianAbele/images/cropchapel.jpg');

    However, I intend on sending this folder to someone else, and I'm pretty the background image won't load there because of the way it's linked with that url. But when I change it to url('images/cropchapel.jpg'); it won't work ????

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

    Need Advice on Authentication: Using LocalStorage

    Posted: 04 Jan 2019 01:34 AM PST

    Login systems, auth, or just security in general has always been a sort of weak point for me and I'd love to get some advice from you guys. So here's the scoop, without going too deep:

    I'm currently maintaining a pretty simple Angular app with a pretty simple authentication system. User logs in with a username and password, which upon submission is sent to a separate nodeJS backend to generate and return an access token. The user's username, access token, and some other non sensitive data is stored in localStorage. Whenever a CRUD request is made to the backend (e.g. fetching a list of things), the access token in localstorage is sent along with the request and if the token is a match, the response is sent back to the frontend.

    My question is, is this secure enough? Should I be using localStorage to store the access token? Is this good practice?

    I don't see any glaring holes from my end, but then again, I'm not much of a security expert :)

    Thanks in advance for any advice!

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

    Building responsive pages with HTML5/CSS3

    Posted: 04 Jan 2019 11:41 AM PST

    What is the easiest way to use a Headless CMS? What is your workflow?

    Posted: 04 Jan 2019 04:38 AM PST

    Hello, I've been learning the JAMstack recently, I like building static sites and hosting them on Netlify or Gitlab for free. Between great security and speed the benefits seem endless to be honest.

    I came across a ton of headless CMS but I don't understand how to use them.

    I know they work like an API, and you can fetch the data using JS and parse it. But can I use a Headless CMS on an HTML/CSS theme I built? Do I have to use a Static Site Generator? I'm having a hard time putting all of the pieces together. Can someone share their workflow?

    I hope this is the right place to post this, thank you 🙏

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

    SHA-256 Hashed CSP not as useful because of no IE11 support?

    Posted: 04 Jan 2019 02:30 PM PST

    Part of my site generator automatically hashes any inline script/style elements and inserts the CSP into the page on deployment to production. Since IE11 doesn't support CSP level 2 (no hashing) obviously the site would still be vulnerable there. It still has it's uses since most people don't use IE11 anymore and most of the attack vectors I know of that are prevented by CSP are client facing anyways. If you're still using IE11 security vulnerabilities are of course something you can expect so I'm OK with that.

    My question is are there things I'm ignorant of that could be used to attack the server/site that would be open on IE11 making this not even useful in that regard?

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

    Hired at position where I feel under qualified.

    Posted: 04 Jan 2019 02:00 PM PST

    I want to succeed at this position. I am afraid to ask stupid questions and have a fear of not completing my assignments and ultimately losing the job. If anyone has achieved this, I would love to hear what you have to offer as advice and encouragement.

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

    �� Input Element Only Css Custom Radio �� Cross Browser (IE10+) ��

    Posted: 04 Jan 2019 01:42 PM PST

    WhatCSS.info automatically generates a minified version of the bare minimum CSS a user needs to begin interacting with your site

    Posted: 04 Jan 2019 07:24 AM PST

    Learning HTML and CSS

    Posted: 04 Jan 2019 01:11 AM PST

    Hi guys, I have come to the conclusion that seeing tutorials and online courses will only get me so far in mastering HTML and CSS. So in order to improve myself I have an offer for you guys. If anyone wants simple web pages designed for them in HTML and CSS, please PM. I will do it for free.

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

    GraphQL Tutorial - Queries and mutations

    Posted: 04 Jan 2019 07:06 AM PST

    Anyone using KeystoneJS as an alternative CMS to Wordpress?

    Posted: 04 Jan 2019 12:53 PM PST

    I'd like to switch to KeystoneJS (or another similar CMS for Node) for some of my freelance clients. At this point, I'd rather do everything in Javascript, and I am tired of tinkering with PHP and Wordpress. It just flat out sucks, and hardly makes any sense when things get complex. Looking to hear some feedback from anyone who has experience with Keystone. Can it be setup to completely replace Wordpress? Is the admin panel something that a client could use without too much issue if they needed to make copy or image changes, etc?

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

    Scaling text for a large display

    Posted: 04 Jan 2019 12:49 PM PST

    Scaling text for a large display

    Hello all forgive me if this is the wrong place to be asking this question, please remove if that is the case. I am having some difficulties getting text to scale properly. I am working on some large displays that are out of a manufacturing facility shop floor. I need short messages to fill the screen, within reason, similar to the example but when I want something longer, say the first verse and chorus of Stayin Alive by Bee Gees, I need the whole bit of text to scale down and center justify. Basically I need all the text no matter the size to fit within the box marked by the black corners.

    Is this too lofty of goal to achieve with HTML and CSS? I'm assuming I can't find a solution due to the lack of my experience but I would imagine it should be possible. Any help would really butter my egg roll. Thanks in advance.

    https://i.redd.it/uokswrumxg821.jpg

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

    Start with a Website, Not a Mobile App

    Posted: 04 Jan 2019 12:45 PM PST

    How would you handle a server migration for 30 to 50 sites?

    Posted: 04 Jan 2019 12:40 PM PST

    Hi all! I'd love to hear your thoughts on this. I'm working with a new agency and have a situation I haven't come across before. This group hosts about 30 sites on a VPS right now for themselves and their clients. The sites are fairly small overall, powered by Wordpress, Drupal or just Bootstrapped static small business sites. Total monthly traffic 100K to 200K, up to 100 concurrent users (which I think the server is struggling with at 2gb RAM, but it probably shouldn't be.)

    We're considering a system migration since our server isn't optimized for performance now, we're running on old code bases, and we continue to grow. We'd like to be able to scale to 50-100 sites with a proportional traffic increase accordingly. We'd also like to have a more streamlined way to keep WP and Drupal up to date, as well as use modern code/protocols like php7 and HTTP/2.

    As a side note, 1 client has multiple locations and owns about 15 properties, all on Wordpress. We're likely to work with more clients like this in the future and were considering Wordpress multisite to make management easier, which would be new for me.

    I'm not the sysadmin (yay!) but I was wondering; 1. What server stack, specs and/or hosting features would you be looking for given the above? 2. How would you handle this migration and update project at the server level? 3. And at the site level, would going to WP multi-site make sense? 4. Where can I learn more about these kind of system requirements?

    Here are my thoughts: 1. I'd backup both full server and sites at site level - off server obviously. 2. Setup new VPS with current OS, codebases and optimizations using Apache packages to improve mysql queries, caching, gzip/deflate processes, and upgrade to 4gb RAM for performance. Automate future updates/patches at server level - maybe just signup for a fully managed VPS plan. 3. Test and fix known site incompatibilities in dev environment. 4. Add scheduled maintenance notice to live front end. 5. Begin migrating sites in batches so the entire server isn't down at once. 6. Switch to WP multisite for multi location clients...? Haven't done this before honestly. 7. Deal with remaining known incompatibilities at site level (I think php7 won't play nice with some of the old WP plugins, and WP multisite doesn't work with all plugins I hear.) 8. Back up new server/sites. Remove remaining maintenance notices. Cancel old VPS plan. 9. Done...?

    Am I way off base in my overall thought process? I've glossed over the site migration details like setting up cpanel, installing new ssl redirecting DNS etc since I've done plenty of individual site migrations/update projects.

    TL;DR: How would you handle a server migration and update for 30 to 50 sites?

    Thank you for your thoughts!

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

    Bootstrap builder for busy developers

    Posted: 04 Jan 2019 06:37 AM PST

    Aliasing module paths in Node JS

    Posted: 04 Jan 2019 12:32 PM PST

    No comments:

    Post a Comment