Day 4: Introduc%On to Django

Total Page:16

File Type:pdf, Size:1020Kb

Day 4: Introduc%On to Django Day 4: Introduc/on to Django GSL South Africa 2015 Today’s Agenda • The Big Picture • Django – A Web Applicaon Framework • Your First Django App • Models in Django • Today’s Assignment 2 GSL South Africa 2015 The Big Picture 3 GSL South Africa 2015 Once upon a /me… OR 4 GSL South Africa 2015 Nowadays… OR OR GSL South Africa 2015 Implemen/ng the Backend We need to implement the backend: • A web applicaon framework, like – MonoRail, CppCMS, Apache Click, Grails, Spring, Stripes, mul/ple, Catalyst, CakePHP, Drupal, Symfony, CherryPy, Django, web2py, Ruby on Rails, Compujure • A host, like – Heroku, Google App Engine • A RESTful API to communicate with frontend 6 GSL South Africa 2015 Web Applicaon Framework • A framework (code libraries) to help you make web applicaons or websites • Supports you with – Handling HTTP requests – Templates for common HTML layouts – URL mapping – Database communicaon – Session management – Site security 7 GSL South Africa 2015 Django Web Applicaon Framework 8 Why Django? GSL South Africa 2015 Why Django? • Fast and easy development of web applicaons – Modular and re-useable. Don’t Repeat Yourself (DRY) principle – Built-in database management • Ac/ve development and wide community support • Supported by Google App Engine & Heroku 10 Django vs. PHP GSL South Africa 2015 PHP SELECT Statement GSL South Africa 2015 Django SELECT Statement Django Architecture GSL South Africa 2015 Model-View-Controller (MVC) • A paern for organizing code oeen seen in web app frameworks • Main idea: 1. Separate storage and manipulaon of data (model) from presentaon of data (view) 2. Controller communicates between model and view • Advantages – Develop and test model and view independently – Easier for others to understand (modularity) 16 GSL South Africa 2015 Model-View-Controller (MVC) (news site example) Controller Asks the model for Send request for the story and its a story user comments View Model Serves requested • Layout of stories story • News stories and on mobile phone or images in a database desktop browser • User comments 17 GSL South Africa 2015 Model-Template-View In Django: Model-Template-View (similar to MVC paern) • Model – describes database informaon • Template – decides how to present informaon • View – manages what informaon to output based on request 18 GSL South Africa 2015 Model-Template-View View Handles Asks the model for Send request for Informaon Exchange data data Template Model Provide Database UI Layout Informaon Communicate with Database 19 GSL South Africa 2015 Your First Django App 20 GSL South Africa 2015 Programming Interface Terminal / Command Prompt Python IDLE or Favorite editor 21 GSL South Africa 2015 New Project Project Structure: Whole project in one folder (mysite) • MySite Python package • MySite Python Package • Applicaons (polls) • __init__.py • (Database) • sengs.py • manage.py • urls.py • Use for interac/on with your • wsgi.py project 22 GSL South Africa 2015 First Django Setup Aeer a couple commands in terminal... 23 Models 24 GSL South Africa 2015 Models View Handles Asks the model for Send request for Informaon Exchange data data Template Model Provide Database UI Layout Informaon Communicate with Database 25 GSL South Africa 2015 What is a Model • Python class describing data in your applicaon – Subclass of models.Model • Assigns aributes to each data field • Avoid direct work with the database – No need to handle database connec/ons, /meouts, etc. – Let Django do it for you! – Provides Schema for database 26 GSL South Africa 2015 Django Model Syntax Import statements SubClass of models.Model Class Define fields __unicode__ corresponds to python __str__ Can define more funcons 27 GSL South Africa 2015 Django Fields We can define fields directly in our model class – No need to define manually in database Example: create two fields in our Poll class Define Type of Field Django will • E.g. models.CharField automacally create Define arguments of field fields in database • E.g. max_length=200 28 GSL South Africa 2015 Important Django Field Types • BooleanField • FileField – Checkbox • File upload, stores path in database • CharField(max_length) • FloatField – Single-line textbox • Floang point numbers • DateField • IntegerField – Javascript calendar Integer textbox • DateTimeField • Posi/veIntegerField • – Javascript calendar, /me picker Integer textbos for posi/ve integers • DecimalField(max_digits, decimal_places) • TextField – Decimal numbers • Mul/-line textbox • EmailField – Charfield that validates email address 29 GSL South Africa 2015 Relaonships • Clearly, the power of relaonal databases lies in relang tables to each other. Django offers ways to define the three most common types of database relaonships: many-to-one, many-to-many and one-to-one. GSL South Africa 2015 Relaonship Examples: Many-to-One • A Car has a Manufacturer, but a Manufacturer can have many Cars GSL South Africa 2015 Relaonship Examples: Many-to-Many • A Pizza can have mul/ple Toppings. Each type of Topping can be on mul/ple Pizzas GSL South Africa 2015 Relaonship Examples: Many-to-Many • Some/mes you need to associate data with the relaonship between a Many-to-Many. GSL South Africa 2015 Relaonship Examples: One-to-One GSL South Africa 2015 Rules of Django Models • When you update a model, ALWAYS RUN python manage.py migrate • All classes extend models.Model • Models only live in Apps • Django doesn't save objects un/l you call save() method >>>a1 = Album(...) # a1 is not saved to the database yet! >>>a1.save() # Now it is. 35 GSL South Africa 2015 Today’s Assignment Get started with Django! – If you haven’t already, install Django 1.8 – Create your first Django app: Wri/ng your first Django App – Part 1 Wri/ng your first Django App – Part 2 – Come up with preliminary data model for you project Helpful Documentaon: – Models sec/on of Django docs 36 .
Recommended publications
  • Joomla Vs Drupal - Website Content Management Systems]
    [JOOMLA VS DRUPAL - WEBSITE CONTENT MANAGEMENT SYSTEMS] Joomla or Drupal? CMS’s are generally used to manage and control a large, dynamic collection of Web material (HTML documents and their associated images). And yes, they can take the web maintenance person out of the picture, as clients can update their own content, as and when required There are numerous Web CMS (Content Management Systems), and each one can ether fall into Open Source or proprietary. The ones that tend to stand out from the crowd, or should I say those that are more commonly used by small website design agencies are Word Press, Joomla and Drupal. So which one do you choose as a customer, or do you leave this to your web developer? Generally speaking, Joomla has a cleaner and smoother user interface; on the other hand Drupal is more flexible. Drupal and Joomla developers could argue all day,, so I’m going to go in as a bipartisan developer. • For starters both are easy to install and deploy, and many hosting companies have a one click install for these. • Both have plenty of modules and extensions you can use. • Joomla has a lighter learning curve than Drupal. • Joomla support SSL logins and SSL pages. Drupal not known to support it. • Server resources utilization is more compared to drupal © 2009 www.visualwebz.com Seattle Web Development Company [JOOMLA VS DRUPAL - WEBSITE CONTENT MANAGEMENT SYSTEMS] Summary of Joomla & Drupal Features • Limited technical knowledge need to get started. • Short learning curve • Cannot integrate other scripts etc. to your site • Generally you cannot create high-end sites, without additional investment of time.
    [Show full text]
  • Access Full Issue
    ISSN 2520-2073 (print) ISSN 2521-442X (online) TRAINING, LANGUAGE AND CULTURE ‘Tell me and I forget. Teach me and I remember. Involve me and I learn’ ‒ Benjamin Franklin Vol. 4 Issue 4 2020 Issue DOI: 10.22363/2521-442X-2020-4-4 The quarterly journal published by Peoples’ Friendship University of Russia (RUDN University) ISSN 2520-2073 (print) AIMS AND SCOPE TRAINING, LANGUAGE AND CULTURE ISSN 2521-442X (online) Training, Language and Culture (TLC) is a peer-reviewed journal that aims to promote and disseminate research spanning the spectrum of language and linguistics, education and culture studies with a special focus on professional communication and professional discourse. Editorial Board of A quarterly journal published by RUDN University Training, Language and Culture invites research-based articles, reviews and editorials covering issues of relevance for the scientific and professional communities. EDITORIAL BOARD Dr Elena N. Malyuga Peoples’ Friendship University of Russia (RUDN University), Moscow, Russian Federation FOCUS AREAS Barry Tomalin Glasgow Caledonian University London, London, UK Training, Language and Culture covers the following areas of scholarly interest: theoretical and practical perspectives in language and linguistics; Dr Michael McCarthy University of Nottingham, Nottingham, UK culture studies; interpersonal and intercultural professional communication; language and culture teaching and training, including techniques and Dr Robert O’Dowd University of León, León, Spain technology, testing and assessment. Dr Elsa Huertas Barros University of Westminster, London, UK Dr Olga V. Aleksandrova Lomonosov Moscow State University, Moscow, Russian Federation LICENSING Dr Lilia K. Raitskaya Moscow State Institute of International Relations (MGIMO University), Moscow, Russian Federation All articles and book reviews published in Training, Language and Culture are licensed under a Creative Commons Attribution 4.0 International Li- Dr Alex Krouglov University College London, London, UK cense (CC BY 4.0).
    [Show full text]
  • 2009-08-21 La Cholla Final Sealed Special Provisions.Pdf
    Special Provisions 8/21/2009 PCDOT La Cholla Boulevard, Ruthrauff Road to River Road Project No. 4LCITR INDEX TO THE SPECIAL PROVISIONS: LA CHOLLA BOULEVARD, RUTHRAUFF ROAD TO RIVER ROAD GENERAL NOTES .........................................................................................................................1 SECTION 101 - ABBREVIATIONS AND TERMS ....................................................................10 SECTION 102 - BIDDING REQUIREMENTS AND CONDITIONS ........................................10 SECTION 103 - AWARD AND EXECUTION OF CONTRACT ...............................................10 SECTION 104 - SCOPE OF WORK.............................................................................................11 SECTION 105 - CONTROL OF WORK ......................................................................................12 SECTION 106 - CONTROL OF MATERIAL ..............................................................................12 SECTION 107 - LEGAL RELATIONS AND RESPONSIBILITY TO PUBLIC ........................12 SECTION 108 - PROSECUTION AND PROGRESS ..................................................................17 SECTION 109 - MEASUREMENT AND PAYMENT ................................................................20 SECTION 202 - REMOVAL OF STRUCTURES AND OBSTRUCTIONS ...............................24 ITEM 2020005 – REMOVAL OF EXISTING PILES ..................................................................25 SECTION 203 - EARTHWORK ...................................................................................................26
    [Show full text]
  • Pragmatic Guide to Javascript
    www.allitebooks.com What Readers Are Saying About Pragmatic Guide to J a v a S c r i p t I wish I had o w n e d this book when I first started out doing JavaScript! Prag- matic Guide to J a v a S c r i p t will take you a big step ahead in programming real-world JavaScript by showing you what is going on behind the scenes in popular JavaScript libraries and giving you no-nonsense advice and back- ground information on how to do the right thing. W i t h the condensed years of e x p e r i e n c e of one of the best JavaScript developers around, it’s a must- read with great reference to e v e r y d a y JavaScript tasks. Thomas Fuchs Creator of the script.aculo.us framework An impressive collection of v e r y practical tips and tricks for getting the most out of JavaScript in today’s browsers, with topics ranging from fundamen- tals such as form v a l i d a t i o n and JSON handling to application e x a m p l e s such as mashups and geolocation. I highly recommend this book for anyone wanting to be more productive with JavaScript in their web applications. Dylan Schiemann CEO at SitePen, cofounder of the Dojo T o o l k i t There are a number of JavaScript books on the market today, b u t most of them tend to focus on the new or inexperienced JavaScript programmer.
    [Show full text]
  • Lightweight Django USING REST, WEBSOCKETS & BACKBONE
    Lightweight Django USING REST, WEBSOCKETS & BACKBONE Julia Elman & Mark Lavin Lightweight Django LightweightDjango How can you take advantage of the Django framework to integrate complex “A great resource for client-side interactions and real-time features into your web applications? going beyond traditional Through a series of rapid application development projects, this hands-on book shows experienced Django developers how to include REST APIs, apps and learning how WebSockets, and client-side MVC frameworks such as Backbone.js into Django can power the new or existing projects. backend of single-page Learn how to make the most of Django’s decoupled design by choosing web applications.” the components you need to build the lightweight applications you want. —Aymeric Augustin Once you finish this book, you’ll know how to build single-page applications Django core developer, CTO, oscaro.com that respond to interactions in real time. If you’re familiar with Python and JavaScript, you’re good to go. “Such a good idea—I think this will lower the barrier ■ Learn a lightweight approach for starting a new Django project of entry for developers ■ Break reusable applications into smaller services that even more… the more communicate with one another I read, the more excited ■ Create a static, rapid prototyping site as a scaffold for websites and applications I am!” —Barbara Shaurette ■ Build a REST API with django-rest-framework Python Developer, Cox Media Group ■ Learn how to use Django with the Backbone.js MVC framework ■ Create a single-page web application on top of your REST API Lightweight ■ Integrate real-time features with WebSockets and the Tornado networking library ■ Use the book’s code-driven examples in your own projects Julia Elman, a frontend developer and tech education advocate, started learning Django in 2008 while working at World Online.
    [Show full text]
  • Jquery: Novice to Ninja
    SECOND Pantone: EDITION CMYK: JQUERYGrey scale PANTONE Orange 021 C PANTONE 2955 C NOVICE TO NCMYK IO, 53, N100, 0 JCMYKA 100, 45, 0, 37 NEW KICKS ANDBlack 50% TRICKSBlack 100% BY EARLE CASTLEDINE & CRAIG SHARKIE SIMPLE, FAST, POWERFUL — JAVASCRIPT THE WAY IT SHOULD BE Summary of Contents Preface . xvii 1. Falling in Love with jQuery . 1 2. Selecting, Decorating, and Enhancing . 19 3. Animating, Scrolling, and Resizing . 53 4. Images and Slideshows . 93 5. Menus, Tabs, Tooltips, and Panels . 139 6. Construction, Ajax, and Interactivity . 187 7. Forms, Controls, and Dialogs . 239 8. Lists, Trees, and Tables . 305 9. Plugins, Themes, and Advanced Topics . 347 A. Reference Material . 409 B. JavaScript Tidbits . 419 C. Plugin Helpers . 425 Index . 431 JQUERY: NOVICE TO NINJA BY EARLE CASTLEDINE & CRAIG SHARKIE wnload from Wow! eBook <www.wowebook.com> o D iv jQuery: Novice to Ninja by Earle Castledine and Craig Sharkie Copyright © 2012 SitePoint Pty. Ltd. Product Manager: Simon Mackie Assistant Technical Editor: Diana MacDonald Technical Editor: Tom Museth Indexer: Michele Combes Expert Reviewer: Jörn Zaefferer Cover Designer: Alex Walker Editor: Kelly Steele Printing History: Latest Update: February 2012 First Edition: February 2010 Second Edition: February 2012 Notice of Rights All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without the prior written permission of the publisher, except in the case of brief quotations included in critical articles or reviews. Notice of Liability The authors and publisher have made every effort to ensure the accuracy of the information herein.
    [Show full text]
  • The Definitive Guide to Grails
    apress.com Graeme Rocher, Jeff Scott Brown The Definitive Guide to Grails This will be the first and only definitive book on the agile open source lightweight Grails (“Groovy on Rails” analogous to Ruby on Rails) Framework 1.0 release Written by the open source Grails project founder and lead, Graeme Rocher Emerging growth area with support from key open source lightweight projects like Spring, Hibernate, Wicket and more The rise of Ruby on Rails has signified a huge shift in how we build web applications today; it is a fantastic framework with a growing community. There is, however, space for another such framework that integrates seamlessly with Java. Thousands of companies have invested in Java, and these same companies are losing out on the benefits of a Rails–like framework. Enter Grails. Grails is not just a Rails clone. It aims to provide a Rails–like environment that is more familiar to Java developers and employs idioms that Java developers are comfortable 2nd ed., 648 p. using, making the adjustment in mentality to a dynamic framework less of a jump. The concepts within Grails, like interceptors, tag libs, and Groovy Server Pages (GSP), make those in Printed book the Java community feel right at home. Grails' foundation is on solid open source technologies Softcover such as Spring, Hibernate, and SiteMesh, which gives it even more potential in the Java space: 39,99 € | £36.99 | $46.99 Spring provides powerful inversion of control and MVC, Hibernate brings a stable, mature object [1]42,79 € (D) | 43,99 € (A) | CHF relational mapping technology with the ability to integrate with legacy systems, and SiteMesh 53,55 handles flexible layout control and page decoration.
    [Show full text]
  • Professional Asp.Net Mvc 3
    ffirs.indd ii 7/4/2011 4:27:38 PM Download from Wow! eBook <www.wowebook.com> ffirs.indd i i INTRODUCTION . INTRODUCTION FOREWORD. 3 MVC ASP.NET PROFESSIONAL INDEX . INDEX CHAPTER 14 CHAPTER 13 CHAPTER 12 CHAPTER 11 CHAPTER 10 CHAPTER 9 CHAPTER 8 CHAPTER 7 CHAPTER 6 CHAPTER 5 CHAPTER 4 CHAPTER 3 CHAPTER 2 CHAPTER 1 Advanced Topics . 339 . Extending315 MVC . Unit Testing 291 . Dependency Injection 271 . .239NuGet . .211Routing AJAX. 179 ApplicationSecuring Your . 135 Data Annotations and Validation . 117 . 93 Forms and HTML Helpers Models. 69 Views . 39 . 23 Controllers Getting. .1 Started 389 xxiii xxv 7/4/2011 4:27:37 PM 4:27:37 PM ffirs.indd ii 7/4/2011 4:27:38 PM PROFESSIONAL ASP.NET MVC 3 Jon Galloway Phil Haack Brad Wilson K. Scott Allen ffirs.indd iii 7/4/2011 4:27:38 PM Professional ASP.NET MVC 3 Published by John Wiley & Sons, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2011 by John Wiley & Sons, Inc. Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-1-118-07658-3 ISBN: 978-1-118-15535-6 (ebk) ISBN: 978-1-118-15537-0 (ebk) ISBN: 978-1-118-15536-3 (ebk) Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600.
    [Show full text]
  • Web Development and Perl 6 Talk
    Click to add Title 1 “Even though I am in the thralls of Perl 6, I still do all my web development in Perl 5 because the ecology of modules is so mature.” http://blogs.perl.org/users/ken_youens-clark/2016/10/web-development-with-perl-5.html Web development and Perl 6 Bailador BreakDancer Crust Web Web::App::Ballet Web::App::MVC Web::RF Bailador Nov 2016 BreakDancer Mar 2014 Crust Jan 2016 Web May 2016 Web::App::Ballet Jun 2015 Web::App::MVC Mar 2013 Web::RF Nov 2015 “Even though I am in the thralls of Perl 6, I still do all my web development in Perl 5 because the ecology of modules is so mature.” http://blogs.perl.org/users/ken_youens-clark/2016/10/web-development-with-perl-5.html Crust Web Bailador to the rescue Bailador config my %settings; multi sub setting(Str $name) { %settings{$name} } multi sub setting(Pair $pair) { %settings{$pair.key} = $pair.value } setting 'database' => $*TMPDIR.child('dancr.db'); # webscale authentication method setting 'username' => 'admin'; setting 'password' => 'password'; setting 'layout' => 'main'; Bailador DB sub connect_db() { my $dbh = DBIish.connect( 'SQLite', :database(setting('database').Str) ); return $dbh; } sub init_db() { my $db = connect_db; my $schema = slurp 'schema.sql'; $db.do($schema); } Bailador handler get '/' => { my $db = connect_db(); my $sth = $db.prepare( 'select id, title, text from entries order by id desc' ); $sth.execute; layout template 'show_entries.tt', { msg => get_flash(), add_entry_url => uri_for('/add'), entries => $sth.allrows(:array-of-hash) .map({$_<id> => $_}).hash,
    [Show full text]
  • Building Online Content and Community with Drupal
    Collaborative Librarianship Volume 1 Issue 4 Article 10 2009 Building Online Content and Community with Drupal Gabrielle Wiersma University of Colorado at Boulder, [email protected] Follow this and additional works at: https://digitalcommons.du.edu/collaborativelibrarianship Part of the Collection Development and Management Commons Recommended Citation Wiersma, Gabrielle (2009) "Building Online Content and Community with Drupal," Collaborative Librarianship: Vol. 1 : Iss. 4 , Article 10. DOI: https://doi.org/10.29087/2009.1.4.10 Available at: https://digitalcommons.du.edu/collaborativelibrarianship/vol1/iss4/10 This Review is brought to you for free and open access by Digital Commons @ DU. It has been accepted for inclusion in Collaborative Librarianship by an authorized editor of Digital Commons @ DU. For more information, please contact [email protected],[email protected]. Wiersma: Building Online Content and Community with Drupal Building Online Content and Community with Drupal Gabrielle Wiersma ([email protected]) Engineering Research and Instruction Librarian, University of Colorado at Boulder Libraries use content management systems Additionally, all users are allowed to post in order to create, manage, edit, and publish content without using code, which enables content on the Web more efficiently. Drupal less tech savvy users to contribute content (drupal.org), one such Web-based content just as easily as their more proficient coun- management system, is unique because it terparts. For example, a library could use employs a bottom-up strategy for Web de- Drupal to allow library staff to view and sign that separates the content of the site edit the library Web site, blog, and staff from the formatting which means that “you intranet.
    [Show full text]
  • Algorithmic Reflections on Choreography
    ISSN: 1795-6889 www.humantechnology.jyu.fi Volume 12(2), November 2016, 252–288 ALGORITHMIC REFLECTIONS ON CHOREOGRAPHY Pablo Ventura Daniel Bisig Ventura Dance Company Zurich University of the Arts Switzerland Switzerland Abstract: In 1996, Pablo Ventura turned his attention to the choreography software Life Forms to find out whether the then-revolutionary new tool could lead to new possibilities of expression in contemporary dance. During the next 2 decades, he devised choreographic techniques and custom software to create dance works that highlight the operational logic of computers, accompanied by computer-generated dance and media elements. This article provides a firsthand account of how Ventura’s engagement with algorithmic concepts guided and transformed his choreographic practice. The text describes the methods that were developed to create computer-aided dance choreographies. Furthermore, the text illustrates how choreography techniques can be applied to correlate formal and aesthetic aspects of movement, music, and video. Finally, the text emphasizes how Ventura’s interest in the wider conceptual context has led him to explore with choreographic means fundamental issues concerning the characteristics of humans and machines and their increasingly profound interdependencies. Keywords: computer-aided choreography, breaking of aesthetic and bodily habits, human– machine relationships, computer-generated and interactive media. © 2016 Pablo Ventura & Daniel Bisig, and the Agora Center, University of Jyväskylä DOI: http://dx.doi.org/10.17011/ht/urn.201611174656 This work is licensed under a Creative Commons Attribution-Noncommercial 4.0 International License. 252 Algorithmic Reflections on Choreography INTRODUCTION The purpose of this article is to provide a first-hand account of how a thorough artistic engagement with functional and conceptual aspects of software can guide and transform choreographic practice.
    [Show full text]
  • WEB2PY Enterprise Web Framework (2Nd Edition)
    WEB2PY Enterprise Web Framework / 2nd Ed. Massimo Di Pierro Copyright ©2009 by Massimo Di Pierro. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600, or on the web at www.copyright.com. Requests to the Copyright owner for permission should be addressed to: Massimo Di Pierro School of Computing DePaul University 243 S Wabash Ave Chicago, IL 60604 (USA) Email: [email protected] Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in preparing this book, they make no representations or warranties with respect to the accuracy or completeness of the contents of this book and specifically disclaim any implied warranties of merchantability or fitness for a particular purpose. No warranty may be created ore extended by sales representatives or written sales materials. The advice and strategies contained herein may not be suitable for your situation. You should consult with a professional where appropriate. Neither the publisher nor author shall be liable for any loss of profit or any other commercial damages, including but not limited to special, incidental, consequential, or other damages. Library of Congress Cataloging-in-Publication Data: WEB2PY: Enterprise Web Framework Printed in the United States of America.
    [Show full text]