• Breaking News

    Friday, September 28, 2018

    Beginner Questions - September 28, 2018 web developers

    Beginner Questions - September 28, 2018 web developers


    Beginner Questions - September 28, 2018

    Posted: 28 Sep 2018 06:14 AM PDT

    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]

    Fun fact. CSS Flexbox is now used by ~82% of web pages. �� Grid...1%. Your turn Grid.

    Posted: 28 Sep 2018 07:27 AM PDT

    Overtime Hurts Your Software & Your Team - “Joe really went that extra mile to help us meet our goal. Staying late, coming in on weekends. He really sacrificed for our mission.” Overtime is a sign of problems that should never receive praise

    Posted: 28 Sep 2018 10:56 AM PDT

    How do you work when it comes to responsive design?

    Posted: 28 Sep 2018 01:58 AM PDT

    Hey everyone, I've been at this for about 5 months now and I've almost finished my portfolio but I feel I've made a fundamental mistake when first making the site.

    I started making the website based on how it looked on my own monitor and then worked on mobile (portrait) tablet(portrait) and desktop screens of various sizes which works great for the most part.

    The issue I'm having when my friend who is more experienced messed around with the Dev tools (the height and width) he found that if the height was too small the text would leak out the bottom of the sections.

    His reasoning is my website should work to respond to ALL screen sizes even non standard ones.

    So my question is how do you approach responsive design?

    Tl;dr friend said website should respond to all screens. How to make website as flexible as possible?

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

    I started Colt Steele's Web Developer Bootcamp. Should I switch to a modern course instead?

    Posted: 28 Sep 2018 09:08 AM PDT

    I bought and started Colt Steele's Web Developer Bootcamp (only finished the Intro to HTML part though) and just found out from this thread that it is outdated and teaches bad practices. Should I stop and buy another course (The Complete Web Developer in 2018: Zero to Mastery) or should I just continue and then make sure I learn the 2018 stuff afterwards? By the way, I'm using freeCodeCamp too.

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

    What is the website that starts off with no styles, but as you scroll it shows you what kind of margins and paddings work well on different elements such as text etc, and then softening the colours, until at the end you can now style a nice minimal website easily?

    Posted: 28 Sep 2018 11:37 AM PDT

    Have I dreamt this? I thought it was one of those bestmotherfuckingwebsites things but I can't seem to find it on the web and I don't know what to search for at this stage.

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

    API suggestions

    Posted: 28 Sep 2018 04:25 PM PDT

    I am working on a project where I have to create a new data, find existing data and delete data from api. I am looking for api that can easily be manipulated from frontend without requiring backend setup. Api that I can add, delete and find data from. Any suggestions?

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

    Anyone have a project that could use contributions?

    Posted: 28 Sep 2018 03:56 PM PDT

    In a lull working on my projects, and I'm really wanting to focus my attention on something else for a little bit.

    Anyone have any projects that could use some contributions? I'm trying to really advance my Javascript skills, so anything JS would be nice! I usually work with the MERN stack.

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

    The Curse of Cross-Origin Stylesheets - A recent Chrome bug lead me down a rabbit hole into the history of an almost decade old web issue.

    Posted: 28 Sep 2018 09:51 AM PDT

    Get Sublime-style lint error highlights in VS Code?

    Posted: 28 Sep 2018 03:24 PM PDT

    I recently switched to VS Code from Sublime and so far I absolutely love it. It has a ton of features out of the box that make coding so much easier. But there is one area that I cannot stand.

    The little squigglies for errors in VS Code are so much harder to see than I am used to, and also do not differentiate well between different types of errors at a glance. I was wondering if anyone knows of an extension or way to edit the error highlighting to be closer to that of those in something like sublime-linter with the border and error shown in the gutter?

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

    The Missing Practical Step-By-Step Test-Driven Development With JavaScript

    Posted: 28 Sep 2018 03:04 PM PDT

    Mongoose update queries not working as expected

    Posted: 28 Sep 2018 02:37 PM PDT

    Hey everyone,

    Was working on a personal project that was going along smoothly until I realized I had to make a PUT request using Mongoose. I've tried a couple variants FindByIdAndUpdate, FindOneAndUpdate and I can't get them to behave as expected.

    Basically when I pass one of those queries the ID of the document I want to update, the method does not appear to perform any work on the document when checking the database after, but does also not produce an error. Also I can't get anything to be returned from the query in my then chain other than a null value, which should be a document at the very least if the query is not throwing an error (right)?

    Anyways here's my code

    // route function

    module.exports = (req, res, next) => {

    // old model document is the payload

    Model.findByIdAndUpdate(req.body._id, req.body, { new: true })

    .then(doc => {

    // doc is always null

    })

    }

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

    Share the biggest z-index you gave to an element

    Posted: 28 Sep 2018 02:21 PM PDT

    It's in the thousands, isn't it?

    Modals on my site use 1003 for some reason.

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

    Web app perform zone 2 — progressive JPEGs and techs to halve your image load

    Posted: 28 Sep 2018 05:22 AM PDT

    5 benefits of outsourcing for SaaS: learn how to overcome the industry challenges

    Posted: 28 Sep 2018 02:03 PM PDT

    A general and flexible file structure that works for all projects in any ecosystem.

    Posted: 28 Sep 2018 01:58 PM PDT

    Question about CSS grid support.

    Posted: 28 Sep 2018 07:47 AM PDT

    Roughly how many people would you estimate are using a browser that doesn't support CSS grids? Is it too early to use grids when formatting a website or should I just not worry about the people who aren't using a modern browser? Just want to know people's thoughts on CSS grids since I find them extremely useful when I'm making a website but I also worry about browser support.

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

    Is there a 'Chatbot Marketplace' that allows people to choose a bot to use on their site?

    Posted: 28 Sep 2018 01:34 PM PDT

    Sorry if this is the wrong sub, I asked on /r/Chatbots but haven't received an answer.

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

    use of framework vs coding from scratch in the industry?

    Posted: 28 Sep 2018 06:00 AM PDT

    As per the title, how much to employers allow for the use of boilerplate and frameworks nowadays? I work in a startup where they want code out ASAP, so the idea of using a framework is appealing.

    I understand the answer to this is "it depends on the project and the company"; I guess I'm looking to see how much employers allow the use of frameworks?

    Can I expect to use asp.net and Laravel built-in features e.g. login, use bootstrap etc for layouts or do employers like seeing code made from scratch?

    The reason I ask, is because it would mean learning a framework Vs learning to code from scratch and I would appreciate knowing which I should focus more time on.

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

    Atomic Design and Our Component Library

    Posted: 28 Sep 2018 01:07 PM PDT

    Running a web dev agency - which role should I hire next?

    Posted: 28 Sep 2018 01:01 PM PDT

    I run a very small web dev agency and we're in this really awkward phase. It's just myself and one other junior level employee and a few freelancers and I feel like we need a team of 4 or 5 in different specific roles in order to bring projects in and deliver them smoothly and to a high quality! However we don't have the income to achieve this yet and so we're stuck in a position where it's just the two of us struggling to get things done!

    We have a number of issues:

    • Took over an agency that delivered multiple poor quality projects resulting in a lot of rework I've had to take on over the past few months, for free. We're getting to the end of this but this firefighting has led to delays on other projects.
    • I'm trying to do too much; running the company; day-to-day admin, client management, project management, technical lead, spec writer and UX guy, full stack dev.
    • Me being a bottle-neck leads to more delays on projects - both creating proposals for new work and delivering existing projects.
    • Being behind on work leads to under-spec'cing larger phases of work which then leads to delays at the end of projects when new or misunderstood requirements come to light.
    • Being behind on work leads to scrimping on the testing phase which then leads to further delays when the client comes back (sometimes multiple times) with stuff that needs fixing or changing.
    • Junior employee takes a lot of sick days and seems reluctant to learn/improve despite the promise of pay rises, multiple reviews, etc. He's currently on his last life...

    So, do I hire:

    • A project/client manager to allow me to focus on business admin and a bit of coding.
    • A lead programmer to manage projects and I'll do business admin and project management (not my forte)
    • A tester to try and improve the quality of the delivered projects.

    Any advice would be greatly appreciated!

    submitted by /u/jammy-git
    [link] [comments]

    Responsive Images and SEO - picture, image w/ srcset or css background-image?

    Posted: 27 Sep 2018 10:47 PM PDT

    In most designs that my fellow colleagues do, there is always this hero image that gives me a headache on what to use. The hero image will have to fix into a full viewport size (100vw and 100vh) and caters for all sorts of screen resolutions and orientation.

    Usually a object-fit: cover or background-size: cover will do the job, but most of the time the photos sent in from the clients require lots of 'nudging' to fit (meaning they aren't center focused). There is also the issue of requiring different images for different devices and orientation. Like mobile portraits and landscapes requiring a specific cropping of the photo, tablet another set, and a couple more photos of different resolutions to cater for 1366 sizes and sizes above 1920.

    Ideally, a div container with css background-image does all the above beautifully, with all the @media queries available to target specific resolutions and their @2x,@3x versions. The only shortcoming is that they aren't well accepted by the "SEO optimisation companies" as they don't have ALT and TITLE tags. (which the clients highlight again and again to change, arrgh)

    The PICTURE tag can solve the SEO and resolution issue, but they neither have object-fit: cover nor the position anchoring capabilities of css backgrounds (like background-position: left bottom; for example), which is a no-no in the creative world. Who wants to see a hero masthead image of a person with the head cropped off in certain resolutions.

    Lastly is the IMG tag with srcset, it seems good with object-fit: cover and satisfies the SEO requirements. However the srcset is kind of limited as more and more devices are coming out with screens with high pixel density, like the new Samsung phones and iPhones. They end up taking the image defined in the srcset that is meant for landscape oriented desktop screens rather than the prepared portrait mobile version.

    Hence the question:

    How to code in such a way that it can satisfy the following:

    - serve the correct image to specific device/orientation

    - able to position/anchor/origin from a specific direction

    - SEO friendly.

    Do I have to use a combination of the 3 above to show and hide based on devices to achieve the above or is there a single solution for it?

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

    If you need to build a website with an individual code part which CMS you would use in 2018?

    Posted: 28 Sep 2018 03:58 AM PDT

    I have now 10 years experience with TYPO3 and I still think that this CMS has fundamental design flaws. I am a little bit fed up with that CMS.

    I want to try convince my project manager that we should go away from TYPO3. But I can't convince him if there is nothing better than TYPO3.

    In a perfect world we just would use Laravel or CakePHP and built the whole website with one of these frameworks. But then the customer can't quick edit things.

    But which CMS is better than TYPO3?

    • Wordpress falls out because of the global functions and it's too simple for a big project
    • Contao ?
    • Joomla ?
    • Drupal ?

    Are there some other alternatives we don't know about?

    Keep always in mind we need to deeply extend the CMS!


    Edit: At all who suggest static code generators. I talk about big dynamic enterprise websites with a big custom code part. Websites which are build with a static code generator are very small websites.

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

    Company wants to move me to ITIL

    Posted: 28 Sep 2018 12:29 PM PDT

    I work as a web developer for a CPG, I belong to the IT organization and because of recent changes, they are trying to get me to follow ITIL for all the requests I get to work on our websites.

    I'm not an expert in the framework, and while it makes sense at a high level, it feels like an overkill for the ~10 sites that I manage.

    Does anyone have experience with ITIL? Or moving into such a structured methodology?

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

    Mutliple Mail Servers Setup

    Posted: 28 Sep 2018 12:25 PM PDT

    Let's say I have 2 domains (for now)

    Example.com

    Second.com

    Now let's say I want to use 2 or more digital ocean droplets in different regions at minimum for mail servers. They will allow me to send and recieve mail, and allow me to connect to them via my phone and and Mozilla firebird (as client examples). How can I achieve this?

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

    No comments:

    Post a Comment