• Breaking News

    Friday, December 11, 2020

    Meli, a Netlify-like platform for deploying static sites web developers

    Meli, a Netlify-like platform for deploying static sites web developers


    Meli, a Netlify-like platform for deploying static sites

    Posted: 11 Dec 2020 08:10 AM PST

    Karl Marx wrote more than 1000 letters to Friedrich Engels: I created a React app to bring back the joy of public letter writing

    Posted: 11 Dec 2020 01:20 PM PST

    Customers Don’t Know What They Want. Stop Expecting Customers to Know What They Want.

    Posted: 11 Dec 2020 03:27 PM PST

    What part of web development programming do you dislike the most, or it is most disliked?

    Posted: 11 Dec 2020 02:28 PM PST

    I am referring specifically to things like CSS, deployment, working with databases, etc...

    Something that you or your team would gladly delegate to others.

    ;)

    submitted by /u/james-r-
    [link] [comments]

    When will I learn...

    Posted: 10 Dec 2020 04:56 PM PST

    not to send websites that still have placeholder texts/images/sections/buttons/etc... to clients.

    how many times must i receive the dreaded "wait this isn't what i wanted" email

    how many times must i read "the menu text is all wrong..."

    how many times do i have to re-explain that this is just placeholder text.

    how many paragraphs must i dedicate to something that seems so simple.

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

    SPCSS Demo: A simple, minimal, classless CSS for simple HTML pages

    Posted: 11 Dec 2020 11:14 AM PST

    CSS Sticky Parallax Sections

    Posted: 11 Dec 2020 05:59 AM PST

    How important is png vs svg for icon assets?

    Posted: 11 Dec 2020 10:00 AM PST

    I see the noun project has really nice looking icons and come in svg but was wondering what y'all like to usually do in this department? Another solution is icons8 which is free, do you just pull down a single image and scale it?

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

    ImageOptim: extremely useful free Mac app for lossless image compression

    Posted: 11 Dec 2020 03:50 PM PST

    What do you use for image compression?

    I recently found ImageOptim for mac (or online) and it's changed my game. I will never upload another image online without first running it through this.

    Combined with iResize I'm able to format images for the web in seconds.

    How do you all deal with image compression for the web? Let me know your tips and strategies!

    submitted by /u/seb-jagoe
    [link] [comments]

    Writing a .htaccess file so Phusion Passenger can find the entry point of my application

    Posted: 11 Dec 2020 10:23 AM PST

    Writing a .htaccess file so Phusion Passenger can find the entry point of my application

    Hello,

    I'm trying to deploy a web application on Dreamhost. It's the first time I'm doing a manual deploy; as I'm used to deploying on Heroku instead.

    Kind of surprised how much Heroku handholds the deployment process; so deploying the backend on Dreamhost has been quite a challenge (SSH, installing Node, syncing DB with phpMyAdmin).

    So Dreamhost uses Phusion Passenger to run Node JS applications.

    Their requirement is that the entry point is app.js, and this needs to be configured with a .htaccess file.

    I've never written a .htaccess file before, and I can't seem to find a good tutorial for it.

    I was wondering if anyone can shed some light on how to start, or what to write. My FTP folder structure is below, and here is also a screenshot of instruction from their documentation.

    Where should the .htaccess file go, and what should I write in there? And if I'm reading it right, I assume the app.js file goes in the public folder?

    I can run the server just fine if I connect via SSH, and run "node app.js". But if I set this up right, I won't have to do that.

    I am soooooo close to deploying the app. I can feel it haha. Randomly woke up at 2am in the morning, and figured out how to sync my DB with phpMyAdmin via Sequelize. Now that DB is configured, I just need the express routes and server running and I think this should be it. It has been an insane 4 days :'(

    Thanks in advance

    mywebsite.com (folder) public (folder) app.js 

    https://preview.redd.it/tmn3pywcol461.png?width=1952&format=png&auto=webp&s=ce792431605f9afc6a11b71a7f7e0d263aa04324

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

    Mysteries of Moment.js's UTC offset

    Posted: 11 Dec 2020 10:41 AM PST

    React feels so complicated to me as an Angular 4+ dev...is it tough or am I doing it the wrong way?

    Posted: 11 Dec 2020 03:25 AM PST

    I recently got a project that I need to work upon from now on. It's built on React. I am Angular 4+ developer & I learnt the framework by self-educating and working upon a project that I had got 2 years back.
    I was able to understand Angular 4 project working in very less time but with this current React project I am not able to understand it very easily. I know that Redux state management is a complicated thing(or so I have read it on internet) but apart from that, do you have to return every single thing in React? return List.Item inside return List, damn, why so confusing?
    Just my opinion here, so React devs no offense.

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

    Interesting discovery: Facebook OAuth API blocking Chrome from making requests

    Posted: 11 Dec 2020 09:58 AM PST

    I was working with the Facebook Javascript SDK and I couldn't get the FB.logout() function work properly.

    I'm working on Chrome and each time I tried to logout it would complain because there's not an Access-Control-Allow-Origin header present(CORS policy). I thought this was just bad coding on part of Facebook but I decided to investigate.

    It works completely fine with Firefox, so I decided to change the User-Agent header on the Chrome DevTools to a Firefox one. It worked perfectly. I also put absolute non-sensical gibberish in it and it also worked perfectly.

    For some reason, Facebook doesn't send an Access-Control-Allow-Origin header when the User-Agent header indicates that it comes from a Chrome browser.

    What should I do about this? Should I report this to Facebook? Is there some workaround? I'm tired and confused and I ask for your help.

    EDIT: I handled the login like so for now. It is a stupid solution but it works:

    FB.api('/me/permissions', 'delete', handleConnected); 
    submitted by /u/1234filip
    [link] [comments]

    Any tips for how you learn new things?

    Posted: 11 Dec 2020 10:55 AM PST

    Hey all

    Wondering if you've discovered any tips for learning new things — new frameworks / technologies / etc.

    I'm realizing that the list of things I need to learn from scratch, or at least get better at is not small (Typescript, advanced React, Redux, Node, Express, etc etc). And so I'm going to try something relatively new — I'm going to try some planned learning instead of typical just-in-time learning that I've mostly done so far.

    IE: I'm going to try and set out a learning plan instead of waiting for things to cross my plate at work.

    My current plan is to spend 3-4 weeks with Typescript, then move to React (with .ts), finally try and learn Redux for 1-2 months, and then move on to Node/Express for the next 2-3 months. I'm thinking If I mentally check-in to "Typescript month", I can hopefully prevent distraction and get some focused learning done.

    Any other tips for how you actually learn new things? I know there's zillions of resources out there now, so I'm really looking for ideas around new techniques for adding focus to the learning.

    Thanks all!

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

    Upload button to a seperate database?

    Posted: 11 Dec 2020 01:40 PM PST

    So I'm new to the web dev game, I went through PHP on w3schools so I understand the language and how it generally works. So my website is hosted by some company, and I am able to create databases as I see there is a wp database, what is the purpose of it? I also would like to add a button that allows users to upload files, but I would like the files to be uploaded to the second database. I would also like to be able to send files in between the two databases, if someone can help me I'd greatly appreciate it, or at least point me ininto the right direction and where I should look to find my answer!

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

    Any cheap MMS API or any cheaper method of implementing SMS/MMS marketing?

    Posted: 11 Dec 2020 10:38 AM PST

    Hey guys,

    I have developed a website for my family restaurant and we just started to do SMS/MMS marketing this week. I finally finished the development for that.

    One of the things that I noticed is that a single bulk MMS of 2,600 users cost me 52 dollars. If my user base continues to grow it will only go higher in cost.

    Do you guys happen to know of any good SMS/MMS API that is cheaper?

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

    Need help with magnific-popup/lightboxes and how I'd go about displaying an iframe using it

    Posted: 11 Dec 2020 03:25 PM PST

    So I'm still relatively green to coding, and for my first professional assignment, my manager wants me to display an iframe in a lightbox/popup. I've decided to try and use either Magnific-popup or Lightbox2, which ever works really.

    Magnific-popup has a section on how to load iframes, but I don't understand what it's trying to get me to do. I added the stylesheet and js files included in the Magnific-popup build tool to the javascript and stylesheet sections of the page builder I'm using, but I'm getting confused on how to initialize the code. When I try to click on the link on my webpage, nothing happens.

    When it says that popup initialization should be executed after document ready, where does that imply I put this jQuery?

    $(document).ready(function() { $('.image-link').magnificPopup({type:'image'}); }); 

    Additionally, there are examples on how to change Magnify-popup to accept any domain for iframes, but they seem to all have the fact that they are video players in common. I'm not trying to play a video, it's just a form built in WordPress that is being access through an iframe.

    Sorry if this question is really vague, I'm just feeling really lost and I don't know how to even begin approaching this problem. What am I supposed to do after adding the JS and CSS to my page to set up a lightbox/popup to display an iframe?

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

    What the heck does Shopify do?

    Posted: 11 Dec 2020 08:17 AM PST

    So I'm looking to start a small ecommerce site. Many people suggest Shopify as an easy way to get started, but it costs money and I'm want to try building something myself. I know React, Flask, AWS - so do you think this will be enough to create something cheaper and on par with Shopify? or do they have some kind of secret sauce that no one else can code?

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

    can you explain how implicit argument forwarding work in redux documentation?

    Posted: 11 Dec 2020 10:51 AM PST

    https://react-redux.js.org/using-react-redux/connect-mapdispatch

    I am not sure how this work:

    const mapDispatchToProps = dispatch => {

    return {

    // explicitly forwarding arguments

    onClick: event => dispatch(trackClick(event)),

    // implicitly forwarding arguments

    onReceiveImpressions: (...impressions) =>

    dispatch(trackImpressions(impressions))

    }

    }

    how after spreading or destructing ( ? ) of the impressions we are only send the whole thing again? what is the point of spreading in the first place?

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

    Survey Monkey API: Public or Private app?

    Posted: 11 Dec 2020 12:11 PM PST

    Im not sure the common workflow for integrating.

    I have run a CRM Saas product where I want to let our users integrate their Survey Monkey data with the CRM contacts.

    Do I create a private app and then users will provide me access/tokens via an Oauth process?

    Or, do I create a public Survey Monkey app and then provide them with api keys that plug into the survey monkey app?

    Not sure clear what the right approach is at this point.

    They have this but I'm not 100% sure what I need.

    https://developer.surveymonkey.com/faq/

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

    How much do web developers charge for a website like this ?

    Posted: 11 Dec 2020 05:05 AM PST

    Cors anywhere down?

    Posted: 11 Dec 2020 11:10 AM PST

    cors-anywhere.herokuapp.com

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

    Help making data layer for Google Tag manager?

    Posted: 11 Dec 2020 04:40 PM PST

    Nginx proxy server requests to remote SQL server DB timing out

    Posted: 11 Dec 2020 10:16 AM PST

    I have a remote SQL server that I can reach when I'm on my local machine on IIS. But when deployed to linux (either in WSL or on remote server), when I try to run a query, my request will eventually just time out. The app 'seems' to be running fine otherwise.

    I'm not finding good documentation on getting the nginx server to listen on the correct ports, and trying to set a listen directive for port 1433/1434 are not working. I also tried disabling my firewall, to no avail. Does anyone have some pointers?

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

    No comments:

    Post a Comment