The Definitive Guide to Django

Size: px
Start display at page:

Download "The Definitive Guide to Django"

Transcription

1 The Definitive Guide to Django Web Development Done Right, Second Edition cession No. ok ID for signout Adrian Holovaty and Jacob Kaplan-Moss 882 Apresse

2 Contents at a Glance About the Author xxvii About the Technical Reviewer xxix Acknowledgments xxxi Preface xxxiii Introduction ~ xxxv PART 1 Getting Started CHAPTER 1 Introduction to Django CHAPTER 2 Getting Started CHAPTER 3 Views and URLconfs CHAPTER 4 Templates CHAPTER 5 Models CHAPTER 6 The Django Admin Site CHAPTER 7 Forms PART 2 Advanced Usage CHAPTER 8 Advanced Views and URLconfs CHAPTER 9 Advanced Templates CHAPTER 10 Advanced Models CHAPTER 11 Generic Views CHAPTER 12 Deploying Django PART 3 CHAPTER 13 CHAPTER 14 CHAPTER 15 CHAPTER 16 CHAPTER 17 CHAPTER 18 CHAPTER 19 CHAPTER20 PART 4 APPENDIX A APPENDIX B APPENDIX C APPENDIX D APPENDIX E APPENDIX F APPENDIX G INDEX iv

3 Contents About the Author xxvii About the Technical Reviewer xxix Acknowledgments xxxi Preface xxxiii Introduction xxxv PART 1 Getting Started CHAPTER 1 Introduction to Django What Is a Web Framework? The MVC Design Pattern Django's History How to Read This Book Required Programming Knowledge Required Python Knowledge Required Django Version Getting Help What's Next? CHAPTER 2 Getting Started Installing Python Python Versions Installation Installing Django Installing an Official Release Installing the Trunk Version Testing the Django Installation vii

4 viii CONTENTS Setting Up a Database Using Django with PostgreSQL Using Django with SQLite Using Django with MySQL Using Django with Oracle Using Django Without a Database Starting a Project Running the Development Server What's Next? CHAPTER 5 CHAPTER 3 Views and URLconfs Your First Django-Powered Page: Hello World Your First View Your First URLconf A Quick Note About 404 Errors A Quick Note About the Site Root How Django Processes a Request Your Second View: Dynamic Content URLconfs and Loose Coupling Your Third View: Dynamic URLs Django's Pretty Error Pages What's Next? CHAPTER 4 Templates Template-System Basics Using the Template System Creating Template Objects Rendering a Template Multiple Contexts, Same Template Context Variable Lookup Playing with Context Objects Basic Template Tags and Filters Tags Filters _ Philosophies and Limitations Using Templates in Views CHAPTER 6

5 CONTENTS ix ' '' ' ' ' CHAPTER 5 CHAPTER 6 Template Loading render_to_response() The locals() Trick Subdirectories in get_ template() The include Template Tag Template Inheritance What's Next? Models The "Dumb" Way to Do Database Queries in Views The MTV (or MVC) Development Pattern Configuring the Database Your First App Defining Models in Python Your First Model Installing the Model Basic Data Access Adding Model String Representations Inserting and Updating Data Selecting Objects Filtering Data Retrieving Single Objects Ordering Data Chaining Lookups Slicing Data Updating Multiple Objects in One Statement Deleting Objects What's Next? The Django Admin Site The django.contrib Packages Activating the Admin Interface Using the Admin Site Adding Your Models to the Admin Site How the Admin Site Works Making Fields Optional Making Date and Numeric Fields Optional Customizing Field Labels

6 x CONTENTS Custom ModeiAdmin Classes Customizing Change Lists Customizing Edit Forms Users, Groups, and Permissions When and Why to Use the Admin Interface-And When NotTo What's Next? CHAPTER 7 Forms Getting Data from the Request Object Information About the URL Other Information About the Request CHAPTER 9 Information About Submitted Data A Simple Form-Handling Example Improving Our Simple Form-Handling Example Simple Validation Making a Contact Form Your First Form Class Tying Form Objects into Views Changing How Fields Are Rendered Setting a Maximum Length Setting Initial Values Adding Custom Validation Rules Specifying Labels Customizing Form Design What's Next? PART 2 Advanced Usage CHAPTER 8 Advanced Views and URLconfs URLconfTricks Streamlining Function Imports Using Multiple View Prefixes Special-Casing URLs in Debug Mode Using Named Groups Understanding the Matching/Grouping Algorithm Passing Extra Options to View Functions Using Default View Arguments

7 CONTENTS xi '' '''.' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' 116 n NotT o '.' ' ' ' ' '.'.. ' ' '... ' ' ' ' ' ' '''... ' ' '' ' 155 CHAPTER 9 Special-Casing Views Capturing Text in URLs Determining What the URLconf Searches Against Higher-Level Abstractions of View Functions Wrapping View Functions Including Other URLconts How Captured Parameters Work with includeo How Extra URLcont Options Work with includeo What's Next? Advanced Templat~s Template Language Review RequestContext and Context Processors django.core.context_processors.auth django.core.context_processors.debug django.core.context_processors.i18n django.core.context_processors.request Guidelines tor Writing Your Own Context Processors Automatic HTML Escaping How to Turn It Ott Notes Automatic Escaping of String Literals in Filter Arguments Inside Template Loading Extending the Template System Creating a Template Library Writing Custom Template Filters Writing Custom Template Tags Writing the Compilation Function Writing the Template Node Registering the Tag Setting a Variable in the Context Parsing Until Another Template Tag Parsing Until Another Template Tag and Saving Contents Shortcut for Simple Tags Inclusion Tags Writing Custom Template Loaders Configuring the Template System in Standalone Mode What's Next?

8 xil CONTENTS CHAPTER 1 o Advanced Models Related Objects Accessing Foreign Key Values Accessing Many-to-Many Values Making Changes to a Database Schema Adding Fields Removing Fields Removing Many-to-Many Fields Removing Models Managers Adding Extra Manager Methods... : Modifying Initial Manager QuerySets Model Methods Executing Raw SOL Queries What's Next? CHAPTER 11 Generic Views Using Generic Views Generic Views of Objects Extending Generic Views Making "Friendly" Template Contexts Adding Extra Context Viewing Subsets of Objects Complex Filtering with Wrapper Functions Performing Extra Work What's Next? CHAPTER 12 Deploying Django Preparing Your Codebase for Production Turning Off Debug Mode Turning Off Template Debug Mode Implementing a 404 Template Implementing a 500 Template Setting Up Error Alerts Setting Up Broken Link Alerts Using Different Settings for Production DJANGO_SETIINGS_MODULE PART 3 CHAPTER 13 Usi1 Usi1 Sea Per Wh Ge ThE Pro Ger

9 CONTENTS xiii PART 3 Using Django with Apache and mod_python Basic Configuration Running Multiple Django Installations on the Same Apache Instance Running a Development Server with mod_python Serving Django and Media Files from the Same Apache Instance Error Handling Handling a Segmentation Fault An Alternative: mod_wsgi Using Django with FastCGI FastCGI Overview.~ Running Your FastCGI Server Using Django with Apache and FastCGI FastCGI and lighttpd Running Django on a Shared-Hosting Provider with Apache Scaling Running on a Single Server Separating Out the Database Server Running a Separate Media Server Implementing Load Balancing and Redundancy Going Big Performance Tuning There's No Such Thing As Too Much RAM Turn Off Keep-Alive Use Memcached Use Memcached Often Join the Conversation What's Next? Other Django Features CHAPTER 13 Generating Non-HTML Content The Basics: Views and MIME Types Producing CSV Generating PDFs Installing Reportlab Writing Your View Complex PDFs

10 xiv CONTENTS Other Possibilities The Syndication-Feed Framework Initialization A Simple Feed A More Complex Feed Specifying the Type of Feed Enclosures CHAPTER 15 Language URLs Publishing Atom and RSS Feeds in Tandem The Sitemap Framework Installation ~ Initialization Sitemap Classes Shortcuts Creating a Sitemap Index Pinging Google What's Next? CHAPTER 14 Sessions, Users, and Registration Cookies Getting and Setting Cookies The Mixed Blessing of Cookies Django's Session Framework Enabling Sessions Using Sessions in Views Setting Test Cookies Using Sessions Outside of Views CHAPTER 16 When Sessions Are Saved Browser-Length Sessions vs. Persistent Sessions Other Session Settings Users and Authentication Enabling Authentication Support Using Users Logging In and Out limiting Access to Logged-in Users limiting Access to Users Who Pass a Test Managing Users, Permissions, and Groups Using Authentication Data in Templates

11 CONTENTS xv Permissions, Groups, and Messages Permissions Groups Messages What's Next? CHAPTER 15 Caching Setting Up the Cache Memcached Database Caching Filesystem Caching Local-Memory Caching Dummy Caching (for Development) Using a Custom Cache Back-End CACHE_BACKEND Arguments The Per-Site Cache The Per-View Cache Specifying Per-View Cache in the URLconf Template Fragment Caching The Low-Level Cache API Upstream Caches Using Vary Headers Controlling Cache: Using Other Headers Other Optimizations Order of MIDDLEWARE_CLASSES What's Next? CHAPTER 16 django.contrib The Django Standard Library Sites Scenario 1: Reusing Data on Multiple Sites Scenario 2: Storing Your Site Name/Domain in One Place How to Use the Sites Framework The Sites Framework's Capabilities CurrentSiteManager How Django Uses the Sites Framework Flatpages Using Flatpages Adding, Changing, and Deleting Flatpages Using Flatpage Templates

12 xvi CONTENTS Redirects Using the Redirects Framework Adding, Changing, and Deleting Redirects CSRF Protection A Simple CSRF Example A More Complex CSRF Example Preventing CSRF Humanizing Data apnumber intcomma intword J ordinal Markup Filters What's Next? CHAPTER 18 lnt1 lnte lnte lnte Wh< CHAPTER 19 lnt 1 Hov CHAPTER 17 Middleware What's Middleware? Middleware Installation Middleware Methods lnitializer: _ init_(self) Request Preprocessor: process_request(self, request) View Preprocessor: process_view(self, request, view, args, kwargs) Response Postprocessor: process_response(self, request, response) Exception Postprocessor: process_exception(self, request, exception) Built-in Middleware Authentication Support Middleware "Common" Middleware Compression Middleware Conditional GET Middleware Reverse Proxy Support (X-Forwarded-For Middleware) Session Support Middleware Sitewide Cache Middleware Transaction Middleware What's Next? CHAPTER 20 Ho Hov Usi The Tr Not ge Wh Se The Sat Cro Cro Ses

13 CONTENTS xvii uest) view, , f, Ware) chapter 18 Integrating with Legacy Databases and Applications Integrating with a Legacy Database Using inspectdb Cleaning Up Generated Models Integrating with an Authentication System Specifying Authentication Back-Ends Writing an Authentication Back-End Integrating with Legacy Web Applications What's Next? chapter 19 lnternationalizatim How to Specify Translation Strings In Python Code In Template Code Working with Lazy Translation Objects How to Create Language Files Message Files Compiling Message Files How Django Discovers Language Preference Using Translations in Your Own Projects The set_language Redirect View Translations and JavaScript The javascript_catalog View Using the JavaScript Translation Catalog Creating JavaScript Translation Catalogs Notes for Users Familiar with gettext gettext on Windows What's Next? CHAPTER 20 Security The Theme of Web Security SOL Injection The Solution Cross-Site Scripting (XSS) The Solution Cross-Site Request Forgery Session Forging/Hijacking The Solution

14 xviii CONTENTS Header Injection The Solution Directory Traversal The Solution Exposed Error Messages The Solution A Final Word on Security What's Next? PART 4 Appendixes APPENDIX A Model Definition Reference Fields AutoField BooleanField CharField CommaSeparatedlntegerField DateField DateTimeField Decimal Field Field FileField FilePathField FloatField lmagefield lntegerfield IPAddressField NuiiBooleanField PositivelntegerField PositiveSmalllntegerField Slug Field SmalllntegerField TextField Time Field URLField XMLField APPENDIX B

Advanced Joomla! Dan Rahmel. Apress*

Advanced Joomla! Dan Rahmel. Apress* Advanced Joomla! Dan Rahmel Apress* Contents About the Author About the Technical Reviewer Acknowledgments Introduction xvii...xix xxi xxiii Chapter 1: Streamlining the Authoring Process 1 Setting the

More information

Foundations of Python

Foundations of Python Foundations of Python Network Programming The comprehensive guide to building network applications with Python Second Edition Brandon Rhodes John Goerzen Apress Contents Contents at a Glance About the

More information

Real Life Web Development. Joseph Paul Cohen

Real Life Web Development. Joseph Paul Cohen Real Life Web Development Joseph Paul Cohen joecohen@cs.umb.edu Index 201 - The code 404 - How to run it? 500 - Your code is broken? 200 - Someone broke into your server? 400 - How are people using your

More information

A Web-Based Introduction

A Web-Based Introduction A Web-Based Introduction to Programming Essential Algorithms, Syntax, and Control Structures Using PHP, HTML, and MySQL Third Edition Mike O'Kane Carolina Academic Press Durham, North Carolina Contents

More information

Beginning ASP.NET. 4.5 in C# Matthew MacDonald

Beginning ASP.NET. 4.5 in C# Matthew MacDonald Beginning ASP.NET 4.5 in C# Matthew MacDonald Contents About the Author About the Technical Reviewers Acknowledgments Introduction xxvii xxix xxxi xxxiii UPart 1: Introducing.NET. 1 & Chapter 1: The Big

More information

Pro ASP.NET MVC 2 Framework

Pro ASP.NET MVC 2 Framework Pro ASP.NET MVC 2 Framework Second Edition Steven Sanderson Apress TIB/UB Hannover 89 133 297 713 Contents at a Glance Contents About the Author About the Technical Reviewers Acknowledgments Introduction

More information

COPYRIGHTED MATERIAL. Acknowledgments...v Introduction... xxi

COPYRIGHTED MATERIAL. Acknowledgments...v Introduction... xxi Acknowledgments...v Introduction... xxi Part I: Getting Started with Joomla!.....................1 Chapter 1: Introducing the Joomla! Content Management System...3 Chapter 2: Obtaining and Installing Joomla!...15

More information

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery. HTML5/CSS3/JavaScript Programming Course Summary Description This class is designed for students that have experience with basic HTML concepts that wish to learn about HTML Version 5, Cascading Style Sheets

More information

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Django

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Django About the Tutorial Django is a web development framework that assists in building and maintaining quality web applications. Django helps eliminate repetitive tasks making the development process an easy

More information

The 4D Web Companion. David Adams

The 4D Web Companion. David Adams David Adams TABLE OF CONTENTS Welcome 1 About this Book 3 Overview... 3 Terminology... 5 Special Symbols Used in this Book... 5 Versions Covered... 5 About the Demonstrations... 6 About the 4D Code...

More information

object/relational persistence What is persistence? 5

object/relational persistence What is persistence? 5 contents foreword to the revised edition xix foreword to the first edition xxi preface to the revised edition xxiii preface to the first edition xxv acknowledgments xxviii about this book xxix about the

More information

Beginning Google Maps Mashups with Mapplets, KML, and GeoRSS

Beginning Google Maps Mashups with Mapplets, KML, and GeoRSS Beginning Google Maps Mashups with Mapplets, KML, and GeoRSS From Novice to Professional ш я т Sterling Udell Apress" Contents About the Author About the Technical Reviewer Acknowledgments Introduction

More information

Web Applications. Software Engineering 2017 Alessio Gambi - Saarland University

Web Applications. Software Engineering 2017 Alessio Gambi - Saarland University Web Applications Software Engineering 2017 Alessio Gambi - Saarland University Based on the work of Cesare Pautasso, Christoph Dorn, Andrea Arcuri, and others ReCap Software Architecture A software system

More information

Detects Potential Problems. Customizable Data Columns. Support for International Characters

Detects Potential Problems. Customizable Data Columns. Support for International Characters Home Buy Download Support Company Blog Features Home Features HttpWatch Home Overview Features Compare Editions New in Version 9.x Awards and Reviews Download Pricing Our Customers Who is using it? What

More information

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC.

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC. TRAINING & REFERENCE murach's Java.. servlets and 2ND EDITION Joel Murach Andrea Steelman IlB MIKE MURACH & ASSOCIATES, INC. P 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 murachbooks@murach.com www.murach.com

More information

Contents in Detail. Foreword by Xavier Noria

Contents in Detail. Foreword by Xavier Noria Contents in Detail Foreword by Xavier Noria Acknowledgments xv xvii Introduction xix Who This Book Is For................................................ xx Overview...xx Installation.... xxi Ruby, Rails,

More information

Developing Web Applications

Developing Web Applications Developing Web Applications Ralph Moseley Middlesex University IIICENTCNNIAL 1807 ewiley 2007 13ICCNTENNIAL John Wiley & Sons, Ltd Preface Introduction Features Additional Materials Trademarks Acknowledgments

More information

CROSS-REFERENCE TABLE ASME A Including A17.1a-1997 Through A17.1d 2000 vs. ASME A

CROSS-REFERENCE TABLE ASME A Including A17.1a-1997 Through A17.1d 2000 vs. ASME A CROSS-REFERENCE TABLE ASME Including A17.1a-1997 Through A17.1d 2000 vs. ASME 1 1.1 1.1 1.1.1 1.2 1.1.2 1.3 1.1.3 1.4 1.1.4 2 1.2 3 1.3 4 Part 9 100 2.1 100.1 2.1.1 100.1a 2.1.1.1 100.1b 2.1.1.2 100.1c

More information

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING IN PRACTICE Daniele Bochicchio Stefano Mostarda Marco De Sanctis Includes 106 practical techniques MANNING contents preface xv acknowledgments xvii about this book xix about the authors xxiii about the

More information

Restlet in Action. Developing RESTful web APIs injava JEROME LOUVEL MANNING THIERRY TEMPLIER THIERRY BOILEAU. Shelter Island

Restlet in Action. Developing RESTful web APIs injava JEROME LOUVEL MANNING THIERRY TEMPLIER THIERRY BOILEAU. Shelter Island Restlet in Action Developing RESTful web APIs injava JEROME LOUVEL THIERRY TEMPLIER THIERRY BOILEAU II MANNING Shelter Island contents foreword xvii preface xix acknowledgments about this book xxi xxiii

More information

1.2 Wicket in a nutshell 10 Just Java 11 Just HTML 12 The right abstractions 13

1.2 Wicket in a nutshell 10 Just Java 11 Just HTML 12 The right abstractions 13 contents foreword xvii preface xix acknowledgments xxi about this book xxiii PART 1 GETTING STARTED WITH WICKET...1 1 What 2 The is Wicket? 3 1.1 How we got here 4 A developer s tale 4 What problems does

More information

SAURASHTRA UNIVERSITY

SAURASHTRA UNIVERSITY SAURASHTRA UNIVERSITY RAJKOT INDIA Accredited Grade A by NAAC (CGPA 3.05) CURRICULAM FOR M. Sc. (IT & CA) (2 Years Full Time: 4 Semester Programme) MASTER OF SCIENCE (Information Technology & Computer

More information

The Definitive Guide to. NetBeans Platform 7. Heiko Bock. Apress*

The Definitive Guide to. NetBeans Platform 7. Heiko Bock. Apress* The Definitive Guide to NetBeans Platform 7 Heiko Bock Apress* Contents About the Author About the Translator About the Technical Reviewers Acknowledgments Introduction xiv xiv xv xvi xvii * Part 1: Basics

More information

Practical Node.js. Building Real-World Scalable Web Apps. Apress* Azat Mardan

Practical Node.js. Building Real-World Scalable Web Apps. Apress* Azat Mardan Practical Node.js Building Real-World Scalable Web Apps Azat Mardan Apress* Contents About the Author About the Technical Reviewer Acknowledgments Introduction xv xvii xix xxi Chapter 1: Setting up Node.js

More information

"Charting the Course... Comprehensive Angular. Course Summary

Charting the Course... Comprehensive Angular. Course Summary Description Course Summary Angular is a powerful client-side JavaScript framework from Google that supports simple, maintainable, responsive, and modular applications. It uses modern web platform capabilities

More information

CONTENTS. Cisco Internet Streamer CDS 3.0 Software Configuration Guide iii OL CHAPTER 1 Product Overview 1-1

CONTENTS. Cisco Internet Streamer CDS 3.0 Software Configuration Guide iii OL CHAPTER 1 Product Overview 1-1 CONTENTS Preface xvii Document Revision History xvii Audience xvii Objective xviii Document Organization xviii Document Conventions xix Related Publications xx Obtaining Documentation and Submitting a

More information

JAMES BENNETT DJANGOCON EUROPE 3RD JUNE 2015 THE NET IS DARK AND FULL OF TERRORS

JAMES BENNETT DJANGOCON EUROPE 3RD JUNE 2015 THE NET IS DARK AND FULL OF TERRORS JAMES BENNETT DJANGOCON EUROPE 3RD JUNE 2015 THE NET IS DARK AND FULL OF TERRORS WHO I AM Working with Django 9 years, 5 at Lawrence Journal- World Commit bit since 2007 Involved in Django s release and

More information

Pro JavaScript. Development. Coding, Capabilities, and Tooling. Den Odell. Apress"

Pro JavaScript. Development. Coding, Capabilities, and Tooling. Den Odell. Apress Pro JavaScript Development Coding, Capabilities, and Tooling Den Odell Apress" Contents J About the Author About the Technical Reviewers Acknowledgments Introduction xv xvii xix xxi Chapter 1: Object-Oriented

More information

Course Title: Python + Django for Web Application

Course Title: Python + Django for Web Application Course Title: Python + Django for Web Application Duration: 6 days Introduction This course offer Python + Django framework ( MTV ) training with hands on session using Eclipse+Pydev Environment. Python

More information

CHAPTER 1: A REFRESHER ON WEB BROWSERS 3

CHAPTER 1: A REFRESHER ON WEB BROWSERS 3 INTRODUCTION xxiii PART I: FRONT END CHAPTER 1: A REFRESHER ON WEB BROWSERS 3 A Brief History of Web Browsers 3 Netscape Loses Its Dominance 4 The Growth of Firefox 4 The Present 5 Inside HTTP 5 The HyperText

More information

Beginning PHP. and MySQL. Fourth Edition. From Novice to Professional. W. Jason Gilmore. mmm

Beginning PHP. and MySQL. Fourth Edition. From Novice to Professional. W. Jason Gilmore. mmm Beginning PHP and MySQL From Novice to Professional Fourth Edition mmm W. Jason Gilmore Contents * About the Author xxix * About the Technical Reviewer xxx a Acknowledgments Introduction xxxi xxxii Chapter

More information

"Charting the Course... WebSphere Portal 8 Development using Rational Application Developer 8.5. Course Summary

Charting the Course... WebSphere Portal 8 Development using Rational Application Developer 8.5. Course Summary Course Summary Description This course will introduce attendees to Portlet development using Rational Application Developer 8.5 as their development platform. It will cover JSR 286 development, iwidget

More information

Moving to a Sustainable Web Development Environment for Library Web Applications

Moving to a Sustainable Web Development Environment for Library Web Applications Portland State University PDXScholar Online Northwest Online Northwest 2010 Feb 5th, 9:00 AM - 11:00 AM Moving to a Sustainable Web Development Environment for Library Web Applications Anjanette Young

More information

Contents. Acknowledgments

Contents. Acknowledgments Contents Acknowledgments Introduction Why Another Book About Web Application Development? How Is This Book Arranged? Intended Audience Do I Need to Start from Scratch? Choosing Development Tools Summary

More information

Application Development

Application Development Pro Single Page Application Development Using Backbone.js and ASP.NET Gil Fink Ido Flatow Apress- Contents J About the Authors About the Technical Reviewers Acknowledgments Introduction xvii xix xxi xxiii

More information

Beginning Drupai 7 TODD TOMLINSON. Apress

Beginning Drupai 7 TODD TOMLINSON. Apress Beginning Drupai 7 TODD TOMLINSON Apress About the Author About the Technical Reviewer Acknowledgements Introduction xv xvi xvii xvii! Chapter 1: Introduction to Drupal... 1 Content Management Systems

More information

Florian Müller Jay Brown Jeff Potts. FOREWORDS BY Richard J. Howarth John Newton MANNING.

Florian Müller Jay Brown Jeff Potts. FOREWORDS BY Richard J. Howarth John Newton MANNING. Florian Müller Jay Brown Jeff Potts FOREWORDS BY Richard J. Howarth John Newton MANNING CMIS and Apache Chemistry in Action CMIS and Apache Chemistry in Action FLORIAN MÜLLER JAY BROWN JEFF POTTS MANNING

More information

Contents. xvii xix xxiil. xxvii

Contents. xvii xix xxiil. xxvii Contents FOREWORD INTRODUCTION INDUSTRY ANALYSIS PREFACE ACKNOWLEDGMENTS BIOGRAPHY XV xvii xix xxiil XXV xxvii PART I CHAPTER 1 INTRODUCTION TO MOBILE SECURITY DEVELOPMENT Understanding Secure Web Development

More information

Django with Python Course Catalog

Django with Python Course Catalog Django with Python Course Catalog Enhance Your Contribution to the Business, Earn Industry-recognized Accreditations, and Develop Skills that Help You Advance in Your Career March 2018 www.iotintercon.com

More information

Nginx HTTP Server. Adopt Nginx for your web applications to make the most of your infrastructure and serve pages faster than ever.

Nginx HTTP Server. Adopt Nginx for your web applications to make the most of your infrastructure and serve pages faster than ever. Nginx HTTP Server Adopt Nginx for your web applications to make the most of your infrastructure and serve pages faster than ever element Nedelcu [ ] ~men~e~eri~c::i~li~dce PUBLISHING BIRMINGHAM - MUMBAI

More information

Fundamentals of Web Development. Web Development. Fundamentals of. Global edition. Global edition. Randy Connolly Ricardo Hoar

Fundamentals of Web Development. Web Development. Fundamentals of. Global edition. Global edition. Randy Connolly Ricardo Hoar Connolly Hoar This is a special edition of an established title widely used by colleges and universities throughout the world. Pearson published this exclusive edition for the benefit of students outside

More information

2 Webpage Markup with HTML HTML5 Page Structure Creating a Webpage HTML5 Elements and Entities

2 Webpage Markup with HTML HTML5 Page Structure Creating a Webpage HTML5 Elements and Entities Contents Preface Introduction xix xxiii 1 The Web: An Overview 1 1.1 Web Is Part of the Internet.................. 1 1.2 IP Addresses and Domain Names............... 3 1.2.1 Domain Name System................

More information

Pro Business Applications with Silverlight 4

Pro Business Applications with Silverlight 4 Pro Business Applications with Silverlight 4 Chris Anderson Apress* Contents at a Glance Contents About the Author Acknowledgments iv v xix xx a Chapter 1: Introduction 1 Who This Book Is For 1 About This

More information

"Charting the Course... SharePoint 2007 Hands-On Labs Course Summary

Charting the Course... SharePoint 2007 Hands-On Labs Course Summary Course Summary Description This series of 33 hands-on labs allows students to explore the new features of Microsoft SharePoint Server, Microsoft Windows, Microsoft Office, including Microsoft Office Groove,

More information

Beginning Perl. Third Edition. Apress. JAMES LEE with SIMON COZENS

Beginning Perl. Third Edition. Apress. JAMES LEE with SIMON COZENS Beginning Perl Third Edition JAMES LEE with SIMON COZENS Apress About the Author... About the Technical Reviewers Acknowledgements Suitrod yetion «. xvi xvii xviii «xix. Chapter 1: First Steps in Perl..

More information

CERTIFICATE IN WEB PROGRAMMING

CERTIFICATE IN WEB PROGRAMMING COURSE DURATION: 6 MONTHS CONTENTS : CERTIFICATE IN WEB PROGRAMMING 1. PROGRAMMING IN C and C++ Language 2. HTML/CSS and JavaScript 3. PHP and MySQL 4. Project on Development of Web Application 1. PROGRAMMING

More information

Getting MEAN. with Mongo, Express, Angular, and Node SIMON HOLMES MANNING SHELTER ISLAND

Getting MEAN. with Mongo, Express, Angular, and Node SIMON HOLMES MANNING SHELTER ISLAND Getting MEAN with Mongo, Express, Angular, and Node SIMON HOLMES MANNING SHELTER ISLAND For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher

More information

COPYRIGHTED MATERIAL

COPYRIGHTED MATERIAL Introduction xxiii Chapter 1: Apache Tomcat 1 Humble Beginnings: The Apache Project 2 The Apache Software Foundation 3 Tomcat 3 Distributing Tomcat: The Apache License 4 Comparison with Other Licenses

More information

CS50 Quiz Review. November 13, 2017

CS50 Quiz Review. November 13, 2017 CS50 Quiz Review November 13, 2017 Info http://docs.cs50.net/2017/fall/quiz/about.html 48-hour window in which to take the quiz. You should require much less than that; expect an appropriately-scaled down

More information

COPYRIGHTED MATERIAL. Contents. Part I: Introduction 1. Chapter 1: What Is XML? 3. Chapter 2: Well-Formed XML 23. Acknowledgments

COPYRIGHTED MATERIAL. Contents. Part I: Introduction 1. Chapter 1: What Is XML? 3. Chapter 2: Well-Formed XML 23. Acknowledgments Acknowledgments Introduction ix xxvii Part I: Introduction 1 Chapter 1: What Is XML? 3 Of Data, Files, and Text 3 Binary Files 4 Text Files 5 A Brief History of Markup 6 So What Is XML? 7 What Does XML

More information

Hands-On Perl Scripting and CGI Programming

Hands-On Perl Scripting and CGI Programming Hands-On Course Description This hands on Perl programming course provides a thorough introduction to the Perl programming language, teaching attendees how to develop and maintain portable scripts useful

More information

Acknowledgments... xix

Acknowledgments... xix CONTENTS IN DETAIL PREFACE xvii Acknowledgments... xix 1 SECURITY IN THE WORLD OF WEB APPLICATIONS 1 Information Security in a Nutshell... 1 Flirting with Formal Solutions... 2 Enter Risk Management...

More information

Installing and Administering a Satellite Environment

Installing and Administering a Satellite Environment IBM DB2 Universal Database Installing and Administering a Satellite Environment Version 8 GC09-4823-00 IBM DB2 Universal Database Installing and Administering a Satellite Environment Version 8 GC09-4823-00

More information

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. TurboGears

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. TurboGears About the Tutorial TurboGears is a Python web application framework, which consists of many modules. It is designed around the MVC architecture that are similar to Ruby on Rails or Struts. TurboGears are

More information

foreword xvii preface xix acknowledgments xxi about this book xxiv about the title xxviii about the cover illustration

foreword xvii preface xix acknowledgments xxi about this book xxiv about the title xxviii about the cover illustration contents foreword xvii preface xix acknowledgments xxi about this book xxiv about the title xxviii about the cover illustration xxix PART 1 INTRODUCING GRAILS... 1 1 Grails in a hurry... 3 1.1 Why Grails?

More information

Reminders. Full Django products are due next Thursday! CS370, Günay (Emory) Spring / 6

Reminders. Full Django products are due next Thursday! CS370, Günay (Emory) Spring / 6 Reminders Full Django products are due next Thursday! CS370, Günay (Emory) Spring 2015 1 / 6 Reminders Full Django products are due next Thursday! Let's start by quizzing you. CS370, Günay (Emory) Spring

More information

jquery Cookbook jquery Community Experts O'REILLY8 Tokyo Taipei Sebastopol Beijing Cambridge Farnham Koln

jquery Cookbook jquery Community Experts O'REILLY8 Tokyo Taipei Sebastopol Beijing Cambridge Farnham Koln jquery Cookbook jquery Community Experts O'REILLY8 Beijing Cambridge Farnham Koln Sebastopol Taipei Tokyo Foreword xi Contributors xiii Preface xvii 1. jquery Basics 1 1.1 Including the jquery Library

More information

[PACKT] open source^ Kohana 3.0. Beginner's Guide. Develop professional web applications with Kohana. Jason D. Straughan

[PACKT] open source^ Kohana 3.0. Beginner's Guide. Develop professional web applications with Kohana. Jason D. Straughan Kohana 3.0 Beginner's Guide Develop professional web applications with Kohana Jason D. Straughan [PACKT] open source^ community experience distilled publishing"1 BIRMINGHAM MUMBAI Table of Contents Preface

More information

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK Mastering Linux Paul S. Wang CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an Imprint of the Taylor & Francis Croup an informa business A CHAPMAN St HALL BOOK Contents Preface

More information

Developing ASP.NET MVC Web Applications (486)

Developing ASP.NET MVC Web Applications (486) Developing ASP.NET MVC Web Applications (486) Design the application architecture Plan the application layers Plan data access; plan for separation of concerns, appropriate use of models, views, controllers,

More information

MIT Global Startup Labs México 2013

MIT Global Startup Labs México 2013 MIT Global Startup Labs México 2013 http://aiti.mit.edu Lesson 2 Django Models What is a model? A class describing data in your application Basically, a class with attributes for each data field that you

More information

CONTENTS. ... vii. ... xv The Old Standard xvi The New Standard xvi A Whole New Ball Game xvii e-rpg xviii INTRODUCTION

CONTENTS. ... vii. ... xv The Old Standard xvi The New Standard xvi A Whole New Ball Game xvii e-rpg xviii INTRODUCTION ............................... vii INTRODUCTION............................... xv The Old Standard xvi The New Standard xvi A Whole New Ball Game xvii e-rpg xviii Chapter 1: AN INTRODUCTION TO HTML.................

More information

Getting. Started with. smash. IBM WebSphere. Ron Lynn, Karl Bishop, Brett King

Getting. Started with. smash. IBM WebSphere. Ron Lynn, Karl Bishop, Brett King Getting Started with IBM WebSphere smash Ron Lynn, Karl Bishop, Brett King Contents Introduction 1 Situational Applications 1 Rapid Application Development 1 IBM WebSphere smash Development Process 2 Available

More information

Using Joomla O'REILLY. foreword by Louis Landry. Ron Severdia and Kenneth Crowder. Taipei Tokyo. Cambridge. Beijing. Farnham Kbln Sebastopol

Using Joomla O'REILLY. foreword by Louis Landry. Ron Severdia and Kenneth Crowder. Taipei Tokyo. Cambridge. Beijing. Farnham Kbln Sebastopol Using Joomla Ron Severdia and Kenneth Crowder foreword by Louis Landry Beijing Cambridge O'REILLY Farnham Kbln Sebastopol Taipei Tokyo Table of Contents Foreword xvii Preface xix 1. An Overview 1 Using

More information

Table of Contents. Chapter 2: Building Your First Application 49. Chapter 1: Deploying web2py 7

Table of Contents. Chapter 2: Building Your First Application 49. Chapter 1: Deploying web2py 7 web2py Application Development Cookbo Over 110 recipes to master this full-stack Python web framework Mariano Reingart Bruno Cezar Rocha Jonathan Lundell Pablo Martin Mulone Michele Comitini Richard Gordon

More information

dja Documentation Release 0.1 Igor idle sign Starikov

dja Documentation Release 0.1 Igor idle sign Starikov dja Documentation Release 0.1 Igor idle sign Starikov Jun 10, 2017 Contents 1 Requirements 3 2 Table of Contents 5 2.1 Introduction............................................... 5 2.2 Quick start................................................

More information

Administration Tools User Guide. Release April 2015

Administration Tools User Guide. Release April 2015 Administration Tools User Guide Release 6.2.5 April 2015 Administration Tools User Guide Release 6.2.5 April 2015 Part Number: E62969_05 Oracle Financial Services Software, Inc. 1900 Oracle Way Reston,

More information

Review. Fundamentals of Website Development. Web Extensions Server side & Where is your JOB? The Department of Computer Science 11/30/2015

Review. Fundamentals of Website Development. Web Extensions Server side & Where is your JOB? The Department of Computer Science 11/30/2015 Fundamentals of Website Development CSC 2320, Fall 2015 The Department of Computer Science Review Web Extensions Server side & Where is your JOB? 1 In this chapter Dynamic pages programming Database Others

More information

"Charting the Course... MOC A: Developing with the SharePoint Framework. Course Summary

Charting the Course... MOC A: Developing with the SharePoint Framework. Course Summary Course Summary Description This five-day instructor-led course is intended for developers who want to be able to create client-side applications with SharePoint Framework. In this course, students will

More information

django-subdomains Documentation

django-subdomains Documentation django-subdomains Documentation Release 2.1.0 ted kaemming April 29, 2016 Contents 1 Installation 3 2 Quick Start 5 2.1 Example Configuration.......................................... 5 3 Basic Usage

More information

Contents in Detail. Acknowledgments

Contents in Detail. Acknowledgments Acknowledgments xix Introduction What s in This Book... xxii What Is Ethical Hacking?... xxiii Penetration Testing... xxiii Military and Espionage... xxiii Why Hackers Use Linux... xxiv Linux Is Open Source....

More information

Django Test Utils Documentation

Django Test Utils Documentation Django Test Utils Documentation Release 0.3 Eric Holscher July 22, 2016 Contents 1 Source Code 3 2 Contents 5 2.1 Django Testmaker............................................ 5 2.2 Django Crawler.............................................

More information

Oracle Fusion Middleware

Oracle Fusion Middleware Oracle Fusion Middleware Administering Web Services 12c (12.1.2) E28131-01 June 2013 Documentation for developers and administrators that describes how to administer Web services. Oracle Fusion Middleware

More information

Contents at a Glance COPYRIGHTED MATERIAL. Introduction... 1 Part I: Getting Started with SharePoint

Contents at a Glance COPYRIGHTED MATERIAL. Introduction... 1 Part I: Getting Started with SharePoint Contents at a Glance Introduction... 1 Part I: Getting Started with SharePoint 2013... 7 Chapter 1: Getting to Know SharePoint 2013...9 Chapter 2: Introducing SharePoint Online...23 Chapter 3: Wrangling

More information

The Django Web Framework Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

The Django Web Framework Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013 The Django Web Framework Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline Overview Making the Front Page Creating the Template Creating View Functions Configuring URL Patterns Finishing

More information

Scenario Manager User Guide. Release September 2013

Scenario Manager User Guide. Release September 2013 Scenario Manager User Guide Release 6.2.1 September 2013 Scenario Manager User Guide Release 6.2.1 September 2013 Document Control Number: 9MN12-62110017 Document Number: SMUG-13-FCCM-0017-6.2.1-01 Oracle

More information

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p. Preface p. xiii Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p. 11 Creating the Deployment Descriptor p. 14 Deploying Servlets

More information

"Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary

Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary Description Course Summary This course provides knowledge and skills on developing Web applications by using Microsoft Visual. Objectives At the end of this course, students will be Explore ASP.NET Web

More information

VERIFICATION AND VALIDATION FOR QUALITY OF UML 2.0 MODELS

VERIFICATION AND VALIDATION FOR QUALITY OF UML 2.0 MODELS VERIFICATION AND VALIDATION FOR QUALITY OF UML 2.0 MODELS BHUVAN UNHELKAR, PHD WILEY- INTERSCIENCE A Wiley-lnterscience Publication JOHN WILEY & SONS, INC. Contents Figures Foreword Preface Acknowledgments

More information

About the Authors. Who Should Read This Book. How This Book Is Organized

About the Authors. Who Should Read This Book. How This Book Is Organized Acknowledgments p. XXIII About the Authors p. xxiv Introduction p. XXV Who Should Read This Book p. xxvii Volume 2 p. xxvii Distinctive Features p. xxviii How This Book Is Organized p. xxx Conventions

More information

Web Standards Mastering HTML5, CSS3, and XML

Web Standards Mastering HTML5, CSS3, and XML Web Standards Mastering HTML5, CSS3, and XML Leslie F. Sikos, Ph.D. orders-ny@springer-sbm.com www.springeronline.com rights@apress.com www.apress.com www.apress.com/bulk-sales www.apress.com Contents

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016 DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016 AGENDA FOR TODAY Advanced Mysql More than just SELECT Creating tables MySQL optimizations: Storage engines, indexing.

More information

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

Standard 1 The student will author web pages using the HyperText Markup Language (HTML) I. Course Title Web Application Development II. Course Description Students develop software solutions by building web apps. Technologies may include a back-end SQL database, web programming in PHP and/or

More information

Static Webpage Development

Static Webpage Development Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for PHP Given below is the brief description for the course you are looking for: - Static Webpage Development Introduction

More information

Alfresco Developer Guide

Alfresco Developer Guide Alfresco Developer Guide Customizing Alfresco with actions, web scripts, web forms, workflows, and more Jeff Potts - PUBLISHING - 1 BIRMINGHAM - MUMBAI Preface Chapter 1: The Alfresco Platform 7 Alfresco

More information

CSCI 1320 Creating Modern Web Applications. Content Management Systems

CSCI 1320 Creating Modern Web Applications. Content Management Systems CSCI 1320 Creating Modern Web Applications Content Management Systems Brown CS Website 2 Static Brown CS Website Up since 1994 5.9 M files (inodes) 1.6 TB of filesystem space 3 Static HTML Generators Convert

More information

Installing SharePoint Server 2007

Installing SharePoint Server 2007 Installing Microsoft Office SharePoint Server 2007 1. Login to the computer with Domain Admin Account 2. Install Microsoft Windows Server 2003 Enterprise or Standard 3. Install Windows Server 2003 Service

More information

CNIT 129S: Securing Web Applications. Ch 10: Attacking Back-End Components

CNIT 129S: Securing Web Applications. Ch 10: Attacking Back-End Components CNIT 129S: Securing Web Applications Ch 10: Attacking Back-End Components Injecting OS Commands Web server platforms often have APIs To access the filesystem, interface with other processes, and for network

More information

Index. Bower, 133, 352 bower.json file, 376 Bundling files, 157

Index. Bower, 133, 352 bower.json file, 376 Bundling files, 157 Index A Action results. See Controllers Actions. See Controllers Application model, 986 action constraints, 1000 Areas. See Routing Arrow functions. See Lambda expressions ASP.NET Core MVC (see Model View

More information

Remote Access Guide. https://remote.lghealth.org

Remote Access Guide. https://remote.lghealth.org Remote Access Guide https://remote.lghealth.org Created by: Joshua Steele Revision 1.0 7/14/2015 Table of Contents I. Remote Access using Internet Explorer... 2 II. Remote Access using Google Chrome...

More information

Web Application Security. Philippe Bogaerts

Web Application Security. Philippe Bogaerts Web Application Security Philippe Bogaerts OWASP TOP 10 3 Aim of the OWASP Top 10 educate developers, designers, architects and organizations about the consequences of the most common web application security

More information

Application vulnerabilities and defences

Application vulnerabilities and defences Application vulnerabilities and defences In this lecture We examine the following : SQL injection XSS CSRF SQL injection SQL injection is a basic attack used to either gain unauthorized access to a database

More information

Python web frameworks

Python web frameworks Flask Python web frameworks Django Roughly follows MVC pattern Steeper learning curve. Flask Initially an April Fools joke Micro -framework: minimal approach. Smaller learning curve http://flask.pocoo.org/docs/0.12/quickstart/#a-minimalapplication

More information

Getting started with Convertigo Mobilizer

Getting started with Convertigo Mobilizer Getting started with Convertigo Mobilizer First Sencha-based project tutorial CEMS 6.0.0 TABLE OF CONTENTS Convertigo Mobilizer overview...1 Introducing Convertigo Mobilizer... 1-1 Convertigo Mobilizer

More information

Django Debug Toolbar Documentation

Django Debug Toolbar Documentation Django Debug Toolbar Documentation Release 0.11 Rob Hudson, Jannis Leidel, David Cramer, Aymeric Augustin and November 11, 2013 Contents i ii CHAPTER 1 Installation 1. The recommended way to install the

More information

All India Council For Research & Training

All India Council For Research & Training WEB DEVELOPMENT & DESIGNING Are you looking for a master program in web that covers everything related to web? Then yes! You have landed up on the right page. Web Master Course is an advanced web designing,

More information

Andale Store Getting Started Manual

Andale Store Getting Started Manual Andale Store Getting Started Manual CHAPTER 1 : INTRODUCTION AND WELCOME 3 1. LOG INTO YOUR ACCOUNT 3 CHAPTER 2 : DESIGN CENTER 3 1. CREATE YOUR DESIGN LAYOUT 4 1.1 Choose a Style 4 1.2 Choose a Font 5

More information

1 CUSTOM TAG FUNDAMENTALS PREFACE... xiii. ACKNOWLEDGMENTS... xix. Using Custom Tags The JSP File 5. Defining Custom Tags The TLD 6

1 CUSTOM TAG FUNDAMENTALS PREFACE... xiii. ACKNOWLEDGMENTS... xix. Using Custom Tags The JSP File 5. Defining Custom Tags The TLD 6 PREFACE........................... xiii ACKNOWLEDGMENTS................... xix 1 CUSTOM TAG FUNDAMENTALS.............. 2 Using Custom Tags The JSP File 5 Defining Custom Tags The TLD 6 Implementing Custom

More information

"Charting the Course... Intermediate PHP & MySQL Course Summary

Charting the Course... Intermediate PHP & MySQL Course Summary Course Summary Description In this PHP training course, students will learn to create database-driven websites using PHP and MySQL or the database of their choice. The class also covers SQL basics. Objectives

More information

HTML5 in Action ROB CROWTHER JOE LENNON ASH BLUE GREG WANISH MANNING SHELTER ISLAND

HTML5 in Action ROB CROWTHER JOE LENNON ASH BLUE GREG WANISH MANNING SHELTER ISLAND HTML5 in Action ROB CROWTHER JOE LENNON ASH BLUE GREG WANISH MANNING SHELTER ISLAND brief contents PART 1 INTRODUCTION...1 1 HTML5: from documents to applications 3 PART 2 BROWSER-BASED APPS...35 2 Form

More information