Coder Social home page Coder Social logo

mapping-wireframes's Introduction

Mapping Wireframes

But Why?

So far, we've mapped out our projects on paper, or in some cases in design software like Sketch - this is great, but the result is far removed from the programatic entity that your app will one day be.

By using Bootstrap (or any other CSS Framework) to rapidly protoype our project, we can get our mockups closer to the code we actually plan to implement - and a head start on our project. It also allows us to find design flaws we might not have noticed on pen and paper.

Today we'll be working with a Bootstrap sample project to rapidly prototype our project, with live code.

Bootstrap and Components

Bootstrap has a wide variety of pre-built components, for both CSS and JS:

These pre-fab components are great to cherry-pick and place in your project as your rapidly prototype. For example, pull down the sample-project in this repo and take a look:

sample-project

The nav bar alone would probably take us an hour to make - but this navbar came directly from Bootstrap's component list: https://getbootstrap.com/docs/4.0/components/navbar/

The Copy/Paste Ban has been lifted

It is always a bad idea to copy/paste code. It increases the risk of human error and cargo cult programming. HOWEVER, the code we're writing now is a prototype - a rough draft. As long as you're making a draft, not a finished project, you can copy/paste components to try them out and rapidly mock up your app design.

Think about the pages you might need for your app, and start making them via copying your files, or chunks of your code, into new files.

Lorem Ipsum

We've created some files and now, but they're looking a bit empty. It would be nice to have some text in here, but you're probably a long way away from having content. That's where Lorem Ipsum comes in: http://www.lipsum.com/

Lorem ipsum is the industry standard for dummy text, and has been used since the 1500s for typesetting. If that's too oldschool for you, you can also try some more modern flavors:

Many times, you'll be creating a project before your client has finished their approved copy - Lorem Ipsum is a great way to fill in the space in the meantime - just remember to check your Ipsum for profanity before putting it on a client's site.

Stock Photos

Most stock photos suck. Here's a list of some that don't.

A personal favorite of mine is Unsplash Me.

Testing and Hosting your prototype

To run locally, you can run simple front end code by running python -m SimpleHTTPServer from within your project on the command line. This only runs front end code, not node, database stuff, etc.

The easiest way to show your prototype to us, a client, or other members of your team is gh-pages. Since you're already using github to source-control your project, it might be wise to simply do your work on the gh-pages branch so that each push deploys your project to a live site.

If you've forgotten how to create new branches or deploy to gh-pages, check out our previous lesson on it.

Start prototyping!

You now have the tools to start wireframing - including the sample project in this repo. Our goal now is to wireframe your Project 2 app. Feel free to use that as a starting point, or start from scratch.

mapping-wireframes's People

Contributors

nickandersonr avatar joldenb avatar zebgirouard avatar

Watchers

James Cloos avatar  avatar Stefan Kowal 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.