• Breaking News

    Tuesday, January 1, 2019

    Will PWAs Replace Native Mobile Apps? web developers

    Will PWAs Replace Native Mobile Apps? web developers


    Will PWAs Replace Native Mobile Apps?

    Posted: 01 Jan 2019 10:24 AM PST

    Let's block Australian visitors until their politicians fix their insane anti-privacy laws, here's what I'm using.

    Posted: 31 Dec 2018 09:20 PM PST

    Bandersnatch.Life - an Interactive Black Mirror: Bandersnatch Paths Website

    Posted: 01 Jan 2019 06:27 AM PST

    I like coding in vanilla javascript, but I've been putting off learning JS frameworks. Am I setting myself up for failure, or is this a good strategy to really understand how JS works?

    Posted: 01 Jan 2019 12:51 PM PST

    I have been putting off learning things like Vue and React and JQuery because I believe it would be better to have a solid foundation in what JS is before diving into the frameworks. I also think that by better understanding basic JS I can essentially build my own custom frameworks while working on specific apps. I just code custom functions to do what I need.

    Would love any feedback on what I've done here: https://github.com/webdude223/Register-Simulator

    This was my senior capstone project at college, I'm still working on it in my free time, I ended up building a web app simulator of a real life cash register system from my day job. It's not finished yet, but it does operate very similarly to how the real life system did. I'm rather proud of it, but I'm also just a kid getting out of college. So my experience and perspective is rather limited. That is to say that a few years from now I hope to look back on this and laugh at my inexperience at the time.

    I apologize that I don't have this running live on a website so people can quick demo it. Once it's finished I plan to host it somewhere as a part of my portfolio.

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

    My First Web Application

    Posted: 01 Jan 2019 10:15 AM PST

    Hello Guys!

    I used to work on basic static websites with bootstrap however I started learning VueJS and made this new project.

    Website: http://hltvnewsgenerator.com

    What It does?: It allows me to make similar article layout as the original website HLTV.org so that users can create fake/meme content and share it in communities or with friends.

    Example: https://i.imgur.com/NJ7liWd.png

    Although, I am able to achieve this much I still have so many problems to finish with. The first one is to change Theme style without reloading the page or in my case, I redirect to another URL to load different CSS.

    It would be great if i can get some help and feedback. Thank you!

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

    I'm making tutorials that rebuild the UI of great iOS/Android Apps in Sketch. #1 is Habitify for iOS!

    Posted: 01 Jan 2019 01:06 AM PST

    Template string accessors

    Posted: 01 Jan 2019 01:47 PM PST

    React.js–Get started in Dart #1

    Posted: 01 Jan 2019 12:26 PM PST

    Moving bower project to yarn. How do I concatenate node_modules?

    Posted: 01 Jan 2019 10:33 AM PST

    I have been trying to move our company's front end angularjs project from bower to yarn.

    I am using bower-away for it, but now the issue is that I have a gulp task that utilises main-bower-files to concatenate all the bower_component files. How do I adapt this in my yarn setup? I tried main-npm-files, but my vendor file is littered with require and I get the obvious require is not defined error in the browser.

    Here's my gulp task:

    const gulp = require('gulp'); const mainNpmFiles = require('main-npm-files'); const minify = require('gulp-minify'); gulp.task('bowerScripts', function () { return gulp.src(mainNpmFiles('**/*.js')) .pipe(concat('vendor.js')) .pipe(minify()) .pipe(gulp.dest('dist/scripts')); }); 

    I did try with Browserify but the issue is that, in our app's code, we haven't imported modules. All the angular modules are defined in the app.js as such:

    angular .module('campuskudosWebApp', [ 'angulartics', 'ngAnimate', 'ngCookies', ..... 

    And then we have gulp tasks, that concatenate the bower_components, now node_modules, and inject the file in our html.

    It's a huge code base, so I don't think going into every file and requiring module is not a good idea. So I am stuck with this.

    Any tips on how do I continue from here?

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

    Free web development courses?

    Posted: 01 Jan 2019 04:26 PM PST

    I'm new to web development, and plan on building my own sites and projects. I'm looking for some good web development courses, I've been looking at w3schools and freecodecamp, but they don't seem to be a structured course, rather just info for you to refer back to if you forget something. Anyone know some good courses that are (preferably) free and have a clear outline of what you'll be learning?

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

    What should I learn next - laravel/node or react native?

    Posted: 01 Jan 2019 03:34 PM PST

    Hey guys,

    I know it boils down to personal taste in the end, but I'm wondering how to develop my skills and what to learn next. I've been programming for about a year and have become quite good with html/css/js, react.js, and php. I still feel like I have a lot to learn in the backend field and how to integrate it with front end so I was thinking maybe I should focus on learning laravel or node, or going in a completely different direction and learn react native?

    Do you think that becoming better at backend is more critical than becoming an app developer?
    Is there a preferable direction in terms of looking for a job?

    Thanks in advance

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

    Best practice for implement a print button specifically for a label (1.25"x2.25")?

    Posted: 01 Jan 2019 03:06 PM PST

    I'm developing a web application with Django and need to find a way to print out my generated QR codes onto a label sized piece of paper. I've never written print functionality for a website before and haven't found a great place to start. I'm concerned that simply loading a new webpage with the print style sheet on it will not correctly size the label.

    Any suggestions?

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

    [Question] How to setup DB and logic when building an webapp aimed for business

    Posted: 01 Jan 2019 02:34 PM PST

    Hey!

    I've built an app and is almost at the finishline but I realized that I have no idea if my DB-structure and the logic that I use to read/write is any wise so I'm curious to hear how you guys plan you DB-structure and logic, but also what tools you use to achieve those ideas.

    My problem is that I want to use mongdodb/mongoose, where I setup one mongdodb instance and in the instances there are multiple DB (one for each company). So when company logs in to the app they are directed towards their DB/data. But that doesn't seem to work as mongoose setups one direct connection to the DB and everyone who "logs in" will use it.

    Do you setup so each query is directed towards their DB? Do you keep all data in the same DB and then is filtered when queried? Are there any other type of dbs/odms that are more aimed to handle this type of scenario (one instance, many DB, connects to "their" DB when logs in?

    I just can't get around how to plan the DB around this or how other applications s handle this?

    (As far as I know you should be able to handle different dbs with mongoose and the .createconnection, but the documentation is quite bad here so I need to rethink my DB-structure...)

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

    How to create a new html file on web-server based on the url a user puts into the browser

    Posted: 01 Jan 2019 02:34 PM PST

    Hi! I want to make a page where a user who enters a random string or word after my domain, enters a new page named that string/word.

    Example -
    User enters: www.mydomain.com/heyreddit

    If heyreddit.html exists, redirect to that page. If heyreddit.html does not exist, create a heyreddit html file, populate it with a specific code and redirect the user to this page.

    Any pointers of how to do allow this in the webserver, better ways of solving it, if I need php or database or anything?

    All tips appreciated!

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

    I am trying to send JSON data from a JavaScript file to a Python file. I am able to send the data using XMLHttpRequest(), but I'm not sure how to go about receiving it.

    Posted: 01 Jan 2019 01:44 PM PST

    Background: The JavaScript gets user input from HTML forms, and does stuff with it. It should then send an object, two arrays, and two strings to a Python webserver, that will send out emails based on the received data.

    I have a Python file that can send emails, and I believe I am sending the data correctly, but I am completely lost on how to receive the data at the Python file. I think I need to use Flask, but thats about all I know, and I don't even know where to start with Flask.

    Here is the JavaScript code I use to send the data

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

    Because I’m dumb, I write better code.

    Posted: 01 Jan 2019 01:18 PM PST

    How to sort based on proximity to zip code.

    Posted: 01 Jan 2019 07:04 AM PST

    I have a whole lot of records(A) that include a zipcode field. I've used google's API to calculate the long and lat for each record. I then have a bunch of users with their own zip codes. I'd like to provide a list of these A records based on the distance from the user to the record. I can calculate the distance on the fly using a fairly complicated radius of the world calculation, but this seems intense for such a high number of records - crazy slow. I realize there's some logic to zip codes - the numbering, so I'm curious about how people do this. Thanks

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

    Which one of these courses should I enroll next?

    Posted: 01 Jan 2019 05:15 AM PST

    I'm currently doing the Colt Steele's Web Developer Bootcamp

    I'm intending to buy a few more courses just to get different perspectives from multiple teachers.

    Here's my wishlist:

    • The Modern JavaScript Bootcamp (2018) by Andrew Mead

    • The Complete JavaScript Course 2018: Build Real Projects by Jonas Schmedtmann

    • The Complete Web Developer in 2019: Zero to Mastery by Andrei Neagoie

    **NOTE ** Feel free to suggest other courses as well. Also I'll be doing JavaScript30 and some other projects while doing these courses, I'm aware of how doing actual projects and building things is very important in gaining experience and finding solutions on your own.

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

    How do I make a navigation like this?

    Posted: 01 Jan 2019 12:14 PM PST

    What's the best JS library for detecting a programming language from a string/file?

    Posted: 01 Jan 2019 12:08 PM PST

    I've looked at Highlight.js as I've used it before to highlight syntax with auto-detection, but it does a lot of work that I don't need. I just need to return the detected language, not waste time on generating a block of HTML.

    Any suggestions?

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

    Building a custom eCommerce: does my stack makes sense?

    Posted: 01 Jan 2019 12:04 PM PST

    Hi,

    I want to build a custom eCommerce solution, and it's been 5 days that I'm searching for a solution, and since I can't find something that suits my needs, I decided to build it myself.

    I KNOW, I KNOW, it's a very bad idea, I should use Shopify, blablabla, but I want to do it. Because I want to learn and sharpen my skills, and because the person who I build this site for has extremely unique needs.

    Here's how I see it:

    • Frontend: built from scratch using React and Gatsby for super fast performance and SEO and cool UI. Hosted on Netlify.

    • Backend: I'll use a micro-service architecture, and each service hosted on Netlify. For example, a search service that takes a keyword and returns a list of results which is then passed onto a result page with Gatsby. Or, another example, a service that updated a product with data received from the CMS (see below).

    • Database: hosted on MongoDB Atlas.

    • Payments: using Stripe checkout. No shopping cart needed.

    • CMS: built from scratch with React. Hosted on Netlify.

    My question: does all that makes sense? Can it hold together? I have 0 experience with Gatsby, so I fear I may be missing something and stop in 1 month, because there's something that is simply not feasible. Also, do you guys see any potential problem that I may encounter, that will make building this project take 2 years instead of a few months? I'm also afraid I'm missing the point of Gatsby, and I won't be able to implement custom backend stuff into the App. Is there something you can do with React only but cannot with Gatsby?

    In my (young dev) opinion, there's no problem here. It's not gonna be easy, but hey, I said myself that I want to take on this challenge.


    Where do I come from? Read this:

    • I have looked into Moltin, but they have no pricing (?). I managed to get someone on the chat who told me that it's $100/mo. Out of the way.

    • I have also looked into Reaction Commerce, but I can't manage to even install the starter pack correctly, so out of the way too. It also seems to be very poor in terms of docs/community.

    • There's also Saelor, but I don't know Django and I don't want to learn it. I want JS everywhere.

    • Shopify is not customisable the way I want to. Out of the way too.

    • The old PHP solutions don't attract me as well, too slow, too old, too large, and I don't want to learn PHP.

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

    How much frontend does a backend developer need to know?

    Posted: 01 Jan 2019 12:36 AM PST

    I'm currently working putting together a portfolio of backend projects to (hopefully) land myself a job. I'm curious as to how much frontend I need to know if I were to ever get a job as a backend developer (outside of basic html, css, and JS). Thanks in advance!

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

    Am I doing this right?

    Posted: 01 Jan 2019 11:27 AM PST

    So I am learning web development and I just finished one project by following video lectures. I understood the 85% of the material covered in that project and when I am practicing now on my own, I just open Chrome for live preview and do 'Inspect Element' to see what works and what does not. I really do not understand what I am doing but I just change this and that to see what happens and if I get it to do what I want it to do. For example, when I have classes and multiple sub-classes in CSS3, I just try something in one class and see if it works. If it does not, I just try in another sub-class. Is this the right thing to do at this stage or I just need to take more lectures?

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

    How I saved $400/year by switching from Bluehost VPS to Netlify + Migadu

    Posted: 01 Jan 2019 11:17 AM PST

    No comments:

    Post a Comment