Web Development

I'm at my wit's end. Can someone answer some questions I have about Shopify Buy SDK?? I can't wrap my head around it and I can't find the info I need anywhere.

webdev: reddit for web developers - Sun, 06/24/2018 - 23:22

The tutorials I find are for the old version and I can't figure out how to migrate to the new version - the new ones seem to be using ES6 which as I understand it is not fully supported in all browsers yet? I'm basing this on the presence of "import" and "const". Looks like this:

import Client from 'shopify-buy';

const client = Client.buildClient({

domain: 'your-shop-name.myshopify.com',

storefrontAccessToken: 'your-storefront-access-token'

});

I found the babeljs.io 'converter' to turn it into ES5 but now it's using require() which I thought needed the RequireJS library? Or Node or something? Or whatever CommonJS is (their website is 'under construction' and the wiki didn't help). So I'm going through and copying-and-pasting where it makes sense but it's grasping at straws. I did more-or-less learn the basics of RequireJS and get that working in a demo but this whole converting approach seems just too hacky to possibly work.

Is it Node??? It's Node isn't it

Please help, I just wanna learn how to do this so I can integrate Shopify stores for clients.

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

Suggestions for features on an eBay seller's website?

webdev: reddit for web developers - Sun, 06/24/2018 - 23:07

Soon I'm going to be making a website for my dad's eBay business (he sells old books/magazines). Neither of us have a good idea on what features should be on the website, so I'm looking for ideas. Right now I only know the basics of HTML, CSS, Javascript, and PHP, so any suggestions revolving around those technologies would be great. Thanks!

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

Would love your input on my resume and a CV

webdev: reddit for web developers - Sun, 06/24/2018 - 22:04

I recently updated my resume and CV and am going to apply for a new position at a company. I'd really appreciate your opinion on these.

Resume: https://ufile.io/10g3u

CV: https://ufile.io/1bvto

Please note: 1. English isn't my main language so there might be some grammatical issues which I would appreciate if you point out. 2. I had more jobs than listed on my resume. I only listed the most recent ones. 3. I tried to anonymize both resume and CV in case my current employer / colleagues might see this post, please be considerate if some personal data isn't sanitized.

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

Where to start writing

webdev: reddit for web developers - Sun, 06/24/2018 - 20:23

I was thinking about giving "writing about wildlife" a try but i don't know if i will enjoy doing it or if people will actually like what i wrote ( traffic). So instead of paying for a domain and hosting are there any platforms where i can try it out for free just find out if people actually enjoy(keep track of traffic) and visit my page and if i actually enjoy writing for the audience ?

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

Is it possible to have 2 browsers connect with WebRTC without a stun/turn server?

webdev: reddit for web developers - Sun, 06/24/2018 - 20:18

I made a local socket server. I connected to it from chrome. I logged the public ip and open port used in the connection. Is there any mechanism I can utilize to use that information to connect 2 clients without having to do all the ICE stuff?

I could probably make a desktop client since I'm not really targeting mobile, but I'm curious.

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

How do I create a personal Website

webdev: reddit for web developers - Sun, 06/24/2018 - 20:12

From a school event, I received $100 aws promotional credits and 1 year domain credits from domain.com. I plan to build a personal website and keep it up for 1 year using those credits to avoid spending cash. So far I've bought my domain name from domain.com but don't know what else to do.

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

auto follow/add to social media accounts?

webdev: reddit for web developers - Sun, 06/24/2018 - 19:14

Is there a way to auto follow/add various social media platforms directly from my website? Do these social media guys have APIs I can rework to do this?

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

Quick Question

webdev: reddit for web developers - Sun, 06/24/2018 - 18:45

Is there a way to auto follow/add various social media platforms directly from my website? Do these social media guys have APIs I can rework to do this?

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

First Day as a Junior Dev what to expect?

webdev: reddit for web developers - Sun, 06/24/2018 - 18:29

I’m really excited! After many years of teaching myself in my spare time, I’ve finally got my first web dev job. I’ll be junior dev at a really great digital agency whose work and culture I have admired for a long time. I’m going to be doing a lot of React it sounds like.

So what is the first day/week like for a Junior Front End Dev? This is a digital agency so it isn’t one massive code base, but many simultaneous projects. Obviously it’s totally different between companies. What was your start like? Any tips? Surprises?

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

Drupal 8 Database Size increasing due to Cache Tables

Drupal - Open Source Content Platform - Sun, 06/24/2018 - 18:14

Hello,

I at my workplace am working on a Drupal 8 application, that has started receiving increased traffic now. With this, we are also seeing an increased consumption of storage space in the MySQL database mainly in the cache tables.

After upgrading to Drupal 8.4.0 previously, I thought Cache bins were fixed as mentioned here : https://www.drupal.org/project/drupal/issues/2526150. But even after tweaking and playing with the settings, there was no difference in the cache consumption.

Has anyone been able to resolve this issue? Thanks!

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

Looking for responsive SPA designs to learn from

webdev: reddit for web developers - Sun, 06/24/2018 - 17:54

Hello,

I'm looking for designs/examples/layouts for nice modern responsive SPAs (doesn't need to be a "progressive web app", just SPA in the general sense). Or even if it's not technically an SPA at all, but a multi-page app that's responsive at least. Just looking for the HTML/CSS, because my goal here is to learn by example. I'm trying to learn more modern frontend design for fun, since I've been out of the web dev scene for years. Does anyone have any pages I could look at, or even tutorials (that provide all the HTML/CSS in the end), or even just Github pages. ToDo list apps (or anything simple and list-related) would be perfect. And even more ideally, if it was done using Bootstrap or Bulma.

And of course I know I can easily find a million great tutorials/books on Google for this, but like I said, I'd just like to see some good actual examples I can learn from/take inspiration from.

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

Anyone good with Ajax that can help explain?

webdev: reddit for web developers - Sun, 06/24/2018 - 17:35

So I’m trying to figure out how that data should be formatted when sending data with Ajax via POST method. And how to access that data via PHP. So this is what I sent:

function ajaxRequest() {
let xhr = new XMLHttpRequest();
xhr.onreadystatechange = alertContents;
xhr.open('POST', '../private/form.php', true);
let data = '{"first_name":"BOB", "last_name":"Smith"}';
xhr.send(JSON.stringify(data));

And the PHP:

$test = json_decode($_POST['first_name']);

And I get an error in the PHP log that says: Undefined index: first_name

I’ve watched a lot of videos on GET but barely any to explain POST. And a lot of the stuff online about Ajax is written in jQuery which I don’t use.

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

Software Architecture in Front End / Back End Development

webdev: reddit for web developers - Sun, 06/24/2018 - 16:21

I have been asked to talk about software architecture for an interview related to web/mobile development. Does anyone have websites, resources, tips, etc to study for this? I am self taught and really want to succeed in this interview, but I'd like to know what you recommend for studying this.

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

Help in choosing between Electron+d3.js vs C#+XAML+WPF+livecharts for a live data visualization windows app.

webdev: reddit for web developers - Sun, 06/24/2018 - 16:13

I am a junior web developer with no experience in data visualization. So, naturally, i am being put on a project to develop a Windows 10 data visualization application. Basically, I have to provide live data visualization and custom alerts. The first deadline is about two months from now where i have to show a minimum viable product to my boss. After a bit of research i ended up with these two options to work with.

The first is Electron+d3.js. I know html, css, js and node very well so working with Electron should be very easy. I will have to learn d3.js but i may choose a different library if it ended up being too difficult.

The second one is C#+XAML+WPF+livecharts. I only know c# from playing with unity and i've been developing in java for about 7 years now. I have no experience with XAML, WPF and livecharts.

Has anyone here worked with one of these technologies who can help me make a choice? I am currently leaning more working with Electron+d3.js but my boss seems to lean more toward C#+..etc. But i am sure i can convince him to go with Electron if i wanted.

Thanks guys.

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

How do I handle images?

webdev: reddit for web developers - Sun, 06/24/2018 - 15:31

Hello guys,

I am currently wondering on how to handle images. Do I just scale the image for different sizes and set breakpoints accordingly?

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

Pages