Web2py Enterprise Web Framework, 2nd Edition by Massimo DiPierro

By Massimo DiPierro

Show description

Read or Download Web2py Enterprise Web Framework, 2nd Edition PDF

Best information systems books

The 3-D global spatial data model: foundation of the spatial data

Conventional equipment for dealing with spatial info are laden by means of the belief of separate origins for horizontal and vertical measurements. sleek size structures function in a three-D spatial surroundings. The 3D international Spatial info version: origin of the Spatial info Infrastructure deals a brand new version for dealing with electronic spatial information, the worldwide spatial facts version or GSDM.

iPhone: The Missing Manual: Covers the iPhone 3G

The hot iPhone 3G is the following, and manhattan instances tech columnist David Pogue is on best of it with a completely up-to-date version of iPhone: The lacking guide. With its swifter downloads, touch-screen iPod, and best-ever cellular internet browser, the hot cheap iPhone is choked with percentages. yet with no an goal consultant like this one, you are going to by no means unencumber all it may possibly do for you.

Applied GIS and Spatial Analysis

The recognition of geography as a tutorial self-discipline is in part defined by means of its relevance to the true international. Spatial research makes use of geographic info and statistical tools for the research of particular purposes, starting from company situation research to the size of internal urban deprivation, and whilst utilized in conjunction with GIS, visible representations and "what if" eventualities should be created.

Extra info for Web2py Enterprise Web Framework, 2nd Edition

Example text

Also, T needs to be easy to locate in the code and has to have a short name. ). ELEMENTS OF STYLE 19 In all other cases we believe we have followed, as much as possible, the Python Style Guide (PEP8). For example all instance objects are lower-case (request, response, session, cache), and all internal classes are capitalized. In all the examples of this book, web2py keywords are shown in bold, while strings and comments are shown in italic. 1 About Python Python is a general-purpose and very high-level programming language.

You can download web2py appliances from the corresponding web site [33]. You can find additional topics discussed on AlterEgo [34], the interactive web2py FAQ. 11 Elements of Style Ref. [35] contains good style practices when programming with Python. You will find that web2py does not always follow these rules. This is not because of omissions or negligence; it is our belief that the users of web2py should follow these rules and we encourage it. We chose not to follow some of those rules when defining web2py helper objects in order to minimize the probability of name conflict with objects defined by the user.

Notice that init takes 3 arguments and add takes one, and yet we call them with 2 and 0 arguments respectively. The first argument represents, 34 THE PYTHON LANGUAGE by convention, the local name used inside the method to refer to the current object. Here we use self to refer to the current object, but we could have used any other name. self plays the same role as *this in C++ or this in Java, but self is not a reserved keyword. This syntax is necessary to avoid ambiguity when declaring nested classes, such as a class that is local to a method inside another class.

Download PDF sample

Web2py Enterprise Web Framework, 2nd Edition by Massimo DiPierro
Rated 4.67 of 5 – based on 5 votes