Web Development

Beginner Questions - March 16, 2018

webdev: reddit for web developers - Fri, 03/16/2018 - 09:16

If you're new to web development and would like to ask experienced and professional web developers a question, please post below.

  • 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]
Categories: Web Development

Google trips API

webdev: reddit for web developers - Fri, 03/16/2018 - 07:57

So today I came across this app called Google trips. I really liked it and thought of a web app I could try to build with Angular( I'm learning it and I wanted to try to make a real app ) I did a quick Google search and found something called QPX Express API but it seems to be ending. Is there a free alternative? If not how can I build a an API that would find cheapest flights,hotels and activities around? ( Car rental would be cool too ).

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

Setting up ActiveCampaign event tracking with the following flow: GravityForms embeds > Google Tag Manager tracking > ActiveCampaign tracking?

webdev: reddit for web developers - Fri, 03/16/2018 - 07:00

The answer may very well be “just use ActiveCampaign forms” (or hire a pro kid), but we have put a lot of effort into getting GravityForms set up and trying to salvage that for my initial attempt. I have been down the rabbit hole pretty deep on this one, heres an overview:

  • GF is set up successfully tracking events to GTM, as well as sending relevant field data to a corresponding AC form using the official GF AC add on
  • AC has its own sepearate Site Tracking and Event Tracking which our analytics guy has requested to use on top of what we have currently in GTM, but it seems that requires actually using AC forms embedded on the site to work. They also have an API wrapper which may or may not require true embedded AC forms (as opposed to GF embedded forms passing data to AC)
  • I was able to (using a method described on youtube by measureschool) successful pass a dummy email via Google Script to log in AC, but I got stuck trying to pass the appropriate field values to the dataLayer to be sent to GTM (the closest I got was using the plugin GTM for WP but they don’t actually pass the value into the dataLayer atm).
  • I tried almost every method I found, auto event listener scripts firing in custom html GTM triggers, scripts on the form page, scripts on the redirect page, etc etc
  • The other issue is passing PII data in the url, which I know is a big no no for GA but AC seems to rely on the email to log events
  • My last attempt was using Big Picture as suggested on AC docs but as of writing I haven’t seens any activity there and I don’t even know where its going to send the data into AC.

It is very likely I am just in over my head and I should pass this off to someone for whom this would be trivial task. And the AC API Wrapper may be the answer by itself (provided it will work with GF) or maybe switching to AC embedded form is going to save a ton of headaches. If it comes down to the API solution I will probably bow out, but I want to see if I can figure this out with some gracious helpe from you Redditors.

I am posting as well over on r/analytics

Thanks all!

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

Upgrading workflow and management on a windows machine, or a cry for help..

webdev: reddit for web developers - Fri, 03/16/2018 - 05:43

Hey everyone,

Coupled with my next Understrap based Wordpress project, I want to upgrade my workflow/environment. Namely Git, Node with NPM, Gulp and possible webpack. I know I will not make the work any faster trying all these at once. Instead, I consider it more of a learning-oriented project. But to take small steps, I'll be happy if I get auto-browser refreshing and auto sass compiling on file-changes working.

So, being on a windows machine is obviously a significant constraint, when it comes to webdev in general, and to be honest all the different consoles and terminals intimidates me. I have been down this route before and found myself bested.

Currently, my machine has these consoles/terminals/systems:

  • PowerShell
  • Ubuntu Linux distro (WSL)
  • Git for windows with bash shell
  • Node with NPM

I honestly don't know which I should use for what. It seems that some tools are terminal/console agnostic, too, while others are not.

Please, /r/webdev help me gain some perspective on this. I really just want to take baby steps to improve my workflow, learn the basic terminology (for faster Google-fu) and only focus on learning the absolute most important console/terminal.

Thanks for reading my rant :)

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

LF Help with UI details

webdev: reddit for web developers - Fri, 03/16/2018 - 05:29

I've been starting to focus on webdevelopment more recently and seem to like designing UIs a lot, however I don't have much expertise in that field. Guids like the "Little UI Details" from Steve Schoger have been fascinating to me, so I was wondering if somebody is down to give me a few tips on what i should focus/what i could do better.

This is my attempt to make a material profile card: www.codepen.io/YuSOrudDUD/pen/GxqpVM

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

Those animated SVG canvases with lots of nodes and lines connecting them ...

webdev: reddit for web developers - Fri, 03/16/2018 - 04:35

Apologies for the terrible title. I’m not sure what these things are called, but they tend to be shown on a canvas - a number of nodes floating around with lines occasionally appearing between two or more.

What are they called? Is there an OSS library to generate them somewhere?

Thanks in advance.

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

Is it possible to dynamically paginate HTML content like a book?

webdev: reddit for web developers - Fri, 03/16/2018 - 02:46

Say I have a really long blog article and I want to paginate it so that only text that fits into the viewport is shown. The rest would be paginated. Is this possible? Are there any packages that can do something like this?

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

Are there any large-ish ecommerce operations running on Drupal 8 + Commerce?

Drupal - Open Source Content Platform - Fri, 03/16/2018 - 00:09

Good examples seem few and far between.

I'm a Magento guy originally - which whilst it's awesome for transactional, is pretty poor for content. I can only see content being more deeply embedded in the customer journey going forward, which Drupal 8 is awesome at managing.

So are there any good examples of some medium - high profile sites running on D8 + Commerce?

I recall Lush Cosmetics being on D7 + Commerce, but any D8 ones out there?

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