Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 2011.12.23 - YouTube - PythonWeekly - Programming with web2py (7 videos)
    1. Background info
    2. Intro to web2py
      1. It's extremely easy to get running.
      2. It has a built-in webserver called 'Rocket' for local development.
      3. He explains
      4. It has an unusual concept of 'applications'.
      5. He covers the folder structure of an application: controllers/, models/, and views/.
      6. Within each controller (Python module in the 'controllers' folder) you have one or more 'actions' (functions).
      7. web2py's definition of 'controllers' is a little different than the typical MVC usage, as what web2py calls 'actions' are really what others would call 'controllers', and what web2py calls 'controllers' would be called groupings of controllers. 
      8. 5:25 - How does web2py determine which action to execute? A: By looking at the path of the URL.
      9. 7:25 - 'admin' is a special application that is included automatically in every web2py installation.
        1. You can install and remove applications.
        2. You can actually edit your code from an interface in the admin application.
        3. You can disable the admin app but you can't remove it.
      10. 9:00 - The 'examples' app is strangely named because it includes the code that runs the web2py.org site itself, and doesn't really contain any examples. The 'welcome' application makes a better example application.
      11. 9:30 - He explains how to create a new simple app.
      12. 10:40 - When you make a new simple app, web2py uses the 'welcome' app as a template and just swaps in the name you chose.
        1. You start with the ability to have users register and log in.
  • 2012.11.27 - YouTube - Crash Course in web2py (hello world!) - 6  mins
    1. Download the zip file from web2py's website.
    2. Extract all the files.
    3. Run the executable web2py.exe.
    4. Start the server
    5. Go to the address in your browser.
    6. Click the 'administrative interface' button.
    7. Create a new app (don't use the wizard).
    8. 3:30 - How to deploy on the cloud platform.
      1. Export the program.
      2. Upload it to PythonAnywhere.
  • 2014.05.05 - YouTube - JetBrains - PyCharm 3.0 - web2py Support
    • He runs through a few very-useful tips on how to use web2py with PyCharm.
  • 2015.05.31 - YouTube - Mark Graves - Maximum Viable Integrity with web2py
    • This wasn't super helpful for me trying to get
    • "Creating an enterprise grade application to meet static business specifications is an easy task for a developer using web2py. Keeping up with ever changing needs of a business, while maintaining core application logic can be more difficult. At Suits + Tables, we have found this process facilitated using a combination of Unit Testing, Behavior Driven Development, and Continuous Integration. Best practices for maintaining Maximum Viable Integrity during iteration and deployment of web2py applications will be discussed in the context of Suits + Tables and other case studies."
    • He spends the first 8 minutes talking about feeling bad about having made mistakes, and how it's OK to do that. He plays a video of Steve Jobs saying that too many people are not willing to try.
    • 15:00 - Don't try send please all your uesrs.
    • 18:30 - An example of bad behavioral testing.
      • Don't hard-code your URL.
    • 20:50 - It's important to be flexibility.
    • 21:35 - You have to teach people to follow your process.
    • 22:35 - He has an open project in his Bitbucket account to teach people how to do testing.
  • 2016.05.09 - YouTube - Mark Graves - Python Powered Restful API Basics with Web2py (30 mins)
    • Goals of the talk:
      • Define terms
      • Outline the "RESTful API design" thought process
      • Demonstrate the process with web2py

...