Web Development

Why don't companies roll-back more often

webdev: reddit for web developers - Wed, 11/21/2018 - 09:00

I have been in the tech industry for over 15 years and it strikes me as odd that companies don't roll back more often.

Thinking back, I am sure to remember at least 10 instances in organisations that I worked in, and countless more from organisations I used as a client, where a new release or feature change was not well received by the customers. Yet the company would never ever consider going back, even if that would represent an immediate improvement.

I presume, based on my own experience developing, that the whole idea of rolling back isn't as easy as it should be. It's not as easy as switching it back to the old code. Other things have changed and moved on and therefore rolling back is simply not possible.

That kinda means that the whole idea of having a version system is largely absurd.

What do other people think?

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

Is Angular 2+ professional development easier on the daily basis than React SPA's?

webdev: reddit for web developers - Wed, 11/21/2018 - 08:59

Iv been React developer for couple years, mainly writing SPA's using React/Redux/React-Router/i18next/others combo. We introduced Typescript to the mix, because we mostly create big enterprise web apps and wanted to make it less fragile and more easy to maintain in the future. Problem is, it made apps way more complicated. Intergration of so many libraries with typescript most of the times result in errors that are really sooooo annoying to trace and fix. Like integration of Redux-Form with typescript was absolutely not reliable. To be honest i find all the "time-traveling debuging" features quite useless, real react-typescript stack traces are sometimes horrible.

So I thinking about switching to Angular 2+, because to me it seems like its better framework for enterprise SPA's. Is it easier to work on daily basis than with React/Redux/React-Router/Redux-Form/Typescript combo?

React Pros:

JSX is amazing

Core React principles are amazing

Good and fast building dev tools (webpack dev server)

React Cons:

Redux-form sucks, so many bugs

HoC hell (React router + i18next + redux + redux-form)

Integrations of all libs with Typescript is wonky at best, sometimes almost impossible to trace errors

Jest with Typescript can be problematic

Angular 2+ Pros:

Forms system is quite good and built in

Component-js styles built in

Native typescript integration

Angular 2+ Cons:

Testing seems to be harder

Everything is more verbose

Directives and templates are WAY worse than simple JS in JSX

So given pros and cons, it seems for your typical huge enterprise app (where most of the work is creating new forms), Angular 2+ would be much more pleasant to work with? Do you have experience with both frameworks?

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

Best resource to learn howler.js?

webdev: reddit for web developers - Wed, 11/21/2018 - 08:14

Hey, folks!

So I recently have came to know about the Howler.JS library that allows us to play with Audio in HTML/Browser. I have a project requirement where my client needs a simple audio player built from scratch with playlist. I believe I can do this using Howler.JS but I just wanted to know if there's any resources/courses I could take to know more about it?

The documentation didn't help much and I'm simply trying to create an audio player with playlist for Web. Any suggestions?

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

What's the best way to plan a database structure for larger projects?

webdev: reddit for web developers - Wed, 11/21/2018 - 07:40

I'm comfortable using SQL databases, but I've never really been involved in creating one for a project that requires more than just a few tables and simple relationships.

For my next hobby project, I want to build a text-based RPG. The interface and for functionality should be fairly straightforward, but I'm anticipating having to handle a lot more data than I'm use to.

What's the best way to learn how to plan my database in advance, rather than just incrementally add more tables until it's a clusterfuck. Are there any videos they explain best practices that I can watch?

I'm planning on using PostgreSQL, but the same principles should be applicable from MySQL or other SQL tutorials.

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

Do I need to work for a company before I can go freelance?

webdev: reddit for web developers - Wed, 11/21/2018 - 06:53

The issue is employers may not take seriously some of the free courses and even some of the paid courses.

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

Give writers the ability to update content on a PWA without having to ask the dev

webdev: reddit for web developers - Wed, 11/21/2018 - 06:49

Hi !

I have this side project for my company. I need to create an "app" for a kiosk iPad to showcase our products. I've already tested and I know I can make a PWA in Vue, it works and does everything we *need*.

Beyond what we need though, a nice-too-have would be the capacity for our content writers to edit the content (at least the text) of the app by themselves. And I'm not sure how I want to go about it.

As this is not a requirement, it has to be easy enough to implement. We don't have any "real" hosting at the moment, for now I'm using a free Netlify account.

So far I've been thinking about making them use simple XML files, or a Google Spreadsheet, and import the text from there into the app. But I'm not currently sure yet how hard it is to do or if it's the best solution. I'd love to just host a DB with a neat API but I'm new to this and I honestly don't know all the requirements or how much time it'd take me.

How would you go about it ?

Thank you ! This is the kind of project that has a lot of value to me and my colleagues, as the writers frequently mention that they'd like to be able to do their edits and repair typos themselves without having to bother the devs. No matter the answer I find, I feel it'll be useful for me elsewhere.

Thanks again !

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

A few questions about my website

webdev: reddit for web developers - Wed, 11/21/2018 - 06:46

Hi, I have a few questions about my website. Basically, I'd just like a second opinion on a few things as I feel when I look at the website I have a biased perspective on some things, so it would be good to get an 'outsiders' opinion.

I don't want to post my website URL on here so if you're willing to help, please could you comment below and I will private message you. Alternatively, just directly private message me.

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

Libraries for sorting grid/table data?

webdev: reddit for web developers - Wed, 11/21/2018 - 05:48

What libraries if any are developers using for sorting grid/table data? Thanks in advance

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

Discord Servers

webdev: reddit for web developers - Wed, 11/21/2018 - 05:42

Are there any discord servers for webdevelopers or for people interested in learning more?

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

Best Modern PHP course online?

webdev: reddit for web developers - Wed, 11/21/2018 - 05:38

Hey all,

I've been tasked by my work to improve my PHP skills. For context I have 3ish years experience with JS/React and am familiar with setting up a basic server using node and express, and have also dabbled with postgres.

Are there any online courses that anyone would strongly recommend for learning modern php? - my work uses standard php with bits of yii thrown in here and there so I'm not looking for anything framework based like laravel.

Thanks in advance :)

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

Prevent Drupal 8 from form submit on page refresh

Drupal - Open Source Content Platform - Wed, 11/21/2018 - 05:20

I can’t handle this... I have ajax form but after submitting, when user refreshes the page, ajax select don’t rebuiliding values and return no value on refreshed submit, but it’s still visible in form... Havent found any solution. D6 had form submit control if I good remember. Any clues?

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

Using MAMP for work and personal projects at the same time

webdev: reddit for web developers - Wed, 11/21/2018 - 05:07

Hey, I have a Windows PC with WAMP installed on it, and a MBP for work and personal purposes with MAMP on it obviously. I have another laptop that was lent at work with W10 and MAMP, but I only use it for research and as a backup in case my MBP has a problem.

Everyone else at work uses Windows, so the websites we create are setup with WAMP ( so localhost/mywebsite ), but I develop on my MBP, so I need to change my Apache settings to listen on the 88 port, because the default setting for this is the 8888 port. But I have other websites that I started ( and others that I will start ) on MAMP, so they use the 8888 port. So if I want to work on my personal projects, I have to change the Apache settings again and again.

How can I set up my MBP to be able to work on professional and personal projects at the same time ? Is there a way to do this in MAMP or should I install another server and PHP software on my MBP, and dedicate one to work, and the other to personal projects ?

Thanks !

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

Pages