Git Product home page Git Product logo

wafs's Introduction

wafs

The course repo for 'Web App From Scratch'

link to the page

Week 1

Advantages and disadvantages of JavaScript libraries/frameworks

Pro Contra
It's a tool to work faster and to avoid repeating yourself. Would a construction worker use his hands instead of a hammer? The tool is made to help you work more efficient and focus on the important parts. source We will lack true understanding. While it makes the work easier, we won't really understand how and why something works. Like pushing a button on a phone to make a picture nowadays.
You will write code neatly and so will your team. All popular frameworks follow the best of industry standards and promote healthy engineering practices. You and your team will write code that is neat and correct. source Frameworks are made for massess. The specific solutions you need could be a fraction of the entire framework or not even be included.
Less maintenance. The community behind the framework will take care of bugs fixes and enhancements. source Frameworks aren't future-proof. The framework may not be around for the life of your project. Rewriting it in another framework would be the only solution.
You write less code. Also very efficient and makes for a smaller file. Disadvantage the performance Framework utilities do a lot of processing to make it work for all possible ports.
Use the work of others. A lot of problems are already solved by people with more experience en knowledge than you. Frameworks are a way of learning from them. Takes away innovation and challenge. For some people, frameworks will reduce the fun they would have in coding. Everything is simple and has shortcuts now.

Advantages and disadvantages of client-side single page web apps

Pro Contra
Straightforward pages for a clear prupose. One-page navigation, of course, is more straightforward than a larger site for sites which serve a single purpose. If your goal is to tell a story, single-page sites are a natural choice for visual narratives. Content needs to be organized. You can't fit a ton of content into a single-page web app. Not being able to find anything and seeing irrelevant content would be annoying.
Scrolling is easier than clicking. If a user begins to scroll, then you may find them more likely to keep scrolling than to stop and click a link. You'll keep users interested for longer. Search engines don't like it. Search engines search for relevant content. When your page has all the content your website has to offer, the relevant keywords will be ondergesneeuwd.

Best practices

  • Don't pollute the global scope, use objects instead.
  • "use strict" to find errors faster.

<<<<<<< HEAD To be continued

To be continued

0ffd120b84696f637d20e490f8c3df90d6cfd8a6

wafs's People

Contributors

joostf avatar leoniesmits avatar razpudding avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.