Giter Site home page Giter Site logo

flasktalkf2014's Introduction

Flask Talk Fall 2014

This repository contains code, and action items from a Intro to Web Development in Flask talk given on September 29, 2014.

Code

cats.html shows you how to write a simple static web page - something that looks like a Microsoft Word document.

app.py shows you how to do input/output on the web. It allows us to accept orders from customers, show them a "thanks for your order" page, and notify someone via text message of the order. You will need to sign up for a Twilio account and fill in your account information in app.py to get the text messages to work.

Takeaways/Action Items

  • Writing web code is easier than it looks. I've written less than 150 lines of code that already does something useful.
  • I encourage you to think of a simple web application that you'd like to build - you will be far more motivated to work on a project that you find interesting.
  • Talk to upperclassmen, mentors or send me an email ([email protected]). The CS community is happy to help motivated students, and point you in the right direction.
  • It sucks that this stuff - HTML, Python, Flask - isn't taught in our CS classes. Don't use that as an excuse. Remember that you're responsible for your own success.
  • Go to HackRU and build stuff. You'll get inspired by the people and the environment.
  • Don't worry about the language, environment you're writing in. People will tell you X is better than Y, and the discussion turns into a religious debate. Learn from the people around you but don't feel compelled to do things exactly like they do.
  • As an exception to the previous rule - stop trying to write web apps in Java/Eclipse. Java is generally full of boilerplate, and makes web development harder. I know that you're comfortable in Java because of your coursework, but the initial investment into learning Ruby/Python/Node.js/PHP pays in the long run.

Resources

  • Learn Python the Hard Way - Teaches you the basics of Python. Good for people new to programming.
  • Project Euler - Interesting math-y problems that you can use for code practice in any language. I recommend picking up Python by doing the first ~10 problems if you've already taken 111/112.
  • Flask Docs - Flask docs. They're pretty well written with code examples, and well written explanations of concepts.
  • CS75.tv - A comprehensive dynamic web development course that walks you through HTML/CSS, PHP, Databases, Javascript, Security etc. It gives you a very strong foundation in web development concepts, and it's useful if you prefer a more organized cirriculum.
  • Google, StackOverflow, Rutgers Hackathon Club

P.S. - I work for Etsy - a wonderful software company in Brooklyn. If you're interested in an internship or full time position with us, shoot me an email ([email protected]).

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.