webdev: reddit for web developers

Subscribe to webdev: reddit for web developers feed
Updated: 22 min 27 sec ago

Are there good replacements for any CSP directives for IE 10?

51 min 21 sec ago

In particular, I'm looking for a replacement for frame-src. Is it possible to mimic it's protection on IE 10 using another strategy?

submitted by /u/thapopjackson
[link] [comments]
Categories: Web Development

Is there a way to have a dynamic URL so I don't have to change them every time I deploy? Or some other solution?

53 min 48 sec ago

I'm building a giant web app and I don't want to have to find/replace a ton of URLs to switch from my localhost to the actual site, is there a way to mitigate this?

I'm using Django and node.js

submitted by /u/TheFlyingPotato262
[link] [comments]
Categories: Web Development

Has anybody taken the "advanced begginers challenge" coding course will Dain Miller?

Tue, 06/19/2018 - 23:37

Hey guys I am starting out in web development and I'm doing a zero to mastery course on Udemy when I came across Dain Miller's YouTube videos. I like his approach to learning code and he has his own course "advanced begginer challenge" that's $30 for the course and $70 for the course, bonuses and coaching (it says texting Dain). There's little info or mention of the course outside his YouTube and podcast. Not trying to fall for a scam. Any advise would be appreciated.

submitted by /u/No-Longer-A-Liberal
[link] [comments]
Categories: Web Development

Hello WebAssembly

Tue, 06/19/2018 - 23:34
Categories: Web Development

Feeling directionless in life. I think I might want to do web development. Thinking about going to community college for a certificate program. Advice?

Tue, 06/19/2018 - 23:10

So I'm in Los Angeles right now. In August I plan on going home to Boston to do this web development certificate at my local community college:(https://www.bhcc.edu/programsofstudy/programs/webdevelopmentcertificateprogram/)

I've been working as a paralegal the last couple of years and realized not only do I not want to go to law school to become a lawyer, I don't want to work in law at all anymore. I tried learning HTML and CSS on codeacademy and I liked it. I don't want to go back and get a 2nd bachelor's degree (I also have an ABA approved paralegal certificate I did on top of my bachelors in psychology). I've also already paid off my student loans, so I don't want to go back into debt. I feel scared that I'm making a mistake since I know work portfolio matters more than any degree/certificate.

The reason I think it'd be good for me to do the certificate is that it's a structured learning environment (as opposed to only self-taught in my spare time) where I can make connections and maybe even get an internship and base work for a portfolio. It's also a lot cheaper (I wouldn't have to go into debt) and less time consuming than doing a second bachelor's degree. I'm 25 right now and I feel like I'm just fucking up a lot career wise. Does anybody have any advice? I feel lost in my career and kind of in life in general.

submitted by /u/sageagios
[link] [comments]
Categories: Web Development

What did you use to deploy your portfolio site? Github pages? VPS? Heroku?

Tue, 06/19/2018 - 22:32

I want to start developing my portfolio site and would like some advice on how to best approach this.

Initially I was thinking of building from the ground up. Meaning I would purchase a Digital Ocean droplet and use node for the backend and build the routes for my different projects.

But I've seen mention that this might mean I would have to learn how to do sysadmin stuff, since with a VPS you have to do the managing yourself. I'm a bit concerned about security as I don't want my site getting trashed because I didn't configure something properly.

What would you recommend? I do know that I would like to have my own domain name, meaning I would purchase one from a registrar. Don't know if that would be possible with something like github pages.

submitted by /u/Null-Fox
[link] [comments]
Categories: Web Development

Hello all! Looking for any help one can provide for what probably is some simple CSS

Tue, 06/19/2018 - 20:24

I have a grid of 12 images in a container. I am looking to do a red colour overlay on one of the images with some text inside

I have my images listed in 3 columns and need to just target the one image. The images are already sized perfectly to make a mosaic looking gallery.

Do I need to make the image a background image? I can send whoever is willing to help a pic of what I am trying to achieve - it’s for a project so I don’t want to post the pic on here

ANY HELP WOULD BE AMAZING!

submitted by /u/christinaaaaaaaaa
[link] [comments]
Categories: Web Development

How can I modify this related post code to use categories instead of tags?

Tue, 06/19/2018 - 19:00

I'm using the following code to display related posts by tag on a Wordpress site:

<?php //for use in the loop, list 5 post titles related to first tag on current post $tags = wp_get_post_tags($post->ID); if ($tags) { echo 'Related Posts'; $first_tag = $tags[0]->term_id; $args=array( 'tag__in' => array($first_tag), 'post__not_in' => array($post->ID), 'showposts'=>5, 'caller_get_posts'=>1 ); $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); ?> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p> <?php endwhile; } } wp_reset_query(); ?>

I'd like to adjust it to use categories instead, so I've changed `wp_get_post_tags` to `wp_get_post_categories` and `tag__in` to `category__in`:

<?php //for use in the loop, list 5 post titles related to first category on current post $cats = wp_get_post_categories($post->ID); if ($cats) { echo 'Related Posts'; $first_cat = $cats[0]->term_id; $args=array( 'category__in' => array($first_cat), 'post__not_in' => array($post->ID), 'showposts'=>5, 'orderby'=>rand, 'caller_get_posts'=>1 ); $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); ?> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p> <?php endwhile; } } wp_reset_query(); ?>

But, it doesn't work. It returns the the header "Related Posts," but no post links.

Does anyone know what I'm doing wrong?

submitted by /u/chriscasemart
[link] [comments]
Categories: Web Development

New standards of css?

Tue, 06/19/2018 - 18:51

Hello guys,

I'd like to improve my css and made myself a challenge of rebuilding a website of a friend with flexbox and grid. I am currently stuck at the about us section:

https://i.redd.it/xn4sgoibe1511.png

Usually I would just float the text to the left and add an empty div with a border-bottom but I hope that there is something better.

submitted by /u/roconf
[link] [comments]
Categories: Web Development

Am I properly writing technical guidelines for an external frontend development vendor?

Tue, 06/19/2018 - 18:46

I work at a marketing agency as a frontend developer. Due to a recent influx of client work, we're looking to an external vendor to outsource some frontend development. I've been tasked with helping manage the quality of that outsourced development.

After spending some time assembling my thoughts, I put together a mid to high-level technical guide that the vendor can refer to as they begin on the project.

I envision my audience as being frontend developers, likely with senior-level experience.

My question is essentially: does this cover the bases? If you were doing freelance frontend development work, would a document like this be a boon or a pain in the ass?

The document can be found here, as a public Google Doc.

submitted by /u/buddythicc
[link] [comments]
Categories: Web Development

Is raw SQL still actively used in context of backend development (Spring, .NET) in combination with ORM?

Tue, 06/19/2018 - 18:03

I know that knowing the basic skills of SQL is quite helpful as that's probably the best way to understand relational databases. But I am asking more about the practical part. Since you are often using ORM today which automatically maps classes to the relational model: is there still a need to know those sql commands (especially more complex ones. I'm not talking about those select statements which are quite easy)?

How often are they still used?

submitted by /u/Sebastician
[link] [comments]
Categories: Web Development

Confused about Web Developer environment/Back-End

Tue, 06/19/2018 - 18:00

I've been doing Colt Steele's web developer boot camp on Udemy. I have found that it's helpful, but when it was time to set up everything needed for the backend, he opted for cloud 9. I'm now at the point where I wish to start making my own applications and sites and feel totally clueless as to how to approach it. I've searched this subreddit and many blogs on the internet but don't know where to begin. I'm using windows 10, some say to just switch to Linux, others suggest using a VM. How do I set up my developer environment? I understand that it may come down to personal preference with certain software, but I just want to know where to even begin. Thanks ahead of time.

submitted by /u/essej1233
[link] [comments]
Categories: Web Development

Looking for an event calendar service for a static website.

Tue, 06/19/2018 - 17:44

I'm making a site for a client who'd like to be able to update the event calendar themselves and I'm curious what services people would recommend. I'd much prefer to keep the site a static site and the site itself is custom written by me so something that's embedded would probably be ideal. Any suggestions here are greatly appreciated.

submitted by /u/DiPDiPSeTT
[link] [comments]
Categories: Web Development

Looking for a w3c accessibility scanner that can scan through .jsp files for errors

Tue, 06/19/2018 - 17:10

Trying to scan an extensive website and need a scanner that can scan jsps. A scanner that can scan through an entire website and all its buttons while also having the option to be directed to a certain page could work too. Would appreciate any recommendation you guys have for a w3c accessibility scanner.

submitted by /u/Colinwrong
[link] [comments]
Categories: Web Development

Hey guys, does changing a images src from the site to another site like imgur make the image load faster?

Tue, 06/19/2018 - 16:45

Was wondering because I'm dealing with a client with a really slow server Example: src="image.png" to src="https://i.imgur.com/fPAj0E4.jpg"

submitted by /u/Volkten
[link] [comments]
Categories: Web Development

Help me think of a project idea involving react/express/mongoDB stack

Tue, 06/19/2018 - 16:37

This would just be for my portfolio.

submitted by /u/ScratchTrackProds
[link] [comments]
Categories: Web Development

IP Geolocation Services

Tue, 06/19/2018 - 16:32

I'm working on a project where we want to automatically select one of two markets for a user based on their IP address, obviously with an option to switch to the other if necessary. If the user is sufficiently far away, we will let the user choose their market, or use the browser geolocation API.

I'm using the Maxmind GeoIP2Lite database, which I like for the fast response nature of it, but I want to have a fallback for when we can't choose a market automatically. For example, our client's office IP address places them very far away, and other IP databases have the correct city.

Does anyone have experience with a reasonably-priced IP geo location service? Or any experience with Maxmind's paid services?

I'm considering using ip-api.com because it seems accurate and the pricing structure is good (I'm not sure how fast I'll burn through requests).

submitted by /u/coolnat
[link] [comments]
Categories: Web Development

Pages