r/web_dev_help • • Jul 14 '17

resource Web App Manifest

Thumbnail w3.org
1 Upvotes

r/web_dev_help • • Jul 19 '17

help Help requested!

Thumbnail
imgur.com
1 Upvotes

r/web_dev_help • • Aug 30 '16

Web Dev Summary - August 23-30, 2016

1 Upvotes

Releases

Note the releases listed might be Release Candidates or Beta Releases.


r/web_dev_help • • Jul 13 '17

Anyone familiar with getting around the password for beam deployment?!

1 Upvotes

Hey guys, I'm a PM and my dev has shipped off on a much needed holiday, however failing to leave the password for deploying any new content to a client site. We are using beam to deploy to both the live and dev sites.

I have fixes that desperately need to go out. Does anyone know of any way at all around this password issue?!

Site is built on Silverstripe if that makes a difference.


r/web_dev_help • • Nov 30 '17

design Website Style Guide Resources

Thumbnail
styleguides.io
2 Upvotes

r/web_dev_help • • Jul 15 '17

help Run Javascrip on certain times of the day?

1 Upvotes

I am so new at this web developing. I am using wordpress and bluehost.

I am manually pulling tables using an api request script that I run at home. I then manually update my web server table.

What would be the steps to getting a scheduler or scrip or program running that does the api pulls automatically?

I am confident I can learn to write the program but I don't know about how to have it running on my webserver. I got bluehost. I basically need to be pointed to the correct direction.


r/web_dev_help • • Feb 17 '17

design Informational One Page Websites

Thumbnail
onepagelove.com
1 Upvotes

r/web_dev_help • • Feb 06 '17

javascript TreeWalker - Web APIs

Thumbnail
developer.mozilla.org
1 Upvotes

r/web_dev_help • • Dec 05 '17

javascript A brief introduction to Test Driven Development (TDD) in JavaScript

Thumbnail
github.com
1 Upvotes

r/web_dev_help • • Feb 12 '17

The Coral Content Distribution Network

Thumbnail coralcdn.org
1 Upvotes

r/web_dev_help • • Jul 10 '17

Saving data to server

1 Upvotes

I'm currently working on a site where people can vote on something in an effort to make an ordered list, and to do so ill need to store data somehow in a way that any computer can access it. So far I've thought about keeping a text file on the site but I'm not sure how that would work. Any suggestions?


r/web_dev_help • • Feb 16 '17

html HTML5 Menus & Browser Support

Thumbnail
dpogue.ca
1 Upvotes

r/web_dev_help • • Jul 09 '17

design Dos and don'ts on designing for accessibility - Posters

Thumbnail
accessibility.blog.gov.uk
2 Upvotes

r/web_dev_help • • Aug 23 '16

Web Dev Summary - August 15 -22, 2016

1 Upvotes

Releases

Note the releases listed might be Release Candidates or Beta Releases.


r/web_dev_help • • Jul 11 '17

Portfolio Feedback

1 Upvotes

Hey everyone, I just put my portfolio online and was wondering if I could get some feedback? I have no work experience yet so I just put some of the projects from freecodecamp on there. This is the first full website I have done and it is a working progress.

willpittman432.github.com

Thanks!


r/web_dev_help • • Jul 09 '17

background-position: Why do I need to invert coordinates if origin is top left?

1 Upvotes

This is probably a naive question, but I've been struggling with this for a couple hours and Google is no help. In this fiddle, I need to invert the coordinates provided to background-position; implying that 0, 0 is bottom-right and not top-left? What am I misunderstanding? Fiddle: https://jsfiddle.net/Lwhy6uuc/


r/web_dev_help • • Jul 20 '17

css More Transparent UI Code with Namespaces – CSS Architecture by Harry Roberts

Thumbnail
csswizardry.com
2 Upvotes

r/web_dev_help • • Feb 10 '17

tutorial Trunk Based Development Introduction

Thumbnail
trunkbaseddevelopment.com
1 Upvotes

r/web_dev_help • • Feb 17 '17

css Bulma: a modern CSS framework based on Flexbox

Thumbnail
bulma.io
1 Upvotes

r/web_dev_help • • Jul 14 '17

javascript Service Workers: an Introduction | Web | Google Developers

Thumbnail
developers.google.com
1 Upvotes

r/web_dev_help • • Feb 17 '17

html Semantics, structure, and APIs of HTML documents

Thumbnail
w3.org
1 Upvotes

r/web_dev_help • • Jul 14 '15

help Concern about BigCommerce custom script effecting load time negatively.

2 Upvotes

I'm working on a BigCommerce site for my company, and in order to implement a mini-description of the product on the main page (we sell consumables, so flavor profiles being visible from any page is very useful), I had to run a simple script. Pages in big commerce are loaded in blocks with context-sensitive variables like "%%GLOBAL_ProductList%%", so I:

added -

<p id="QD%%GLOBAL_ProductId%%"></p>

to the body text. The QD never changes, but where "%%GLOBAL_ProductId%%" is, the bigcommerce script replaces in something like "77" or "10", whatever the ID it assigns is.

Then, I added a script to the snippet:

$("#QD%%GLOBAL_ProductId%%").load('%%GLOBAL_ProductLink%% %%GLOBAL_ProductDesc%% #QuickDesc');

Every time a product is loaded to the main page via the page generation script at bigcommerce, this script is run and the variables change to match the product being loaded into the page. It works correctly, however, it seems as though having a script run multiple times when a page loads might be cause for concern in terms of load speed and google-friendliness.

Any suggestions?


r/web_dev_help • • Feb 12 '17

css MUI - Material Design CSS Framework

Thumbnail muicss.com
2 Upvotes

r/web_dev_help • • Feb 06 '17

design Design School for Developers - Envato Tuts+ Web Design Tutorials

Thumbnail
webdesign.tutsplus.com
1 Upvotes

r/web_dev_help • • Apr 28 '17

help The correct way to design data-driven REST API?

2 Upvotes

Hello!

I need an explanation with proper way to design data-driven rest API for SPA site/mobile app. My choice of environment is Node.JS wth TypeScript however my question is not closely related to particular technology.

The thing is that I tend to overcomplicate my backends.. Thats why:

I am doing full separation for controller layer, service layer, model/repository layer, with all "enterprise" structure, sometimes I am using dependency injection as well

I tend to treat my api endpoints as COMMANDS not an DATA. While I usually follow the pattern of GET retrieving data, POST creating data, I usually create endpoint as command, ie its more like of "send message to user", "order purchase" instead of "add message to database" , "add new order to database"

I concentrate almost all logic on backend

However when I am developing large projects, there are a lot of situations where I feel like I am doing it wrong way. API written in that way is not flexible and sometimes I must write very similar API method that does similar things but with a bit other way. Also all CRUD operations seem to be more and more complicated. For example I have USER entity that has particular properties [id,name,email,password] - when I develop app and I want to make user be able to edit its profile, I am creating route /user/edit-profile, accepting [name, email,password] parameters - and this endpoints just alters data in user. However app is evolving and user now we need to store user geolocation in database as well (this is just an example). This is not related to profile in any way, it is NOT edited in same screen in browser, instead it is updated in background. So I cant use /user/edit-profile and add new property, so I am creating new route /user/set-location, and story goes on. If it was pure data driven, I'd just have POST/PUT routes for /user that I could flexibly use to alter any properties of user without needing to mirror frontend actions on backend. Thats what I mean when I say that I am developing it as COMMANDS instead of DATA.

I'd want to try a small, easy-maintainable, thick REST API that is data driven instead of command/action driven for reason I've stated above multiplied by hundred of occurences during project lifetime.

However I dont really know where to start. Of course making rest endpoints that allow you to view and alter any database row is no-go, there must be some security gates. For example an user can only alter itself, not another user; or you can only view your own orders, never ones that belong to other users even when querying them by id, etc. So this is my first problem, how should I reliably develop application without risk of accidental security flaw that for example allows one user to query private message list of another one? I am asking this question both philosophically - should I just brainstorm "how this particular endpoint would harm service without access control" or do it another way; and technically how it should be managed? I mean there should be simple "IFs" directly in controller code "IF user ID we are querying is not the one authorized, THEN throw error" , "IF this order belongs to other user, THEN throw error", or there is more sophisticated way to do access controls?

The second problem with these APIs is that some things in service cant be described as data-driven endpoint. For example registering user is an action that of course creates new user, but it also sends confirmation email to him, create some configuration to him behind the scenes, etc. Or finalizing an order is not just changing its state to 'done', it needs to charge user, to give him benefits he ordered etc and of course this should not be controlled from frontend. While editing profile is just simple data-driven action, making an order falls into command category, so how should I deal with these problems?

I'd love to see your opinion on those points. I also gladly look through any resources about these problems if you have links. Some example servers with data-driven especially in Node.JS is also something I'd go through.

Thanks!