Web Development

What's your policy on commenting your code (specifically for something built using react)?

webdev: reddit for web developers - Tue, 05/29/2018 - 13:27

I just built a react app and was going to go through it and add comments to make it more professional. However, because I wrote the app using react, my code is already fairly well organized into one file for each react component and I think it's somewhat self-explanatory what happens in each file. I wrote the react app to both gain experience and to have something to show off to potential employers. Would it be worth it to go through and add comments above every method in each react component or is this overkill? Each method is given a descriptive name which basically tells the user what the comment would say, so commenting seems a bit redundant. Would potentially employers frown upon code written without comments?

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

Large number of user agent hits from one agent

webdev: reddit for web developers - Tue, 05/29/2018 - 13:25

Hi! I’m trying to make a case against advertising on a website that I think is poorly trafficked. The online available stats (Alexa rank, Similarweb) show the site to be very poorly trafficked (even for a stuffy B2Bindustry magazine website), but their own stats generated by a program called “Webalizer” show a site with thousands of visitors and tens of thousands of pageviews per month. Looking at the data they provided, however, I see in a field labeled “Top 15 of 413 User Agents” that they received 34.91% of their traffic from a single user agent (and 17.67% from the next one). I was under the impression that each browser, device, and user profile on a computer was its own agent, meaning their traffic is bogus at best, and fraudulent at worst. Any thoughts?

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

3 year php backend dev looking for another language

webdev: reddit for web developers - Tue, 05/29/2018 - 13:14

Recently I joined an organization that thinks php is outdated, I tried to explain them that outdated or not doesn't matter I'm most productive with php/Codeigniter but didn't work, my manager prefers Java/struts or beans.

Now I really don't think java would be a good idea for webdev and I'm looking for your suggestions I know basics of python, go, C++ and Java/JavaScript.

The project can be easily done in php/codeigniter(php:within 1 month) and I have the freedom to choose any language other than php.

Note:I have a time period of 3months to complete the project so please take this into consideration before leaving your opinion. It'd be great if you could please point a start like a book or tutorial series, etc

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

It is possible to get a job in the US makert living outside of America? (remote/freelance tips for a brazilian)

webdev: reddit for web developers - Tue, 05/29/2018 - 12:21

So, I was watching Stefan Mischook (YT dude) video on why webdevs are better paid than web designers, about how we are in more demand and stuff. After I've learned everything relating to full stack, I'm absolutely lost about what to do next. Building a portfolio, getting hired, attracting costumers, lauching a business and so on. Mostly important, it is to difficult for someone to get in the us business as a freelancer either/or remote professional? Things in Brazil are not quite like this, not a very well paid job and so on.

Thanks in advance Peace

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

ICANN annual notices want info listed to be correct, but privacy providers get to put fals info?

webdev: reddit for web developers - Tue, 05/29/2018 - 12:12

So Im just noticing how ICANN send me an annual reminder, just before domain names are up for renewal, that we have to insure that the name address and phone etc listed as owner of the domain has to be correct and accurate or we could loose the domain etc. But then I see whois info like below, where the registrar offer privacy protection and they get to put blatantly false info. So can I also just put privacy protection and put fake info? Whats the deal here? Does anyone know why this is allowed or is it not or what? Here is an example:

Domain Name: southingtonahf.com

Registry Domain ID: 2096251623_DOMAIN_COM-VRSN

Registrar WHOIS Server: WHOIS.ENOM.COM


Updated Date: 2018-03-05T21:25:50.00Z

Creation Date: 2017-02-08T16:27:00.00Z

Registrar Registration Expiration Date: 2021-02-08T16:27:00.00Z

Registrar: ENOM, INC.

Registrar IANA ID: 48

Domain Status: registrar-lock* https://www.icann.org/epp#registrar-lock*

Registrant Name: Data Protected

Registrant Organization: Data Protected

Registrant Street: 123 Data Protected

Registrant Street:

Registrant City: Kirkland

Registrant State/Province: WA

Registrant Postal Code: 98033

Registrant Country: US

Registrant Phone:

Registrant Phone Ext:

Registrant Fax: +1.0000000000

Registrant Email: [noreply@data-protected.net](mailto:noreply@data-protected.net)

Admin Name: Data Protected

Admin Organization: Data Protected

Admin Street: 123 Data Protected

Admin Street:

Admin City: Kirkland

Admin State/Province: WA

Admin Postal Code: 98033

Admin Country: US

Admin Phone:

Admin Phone Ext:

Admin Fax: +1.0000000000

Admin Email: [noreply@data-protected.net](mailto:noreply@data-protected.net)

Tech Name: Data Protected

Tech Organization: Data Protected

Tech Street: 123 Data Protected

Tech Street:

Tech City: Kirkland

Tech State/Province: WA

Tech Postal Code: 98033

Tech Country: US

Tech Phone:

Tech Phone Ext:

Tech Fax: +1.0000000000

Tech Email: [noreply@data-protected.net](mailto:noreply@data-protected.net)




Registrar Abuse Contact Email: [ABUSE@ENOM.COM](mailto:ABUSE@ENOM.COM)

Registrar Abuse Contact Phone: +1.4259744689

URL of the ICANN WHOIS Data Problem Reporting System: HTTP://WDPRS.INTERNIC.NET/

>>> Last update of WHOIS database: 2018-03-05T21:25:50.00Z <<<

For more information on Whois status codes, please visit https://icann.org/epp

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

Best version of Jquery that works with Drupal 7 website?

Drupal - Open Source Content Platform - Tue, 05/29/2018 - 12:03

Hi so what's the best most stable version of Jquery recommended for a Drupal 7.59 website? Some advice would be appreciated. Thanks!

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

Getting an Associates in Web Development?

webdev: reddit for web developers - Tue, 05/29/2018 - 11:58

Hey guys. I am 23 years old working in retail. I really do not like it. I always loved the idea creating websites and being creative in your craft. I taught myself HTML and CSS in a few months. I will dive into JavaScript soon, knowing JS is a little harder to master. I am thinking about getting my Associates in Web Development. It will show my employers that I went through courses/school to obtain it and I think having an Associates + a great portfolio will give me an upper hand when I apply for positions. Do you guys think it is worth getting an Associates? I would like to get my BS in Computer Science but I am horrible in math and CS is more in depth into algorithms and data structures. Anyone developers who went through the same thing as me, can you give me some advice? Thank you!

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

Code reviewing tools

webdev: reddit for web developers - Tue, 05/29/2018 - 11:57

What do you use for code reviews. Is Gitlab/Github enough or do you have something like gerrit? Small agency or Corp?

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

Any feedback on Owl script for drupal site?

Drupal - Open Source Content Platform - Tue, 05/29/2018 - 11:43

Hi so I’m running a drupal 7 website. For my mobile visitors I want to implement horizontal carousels for my photo album sections.

Has anyone used this Owl script with Drupal 7? Is it reliable and fast to work? Some feedback would be useful Thanks!

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

What is HSTS and how it can help you to prevent man in the middle attacks

webdev: reddit for web developers - Tue, 05/29/2018 - 11:40


Hi everyone,

I wrote a blog post that explains what HSTS is and how it can be used to make web more secure.


I hope it helps someone. :-)

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

What are the "basic sysadmin skills" I keep reading about in job offers?

webdev: reddit for web developers - Tue, 05/29/2018 - 11:30

Hi everyone, as the title says, this is a very common requirement I still don't fully understand.

Apart from being able to install, say, a LAMP stack on Ubuntu, what else should I be able to do?

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

How on earth can I do this?

webdev: reddit for web developers - Tue, 05/29/2018 - 11:30

I am not asking anyone to do the work for me, but I am trying to figure out how to take the manual step out of this task that I am currently doing.

There is a website that hosts a CSV that can be exported via clicking an input button, which in return downloads the csv file to my computer. Is there anyway I can have my website download this file to my sites filesystem so it is always accessible via url?

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

Need a Hosting Provider That Fit These Criteria

webdev: reddit for web developers - Tue, 05/29/2018 - 11:26

So I'm looking to invest in a hosting provider that can hosting my images fast and without running out of space. The hosting that i'm with right now ran into a problem where it ran out of inodes (400k). Right now I need a hosting provider that can provide me with close to unlimited inodes (around 500 million), if you guys have any reccomendations please reply them with me, it would help a lot thanks :)

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