• Breaking News

    Friday, July 5, 2019

    UK ISP group names Mozilla 'Internet Villain' for supporting 'DNS-over-HTTPS' web developers

    UK ISP group names Mozilla 'Internet Villain' for supporting 'DNS-over-HTTPS' web developers


    UK ISP group names Mozilla 'Internet Villain' for supporting 'DNS-over-HTTPS'

    Posted: 05 Jul 2019 04:04 AM PDT

    Flexbox Froggy is an incredible resource to learn flexbox interactively

    Posted: 05 Jul 2019 01:41 PM PDT

    Flexbox Froggy

    The guy who made it Thomas Park has other educational games similar to this on Codepip

    My notes and solution

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

    How do you design a nodejs apps?

    Posted: 05 Jul 2019 01:08 AM PDT

    Not talking about front design. I have different services, a UserService and WhateverService that are all under apps/services.

    They all need at some point to have do some CRUD operations. So I created a class that connects to the db and returns an instance of db(client). And in every service I'm doing something like this:

    Const db = DbAcces.getClient();

    And then for example:

    RegisterUser = function(user){ db.insertOne(user); }

    But I don't know if this is good design pattern. I come from Spring and can't find ressources on how to modularize nodejs apps.

    Sorry for the raw code that, I'm on mobile.

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

    Web devs who started their own company, how did u start ?

    Posted: 05 Jul 2019 09:44 AM PDT

    Best eCommerce platform?

    Posted: 05 Jul 2019 02:21 PM PDT

    I'm a pretty well seasoned developer, but in all of my work I have never dealt with any eCommerce. I am beginning to actually start selling a product as well as a subscription service. What I don't want to do is roll my own eCommerce software with so many options out there, or should I?

    Are there platforms out there that you all would recommend, it seems shopify is most popular, but should I be looking into other platforms?

    edit: i should add this company will be a "High Risk Merchant Account" due to the nature of what i'm selling (CBD products)

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

    How I incorporate randomness into my blog's stylesheet

    Posted: 05 Jul 2019 03:54 PM PDT

    I feel like I am being scammed. What are my next steps?

    Posted: 05 Jul 2019 04:29 PM PDT

    Client reached out to me. I bid him $3500 .. A week later heres the email i got:

    $3500 is comfortably within my budget for the web project and I will like us to proceed asap.

    I do have a pending payment at NC Pork Council and I intend to have them make payments on my behalf since I am currently traveling for work. From what I know, they'll simply write you a check, so if that's fine, then we can continue

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

    How Does SEO Make Your Job Harder?

    Posted: 05 Jul 2019 10:13 AM PDT

    Hi All,

    I was wondering as webdev what are the biggest issues/knowledge gaps you run into when "SEO" is brought up or is needed? What do you need to make your job easier?

    Thanks much!

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

    My journey to build a custom tech stack: Part 1 - Picking the technologies

    Posted: 05 Jul 2019 03:59 PM PDT

    Introduction:

    Welcome to my journey to build a complete tech stack. I've always focused on only the business logic of the website and I've been blindly using all other solutions provided to me. But I've embarked on a journey to learn more about the tech stack and how it all works and connects together. I will be sharing all my findings and discoveries here in this series.

    I'm sure you all heard of these newly-circulated buzzwords such as "cloud", "scalability" and "clustering". I'm a complete noobie when it comes to these kinds of thing, so I will be learning alongside you. But, let's leave it for later.

    I'm a beginner when it comes to building the tech stack and when it comes to most of the technologies I will be talking about. This article is probably most useful to people similar to me who are looking to build their own tech stack or just learn more about it.

    NOTE: This pseudo-article is not factual in any way and they are just my opinions. If I got any facts wrong, please feel free to correct me.

    What is a tech stack?

    Quoting from stackshare.io:

    A tech stack is defined as the set of technologies an organization uses to build a web or mobile application. It is a combination of programming languages, frameworks, libraries, patterns, servers, UI/UX solutions, software, and tools used by its developers.

    So, what does this mean? I assume you understand the words but how do they all fit together?

    A tech stack is a set of technologies that work well together and it makes it easier to develop web applications. It is mostly comprised of 3 things:

    Frontend

    This is what you see on the browser. It is the text that displays before you and the buttons you click. All those fancy animations and colors are what we call the frontend of the application. It runs purely on the browser, that is, client-side. But the actual webpage and the data displayed on it has to come from somewhere. That is where the backend comes in.

    Backend

    The backend is a term used to widely describe all the technologies that work together to provide you with the appropriate webpage to display. It encompasses the database where your data is stored, the framework which fetches it and the web server which handles all your requests.

    Infrastructure

    This is the actual computers that your software runs on and the deployment of the application. I won't be going in-depth here because I need to research it more in order to understand it better. But when someone is talking about the cloud, they are talking about this.

    A little background first

    I've been using Laravel for about a year now. I used to code everything by hand and that presented a lot of issues. Then I switched to Laravel and it was like a whole another world. I learned the wonders of MVC and migrations. At the start, I've been happy, but I started noticing some issues, or rather, things I dislike. This maybe comes from my lack of knowledge but I embarked on a journey to build my own tech stack that I can reuse seamlessly for all my other projects.

    Frontend

    So as we all know, we need something to render our webpages and present them to the user in a nice way. I absolutely despise frontend development. That is not because I have some deep-rooted hatred for beautiful designs but because I suck at it. I can't use JavaScript for the life of me, and CSS just gives me headaches. That's why I've resorted to using Bootstrap for nearly all my projects. I use frontend frameworks purely to display data in a somewhat appealing way. I'm not a website designer, if I want my projects to look pretty, I collaborate with someone who knows what they're doing.

    Frameworks - Vue.js, Bulma

    But for my frontend frameworks, I went with Vue for interactive functionality and Bulma for pure CSS prototyping and easy theming. From the 3 major JS frameworks, I found Vue to be the one with the best documentation and learning curve. It is a relatively new player in the field of JS frameworks, but the documentation is plain simple to understand and transition from the more traditional HTML templating. It supports TypeScript, which is awesome for me as I come from a background of conventional languages like C and C++.

    Miscellaneous

    For all my other frontend needs I will use NPM for package management, babel for ES6 compilation and Webpack for compilation and minifying.

    Backend

    As you probably know, backend fragments into 3 major things: web server, backend framework, and the database.

    Framework - Django

    Let's start with the backend framework as it somewhat impacts my other choices. I will use Django(Python) and let me explain my reasoning. It mostly solves the problems I had with Laravel.

    • Robust admin panel: For my Laravel projects I had to build an admin panel myself and for every single model I had to create a new page myself in order to debug or handle sample models.
    • It isn't as bloated: I'm aware that Django isn't that suitable for building smaller projects like my own and Laravel is supposed to be better. But rather I just found myself annoyed with the hundreds of magic functions and folders that I never use or abstract too much from me. I want to make my life easier as a developer but Laravel makes debugging quite hard in my opinion.
    • Scalability: I won't ever build Facebook-scale applications by myself. But I started this project to learn more about the tech stack myself and to build a scalable application that can be run in the cloud. Django is much faster and more scalable than Laravel.
    • Clean: It is just cleaner to write. Because python is a dynamically-typed language there isn't as much need for classes and wrappers. Sure, I like classes and OOP but that's only if I write them. If a framework gives me hundreds of classes it just gives me a headache.

    Some sacrifices I will be making:

    • Testing: Laravel implements very simple and robust testing that just doesn't come out of the box with Django.
    • Eloquent: It is a beautiful ORM and it just works. Plain and simple. I can't know if the Django ORM is as good as Eloquent but it looks very promising.
    • Routing: The routing in Laravel is much simpler compared to Django. I don't mind that because when you complete the initial setup and get over the learning hurdle it becomes about as fast as Laravel.

    Database - PostgreSQL

    The next item is the database. For that, I will be using PostgreSQL. I was a long-time MySQL user but here are my reasons:

    • Opensource: Pretty self-explanatory. PostgreSQL is opensource, while MySQL is owned by Oracle.
    • Integration with Django: As far as I could discern, Django is built with PostgreSQL in mind. It provides more robust constraint checking that makes it easier to work with PostgreSQL.
    • High availability: Again, this is not an issue for me, but I've undertaken this project to learn more about the production of tech stacks. Because PostgreSQL is open-source it provides a lot of third-party solutions for load balancing and connection pooling. I think that MySQL offers only their Enterprise solutions(please correct me if I'm wrong).

    Web server - Nginx

    I don't know anything about web servers. The things I know about them is that they are installed on my system and they handle HTTP requests for me. But when I had to tinker with the configuration Apache was a pain in the ass. That's why I'm choosing Nginx as it offers good integration with Python using WSGI and better configuration than Apache(or at least cleaner configuration)

    Miscellaneous

    There are a couple of things I couldn't fit into these categories. One of these is caching. For that, I will be using Redis because it's widely used and powerful.

    Another thing is hosting. I will start deploying my applications on AWS. They offer a free micro tier that suits my needs. I will mostly these as I want to learn more about the cloud and deployment but I'm not planning to become a DevOp anytime soon.

    Conclusion

    That's it for my post! This was the first part of this series. I appreciate any feedback on my stack and the decisions I made. If I made a mistake anywhere, please correct me. This was a heavily opinionated post and you are free to disagree with me. In fact, I encourage it.

    Even if I said that this was a post for beginners I maybe used some more advanced concepts or referred to parts of frameworks that are only known to those that use them. If anything is unclear, please comment down below.

    Thank you for reading!

    submitted by /u/1234filip
    [link] [comments]

    Practical Go: Real World Advice For Writing Maintainable Go Programs

    Posted: 05 Jul 2019 07:36 AM PDT

    What format should I use for a specific animated graphic I want on my website?

    Posted: 05 Jul 2019 03:02 PM PDT

    So I have a non-profit mental health website via Squarespace and on the home page, I want to have an interactive graphic with twinkling stars that you can click on and a message bubble pops up. In a perfect world, I'd like there to be a text box for the user to type something into, and then after moderator approval, it could become a clickable little star. It'd be awesome to navigate the cosmos with these little messages attached, but it doesn't have to be that complex either. If that wasn't achievable, even having a text box within a graphic with raining text after their submission would be excellent.

    Does anyone have suggestions as to what to look for in a potential designer and specialties I should keep in mind? I'm running across a lot of CSS and HTML5, but I'm not very educated in the differences. I just want a seamless graphic that you can interact with and will have a source code, so it can be put into squarespace on the back end. Moderator capabilities are also very important! I don't want kids to type silly things and throw off the purpose of the tool.

    I'm also open to other suggestions for better subreddits to ask this question to. Hopefully I find an answer here.

    Thank you for your time!

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

    Web Hosting For New Start Up Business?

    Posted: 05 Jul 2019 03:00 PM PDT

    Hello, I'm new to all of this so please bear with me. I'm a new start up small business. I bought my domain name and now I need suggestions on somewhere to host it. The things I'm looking for are the ability to handle payment transactions for online preorders. A decent speed for a small but high resolution photo gallery and not having to worry about the website being down or lagging. I'm also looking for a very easy user friendly website builder. My budget is pretty small though so at the moment it is the biggest factor. Any help is appreciated.

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

    [SUGGESTIONS/ADVICE] I know a lot of things, what do I need to know more?

    Posted: 05 Jul 2019 02:51 PM PDT

    Pardon me for the clickbait title.

    I just want someone to understand my position and tell me the way forward.

    I am aiming to become a Full-stack developer, and later a software architect in my career. ( 3 years experience, as of yet ). As of now, I

    1. have extensive experience of frontend, and knowledge of relevant architectures and design patterns, and performance quirks. I primary work with ReactJS, but I have low-level knowledge of JS.
    2. have written web servers using nodeJS. I can do SSR, write REST APIs and have worked on creating a graphql backend as well.
    3. I can do nginx configurations ( even complicated ones with multiple servers interacting with each other)

    4. I have worked with docker and ECS, and created configurations for/ deployed a production app using it

    I would like to get suggestions on what can I learn/ get experienced with, to proceed forward on the Full-Stack/Architect path. I am expecting more 'backend' related advice. What appears to be missing? What is good to have?

    Please feel free to go 'you are bragging but you don't know shit about X' as well. I am humble with advice.

    Thank you.

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

    Question about freeCodeCamp

    Posted: 05 Jul 2019 01:11 AM PDT

    Hey there, so I want to learn web development, and FreeCodeCamp has always been suggested, I know nothing at all about web dev, I was looking at their curriculum, seems like there's 6 paths (web design, js, front end libraries, etc) , am I supposed to take them all to be a web developer? or are they different paths of web development?

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

    Is this reasonably possible?

    Posted: 05 Jul 2019 07:35 AM PDT

    Hi web devs of reddit.

    I am a Bsc CS student, and I've been offered to make a web app.

    Well yes, but no. If I can get a working prototype by the end of Jan 2020, then they will give me the contract. I've dabbled in front end a bit and I can make static websites (albeit not as fast as most of you).

    As far as design goes, they want a reservation app hosted on their servers. So i figure it will be something like:

    • AngularJS for the front end
    • Maybe Laravel for the backend
    • and an SQL server, possibly mySQL.

    My question is, is it reasonable to expect to be able to learn all these technologies and make something like this within this timeframe?

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

    How to handle contracts and getting paid

    Posted: 05 Jul 2019 07:20 AM PDT

    Someone shared this in a comment on another post this morning.

    I can't find where it was, but after watching this video i felt everyone in our industry should watch it and learn from it.

    So, here it is: https://www.youtube.com/watch?v=jVkLVRt6c1U

    TL;DR:
    - Mike Monteiro: F*ck You, Pay Me
    Just great advice on how to setup your contracts, how to deal with clients, how to get paid, how to cover your ass, that kinda stuff. Good stuff. The Q&A at the end is good too.

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

    [Question] Best way of sending parameters to a server

    Posted: 05 Jul 2019 09:13 AM PDT

    I'm using Node.JS to create a web server that will interface with my client application. I want to have my client send a few configuration settings that will change the server's response. The JSON data the server will return will be different based on the configuration settings.

    I know of a couple of ways to do this. One is to send the extra settings as custom parameters in the head of the GET request. Another is to just put the options in the URL of the request using a query string.

    I'm not sure if this is a good idea or even feasible to try to write my own protocol over raw TCP/IP but it might still be an option.

    I'm a bit new to server development and making HTTP requests so any help is appreciated. Thanks.

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

    Should REST APIs respond with JSON data and have the client depend on the order of data in an array?

    Posted: 05 Jul 2019 12:43 PM PDT

    I have a REST API that needs to return URIs to images for products and user avatars. I have different sizes of product and avatar images.

    For an avatar image, I would like to store URIs to the different sizes in the database. Is it considered an okay practice to, when the client makes a GET Request to view a user profile, send down JSON data containing an array of URIs where the zeroth element of the array is the URI to the small version of the avatar, and the first element of the array is the URI to the enlarged version of the avatar?

    That way, I can render the zeroth element when you view a profile, and if the user clicks on the profile image, I can show an enlarged version by GETting the image at the first element position - which is the URI to the larger version.

    Thank you.

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

    I'm upgrading my html site, need suggestions?

    Posted: 05 Jul 2019 12:32 PM PDT

    I have a dynamic html site with 500 pages, looking to upgrade to the latest tech for better speed, security, seo.

    I know wp has an html importer which can get this done, I'm curious to know other alternatives.

    Thank you.

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

    Loading large datasets to front end

    Posted: 05 Jul 2019 08:44 AM PDT

    Hello! I'm working on a personal project that uses lots of electoral data and am not sure how to not have loading lag every time a user wants to interact with new data. For some successful examples:

    • 538's 2018 predictions: This loads a bunch of data to the front end such that a hover over any other constituency doesn't have a load time. If I click on any, I get a whole new page of data that has virtually no load time.

    • Reuters Indian 2019 elections: There's data loaded onto various maps such that, again, the load time is instant and there's no lag either hovering over different constituencies or switching maps.

    My guess is that this data is passed to the front end beforehand, and loaded appropriately such that the user doesn't need to waste time querying. I'm not sure how to do this with bigger datasets though (ie. several MBs). Any tutorials, technologies, frameworks, design methods, or help, would be appreciated :)

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

    Resources for learning HTTP in 2019?

    Posted: 05 Jul 2019 06:24 AM PDT

    Back in school(2004) I learned and forgot a lot about HTTP . It's 15 years later and I know a lot has changed in that arena. Websockets are a thing, security has changed, I have little clue what HTTP headers are commonly used, and HTTP 2.0 is becoming supported by web servers and application frameworks. What would you recommend as resources to relearn HTTP in 2019?

    I'd prefer not to read RFCs, as they usually don't explain key concepts to the uninitiated, and can be rather dry.

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

    College dropout/self taught and employed seeking advice on how to go about furthering my career

    Posted: 05 Jul 2019 08:33 AM PDT

    I'll try to make this short.

    So I'm currently employed working as a front end developer. The job has been good so far and I don't have many complaints other than I feel as if I'm stifling myself by working there. When I first got into this position there was one other developer who was more experienced and I was learning a lot from them, but they left after 2 months. For about 6 months I was the only developer. I mostly maintained our web apps and added a few new features using Angular(1.x) and now I'm currently building something with React(slowly, but I'm making progress). It's my first developer job and I've been in this position for 8 months now. I went to school for CS, but didn't finish so I would consider myself self taught.

    We just hired a new developer who is fresh out of school. Most of their knowledge is in Java so their having to learn from me and online tutorials. I feel as if I would be better off working somewhere where I have a mentor who I can learn from. Sure I have a lot of autonomy and the pay is decent, but I feel as if I'm doing myself a disservice by being there longer than I have to.

    Right now my thoughts are to stay where I am, learn new things, and get better before looking elsewhere. I'm wondering if there's any other options I should consider?

    edit: also, I'm not interested in going back to school or joining a bootcamp that I couldn't do while still having a job. I'm 31 and I have to take care of myself.

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

    wordpress or alternative for selling infro products?

    Posted: 05 Jul 2019 10:55 AM PDT

    want to create a website selling info products/consulting services - want to include testimonials. I MIGHT want to add articles to the website but still up int he air. I also need it to have a purchase page where credit card can be entered.

    is there an ideal website building service for this or does it not really matter cause my shit is so basic?

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

    No comments:

    Post a Comment